[email protected] | 3b63f8f4 | 2011-03-28 01:54:15 | [diff] [blame] | 1 | // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
[email protected] | 3bcd5790 | 2010-06-23 22:46:04 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
3 | // found in the LICENSE file. | ||||
4 | |||||
[email protected] | 4b559b4d | 2011-04-14 17:37:14 | [diff] [blame] | 5 | #include "crypto/capi_util.h" |
[email protected] | 3bcd5790 | 2010-06-23 22:46:04 | [diff] [blame] | 6 | |
avi | dd373b8b | 2015-12-21 21:34:43 | [diff] [blame] | 7 | #include <stddef.h> |
davidben | e125bd2 | 2017-01-03 22:30:16 | [diff] [blame] | 8 | #include <stdlib.h> |
[email protected] | 3bcd5790 | 2010-06-23 22:46:04 | [diff] [blame] | 9 | |
[email protected] | 4b559b4d | 2011-04-14 17:37:14 | [diff] [blame] | 10 | namespace crypto { |
[email protected] | 3bcd5790 | 2010-06-23 22:46:04 | [diff] [blame] | 11 | |
[email protected] | 68da887 | 2012-02-15 06:01:59 | [diff] [blame] | 12 | void* WINAPI CryptAlloc(size_t size) { |
13 | return malloc(size); | ||||
14 | } | ||||
15 | |||||
16 | void WINAPI CryptFree(void* p) { | ||||
17 | free(p); | ||||
18 | } | ||||
19 | |||||
[email protected] | 4b559b4d | 2011-04-14 17:37:14 | [diff] [blame] | 20 | } // namespace crypto |