Mercurial > hg > quicktun
comparison include/crypto_box_curve25519salsa20hmacsha512.h @ 0:65c01f57bdce V2.1.2
Initial commit
author | ivo <ivo@UFO-Net.nl> |
---|---|
date | Thu, 07 Oct 2010 15:53:01 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:65c01f57bdce |
---|---|
1 #ifndef crypto_box_curve25519salsa20hmacsha512_H | |
2 #define crypto_box_curve25519salsa20hmacsha512_H | |
3 | |
4 #define crypto_box_curve25519salsa20hmacsha512_ref_PUBLICKEYBYTES 32 | |
5 #define crypto_box_curve25519salsa20hmacsha512_ref_SECRETKEYBYTES 32 | |
6 #define crypto_box_curve25519salsa20hmacsha512_ref_BEFORENMBYTES 32 | |
7 #define crypto_box_curve25519salsa20hmacsha512_ref_NONCEBYTES 8 | |
8 #define crypto_box_curve25519salsa20hmacsha512_ref_ZEROBYTES 32 | |
9 #define crypto_box_curve25519salsa20hmacsha512_ref_BOXZEROBYTES 0 | |
10 #ifdef __cplusplus | |
11 extern "C" { | |
12 #endif | |
13 extern int crypto_box_curve25519salsa20hmacsha512_ref(unsigned char *,const unsigned char *,unsigned long long,const unsigned char *,const unsigned char *,const unsigned char *); | |
14 extern int crypto_box_curve25519salsa20hmacsha512_ref_open(unsigned char *,const unsigned char *,unsigned long long,const unsigned char *,const unsigned char *,const unsigned char *); | |
15 extern int crypto_box_curve25519salsa20hmacsha512_ref_keypair(unsigned char *,unsigned char *); | |
16 extern int crypto_box_curve25519salsa20hmacsha512_ref_beforenm(unsigned char *,const unsigned char *,const unsigned char *); | |
17 extern int crypto_box_curve25519salsa20hmacsha512_ref_afternm(unsigned char *,const unsigned char *,unsigned long long,const unsigned char *,const unsigned char *); | |
18 extern int crypto_box_curve25519salsa20hmacsha512_ref_open_afternm(unsigned char *,const unsigned char *,unsigned long long,const unsigned char *,const unsigned char *); | |
19 #ifdef __cplusplus | |
20 } | |
21 #endif | |
22 | |
23 #define crypto_box_curve25519salsa20hmacsha512 crypto_box_curve25519salsa20hmacsha512_ref | |
24 #define crypto_box_curve25519salsa20hmacsha512_open crypto_box_curve25519salsa20hmacsha512_ref_open | |
25 #define crypto_box_curve25519salsa20hmacsha512_keypair crypto_box_curve25519salsa20hmacsha512_ref_keypair | |
26 #define crypto_box_curve25519salsa20hmacsha512_beforenm crypto_box_curve25519salsa20hmacsha512_ref_beforenm | |
27 #define crypto_box_curve25519salsa20hmacsha512_afternm crypto_box_curve25519salsa20hmacsha512_ref_afternm | |
28 #define crypto_box_curve25519salsa20hmacsha512_open_afternm crypto_box_curve25519salsa20hmacsha512_ref_open_afternm | |
29 #define crypto_box_curve25519salsa20hmacsha512_PUBLICKEYBYTES crypto_box_curve25519salsa20hmacsha512_ref_PUBLICKEYBYTES | |
30 #define crypto_box_curve25519salsa20hmacsha512_SECRETKEYBYTES crypto_box_curve25519salsa20hmacsha512_ref_SECRETKEYBYTES | |
31 #define crypto_box_curve25519salsa20hmacsha512_BEFORENMBYTES crypto_box_curve25519salsa20hmacsha512_ref_BEFORENMBYTES | |
32 #define crypto_box_curve25519salsa20hmacsha512_NONCEBYTES crypto_box_curve25519salsa20hmacsha512_ref_NONCEBYTES | |
33 #define crypto_box_curve25519salsa20hmacsha512_ZEROBYTES crypto_box_curve25519salsa20hmacsha512_ref_ZEROBYTES | |
34 #define crypto_box_curve25519salsa20hmacsha512_BOXZEROBYTES crypto_box_curve25519salsa20hmacsha512_ref_BOXZEROBYTES | |
35 #define crypto_box_curve25519salsa20hmacsha512_IMPLEMENTATION "crypto_box/curve25519salsa20hmacsha512/ref" | |
36 #ifndef crypto_box_curve25519salsa20hmacsha512_ref_VERSION | |
37 #define crypto_box_curve25519salsa20hmacsha512_ref_VERSION "-" | |
38 #endif | |
39 #define crypto_box_curve25519salsa20hmacsha512_VERSION crypto_box_curve25519salsa20hmacsha512_ref_VERSION | |
40 | |
41 #endif |