1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CRYPTO_CAPI_UTIL_H_
6 #define CRYPTO_CAPI_UTIL_H_
11 #include "crypto/crypto_export.h"
15 // Wrappers of malloc and free for CryptoAPI routines that need memory
16 // allocators, such as in CRYPT_DECODE_PARA. Such routines require WINAPI
17 // calling conventions.
18 CRYPTO_EXPORT void* WINAPI CryptAlloc(size_t size);
19 CRYPTO_EXPORT void WINAPI CryptFree(void* p);
23 #endif // CRYPTO_CAPI_UTIL_H_