2 * Copyright (C) 2007 Francois Gouget
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef __WINE_BCRYPT_H
20 #define __WINE_BCRYPT_H
23 #define WINAPI __stdcall
38 #ifndef WINE_NTSTATUS_DECLARED
39 #define WINE_NTSTATUS_DECLARED
40 typedef LONG NTSTATUS
;
43 typedef struct _BCRYPT_ALGORITHM_IDENTIFIER
48 } BCRYPT_ALGORITHM_IDENTIFIER
;
50 typedef PVOID BCRYPT_ALG_HANDLE
;
51 typedef PVOID BCRYPT_HANDLE
;
52 typedef PVOID BCRYPT_HASH_HANDLE
;
54 #define BCRYPT_RNG_USE_ENTROPY_IN_BUFFER 0x00000001
55 #define BCRYPT_USE_SYSTEM_PREFERRED_RNG 0x00000002
57 #endif /* __WINE_BCRYPT_H */