Go to the documentation of this file.
25 #ifndef _BEECRYPT_API_H
26 #define _BEECRYPT_API_H
28 #if defined(_WIN32) && !defined(WIN32)
33 # if !__CYGWIN32__ && !__MINGW32__
38 # ifdef BEECRYPT_DLL_EXPORT
39 # define BEECRYPTAPI __declspec(dllexport)
41 # define BEECRYPTAPI __declspec(dllimport)
43 # ifdef BEECRYPT_CXX_DLL_EXPORT
44 # define BEECRYPTCXXAPI __declspec(dllexport)
45 # define BEECRYPTCXXTEMPLATE
47 # define BEECRYPTCXXAPI __declspec(dllimport)
48 # define BEECRYPTCXXTEMPLATE extern
53 # define BEECRYPTCXXAPI
63 # define ROTL32(x, s) (((x) << (s)) | ((x) >> (32 - (s))))
66 # define ROTR32(x, s) (((x) >> (s)) | ((x) << (32 - (s))))
69 # define ROTR64(x, s) (((x) >> (s)) | ((x) << (64 - (s))))
88 typedef uint32_t
mphw;
89 #elif (MP_WBITS == 32)
92 typedef uint64_t mpdw;