blob: d44c5a6d84a406263a0ea47bc110a1abaa376bf8 [file] [log] [blame]
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "crypto/capi_util.h"
#include <stdlib.h>
#include "starboard/memory.h"
#include "starboard/types.h"
namespace crypto {
void* WINAPI CryptAlloc(size_t size) {
return SbMemoryAllocate(size);
}
void WINAPI CryptFree(void* p) {
SbMemoryDeallocate(p);
}
} // namespace crypto