forked from SDL-Hercules-390/hyperion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
crypto.h
22 lines (18 loc) · 986 Bytes
/
crypto.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* CRYPTO.H (c) Copyright Jan Jaeger, 2000-2005 */
/* Cryptographic instructions */
#if defined(_FEATURE_MESSAGE_SECURITY_ASSIST)
#ifndef _CRYPTO_C_
#ifndef _HENGINE_DLL_
#define CRY_DLL_IMPORT DLL_IMPORT
#else /* _HDASD_DLL_ */
#define CRY_DLL_IMPORT extern
#endif /* _HDASD_DLL_ */
#else
#define CRY_DLL_IMPORT DLL_EXPORT
#endif
CRY_DLL_IMPORT void ( ATTR_REGPARM(2) *ARCH_DEP( cipher_message ) ) ( BYTE*, REGS* );
CRY_DLL_IMPORT void ( ATTR_REGPARM(2) *ARCH_DEP( cipher_message_with_chaining ) ) ( BYTE*, REGS* );
CRY_DLL_IMPORT void ( ATTR_REGPARM(2) *ARCH_DEP( compute_intermediate_message_digest ) ) ( BYTE*, REGS* );
CRY_DLL_IMPORT void ( ATTR_REGPARM(2) *ARCH_DEP( compute_last_message_digest ) ) ( BYTE*, REGS* );
CRY_DLL_IMPORT void ( ATTR_REGPARM(2) *ARCH_DEP( compute_message_authentication_code ) ) ( BYTE*, REGS* );
#endif /*defined(_FEATURE_MESSAGE_SECURITY_ASSIST)*/