tweetnacl crypto

Dependencies:   mbed

Committer:
manitou
Date:
Tue Feb 27 00:33:36 2018 +0000
Revision:
0:bed9ac8a7beb
tweetnacl  crypto

Who changed what in which revision?

UserRevisionLine numberNew contents of line
manitou 0:bed9ac8a7beb 1 #ifdef __cplusplus
manitou 0:bed9ac8a7beb 2 extern "C" {
manitou 0:bed9ac8a7beb 3 #endif
manitou 0:bed9ac8a7beb 4
manitou 0:bed9ac8a7beb 5 #ifndef TWEETNACL_H
manitou 0:bed9ac8a7beb 6 #define TWEETNACL_H
manitou 0:bed9ac8a7beb 7 #define crypto_auth_PRIMITIVE "hmacsha512256"
manitou 0:bed9ac8a7beb 8 #define crypto_auth crypto_auth_hmacsha512256
manitou 0:bed9ac8a7beb 9 #define crypto_auth_verify crypto_auth_hmacsha512256_verify
manitou 0:bed9ac8a7beb 10 #define crypto_auth_BYTES crypto_auth_hmacsha512256_BYTES
manitou 0:bed9ac8a7beb 11 #define crypto_auth_KEYBYTES crypto_auth_hmacsha512256_KEYBYTES
manitou 0:bed9ac8a7beb 12 #define crypto_auth_IMPLEMENTATION crypto_auth_hmacsha512256_IMPLEMENTATION
manitou 0:bed9ac8a7beb 13 #define crypto_auth_VERSION crypto_auth_hmacsha512256_VERSION
manitou 0:bed9ac8a7beb 14 #define crypto_auth_hmacsha512256_tweet_BYTES 32
manitou 0:bed9ac8a7beb 15 #define crypto_auth_hmacsha512256_tweet_KEYBYTES 32
manitou 0:bed9ac8a7beb 16 extern int crypto_auth_hmacsha512256_tweet(unsigned char *,const unsigned char *,unsigned long long,const unsigned char *);
manitou 0:bed9ac8a7beb 17 extern int crypto_auth_hmacsha512256_tweet_verify(const unsigned char *,const unsigned char *,unsigned long long,const unsigned char *);
manitou 0:bed9ac8a7beb 18 #define crypto_auth_hmacsha512256_tweet_VERSION "-"
manitou 0:bed9ac8a7beb 19 #define crypto_auth_hmacsha512256 crypto_auth_hmacsha512256_tweet
manitou 0:bed9ac8a7beb 20 #define crypto_auth_hmacsha512256_verify crypto_auth_hmacsha512256_tweet_verify
manitou 0:bed9ac8a7beb 21 #define crypto_auth_hmacsha512256_BYTES crypto_auth_hmacsha512256_tweet_BYTES
manitou 0:bed9ac8a7beb 22 #define crypto_auth_hmacsha512256_KEYBYTES crypto_auth_hmacsha512256_tweet_KEYBYTES
manitou 0:bed9ac8a7beb 23 #define crypto_auth_hmacsha512256_VERSION crypto_auth_hmacsha512256_tweet_VERSION
manitou 0:bed9ac8a7beb 24 #define crypto_auth_hmacsha512256_IMPLEMENTATION "crypto_auth/hmacsha512256/tweet"
manitou 0:bed9ac8a7beb 25 #define crypto_box_PRIMITIVE "curve25519xsalsa20poly1305"
manitou 0:bed9ac8a7beb 26 #define crypto_box crypto_box_curve25519xsalsa20poly1305
manitou 0:bed9ac8a7beb 27 #define crypto_box_open crypto_box_curve25519xsalsa20poly1305_open
manitou 0:bed9ac8a7beb 28 #define crypto_box_keypair crypto_box_curve25519xsalsa20poly1305_keypair
manitou 0:bed9ac8a7beb 29 #define crypto_box_beforenm crypto_box_curve25519xsalsa20poly1305_beforenm
manitou 0:bed9ac8a7beb 30 #define crypto_box_afternm crypto_box_curve25519xsalsa20poly1305_afternm
manitou 0:bed9ac8a7beb 31 #define crypto_box_open_afternm crypto_box_curve25519xsalsa20poly1305_open_afternm
manitou 0:bed9ac8a7beb 32 #define crypto_box_PUBLICKEYBYTES crypto_box_curve25519xsalsa20poly1305_PUBLICKEYBYTES
manitou 0:bed9ac8a7beb 33 #define crypto_box_SECRETKEYBYTES crypto_box_curve25519xsalsa20poly1305_SECRETKEYBYTES
manitou 0:bed9ac8a7beb 34 #define crypto_box_BEFORENMBYTES crypto_box_curve25519xsalsa20poly1305_BEFORENMBYTES
manitou 0:bed9ac8a7beb 35 #define crypto_box_NONCEBYTES crypto_box_curve25519xsalsa20poly1305_NONCEBYTES
manitou 0:bed9ac8a7beb 36 #define crypto_box_ZEROBYTES crypto_box_curve25519xsalsa20poly1305_ZEROBYTES
manitou 0:bed9ac8a7beb 37 #define crypto_box_BOXZEROBYTES crypto_box_curve25519xsalsa20poly1305_BOXZEROBYTES
manitou 0:bed9ac8a7beb 38 #define crypto_box_IMPLEMENTATION crypto_box_curve25519xsalsa20poly1305_IMPLEMENTATION
manitou 0:bed9ac8a7beb 39 #define crypto_box_VERSION crypto_box_curve25519xsalsa20poly1305_VERSION
manitou 0:bed9ac8a7beb 40 #define crypto_box_curve25519xsalsa20poly1305_tweet_PUBLICKEYBYTES 32
manitou 0:bed9ac8a7beb 41 #define crypto_box_curve25519xsalsa20poly1305_tweet_SECRETKEYBYTES 32
manitou 0:bed9ac8a7beb 42 #define crypto_box_curve25519xsalsa20poly1305_tweet_BEFORENMBYTES 32
manitou 0:bed9ac8a7beb 43 #define crypto_box_curve25519xsalsa20poly1305_tweet_NONCEBYTES 24
manitou 0:bed9ac8a7beb 44 #define crypto_box_curve25519xsalsa20poly1305_tweet_ZEROBYTES 32
manitou 0:bed9ac8a7beb 45 #define crypto_box_curve25519xsalsa20poly1305_tweet_BOXZEROBYTES 16
manitou 0:bed9ac8a7beb 46 extern int crypto_box_curve25519xsalsa20poly1305_tweet(unsigned char *,const unsigned char *,unsigned long long,const unsigned char *,const unsigned char *,const unsigned char *);
manitou 0:bed9ac8a7beb 47 extern int crypto_box_curve25519xsalsa20poly1305_tweet_open(unsigned char *,const unsigned char *,unsigned long long,const unsigned char *,const unsigned char *,const unsigned char *);
manitou 0:bed9ac8a7beb 48 extern int crypto_box_curve25519xsalsa20poly1305_tweet_keypair(unsigned char *,unsigned char *);
manitou 0:bed9ac8a7beb 49 extern int crypto_box_curve25519xsalsa20poly1305_tweet_beforenm(unsigned char *,const unsigned char *,const unsigned char *);
manitou 0:bed9ac8a7beb 50 extern int crypto_box_curve25519xsalsa20poly1305_tweet_afternm(unsigned char *,const unsigned char *,unsigned long long,const unsigned char *,const unsigned char *);
manitou 0:bed9ac8a7beb 51 extern int crypto_box_curve25519xsalsa20poly1305_tweet_open_afternm(unsigned char *,const unsigned char *,unsigned long long,const unsigned char *,const unsigned char *);
manitou 0:bed9ac8a7beb 52 #define crypto_box_curve25519xsalsa20poly1305_tweet_VERSION "-"
manitou 0:bed9ac8a7beb 53 #define crypto_box_curve25519xsalsa20poly1305 crypto_box_curve25519xsalsa20poly1305_tweet
manitou 0:bed9ac8a7beb 54 #define crypto_box_curve25519xsalsa20poly1305_open crypto_box_curve25519xsalsa20poly1305_tweet_open
manitou 0:bed9ac8a7beb 55 #define crypto_box_curve25519xsalsa20poly1305_keypair crypto_box_curve25519xsalsa20poly1305_tweet_keypair
manitou 0:bed9ac8a7beb 56 #define crypto_box_curve25519xsalsa20poly1305_beforenm crypto_box_curve25519xsalsa20poly1305_tweet_beforenm
manitou 0:bed9ac8a7beb 57 #define crypto_box_curve25519xsalsa20poly1305_afternm crypto_box_curve25519xsalsa20poly1305_tweet_afternm
manitou 0:bed9ac8a7beb 58 #define crypto_box_curve25519xsalsa20poly1305_open_afternm crypto_box_curve25519xsalsa20poly1305_tweet_open_afternm
manitou 0:bed9ac8a7beb 59 #define crypto_box_curve25519xsalsa20poly1305_PUBLICKEYBYTES crypto_box_curve25519xsalsa20poly1305_tweet_PUBLICKEYBYTES
manitou 0:bed9ac8a7beb 60 #define crypto_box_curve25519xsalsa20poly1305_SECRETKEYBYTES crypto_box_curve25519xsalsa20poly1305_tweet_SECRETKEYBYTES
manitou 0:bed9ac8a7beb 61 #define crypto_box_curve25519xsalsa20poly1305_BEFORENMBYTES crypto_box_curve25519xsalsa20poly1305_tweet_BEFORENMBYTES
manitou 0:bed9ac8a7beb 62 #define crypto_box_curve25519xsalsa20poly1305_NONCEBYTES crypto_box_curve25519xsalsa20poly1305_tweet_NONCEBYTES
manitou 0:bed9ac8a7beb 63 #define crypto_box_curve25519xsalsa20poly1305_ZEROBYTES crypto_box_curve25519xsalsa20poly1305_tweet_ZEROBYTES
manitou 0:bed9ac8a7beb 64 #define crypto_box_curve25519xsalsa20poly1305_BOXZEROBYTES crypto_box_curve25519xsalsa20poly1305_tweet_BOXZEROBYTES
manitou 0:bed9ac8a7beb 65 #define crypto_box_curve25519xsalsa20poly1305_VERSION crypto_box_curve25519xsalsa20poly1305_tweet_VERSION
manitou 0:bed9ac8a7beb 66 #define crypto_box_curve25519xsalsa20poly1305_IMPLEMENTATION "crypto_box/curve25519xsalsa20poly1305/tweet"
manitou 0:bed9ac8a7beb 67 #define crypto_core_PRIMITIVE "salsa20"
manitou 0:bed9ac8a7beb 68 #define crypto_core crypto_core_salsa20
manitou 0:bed9ac8a7beb 69 #define crypto_core_OUTPUTBYTES crypto_core_salsa20_OUTPUTBYTES
manitou 0:bed9ac8a7beb 70 #define crypto_core_INPUTBYTES crypto_core_salsa20_INPUTBYTES
manitou 0:bed9ac8a7beb 71 #define crypto_core_KEYBYTES crypto_core_salsa20_KEYBYTES
manitou 0:bed9ac8a7beb 72 #define crypto_core_CONSTBYTES crypto_core_salsa20_CONSTBYTES
manitou 0:bed9ac8a7beb 73 #define crypto_core_IMPLEMENTATION crypto_core_salsa20_IMPLEMENTATION
manitou 0:bed9ac8a7beb 74 #define crypto_core_VERSION crypto_core_salsa20_VERSION
manitou 0:bed9ac8a7beb 75 #define crypto_core_salsa20_tweet_OUTPUTBYTES 64
manitou 0:bed9ac8a7beb 76 #define crypto_core_salsa20_tweet_INPUTBYTES 16
manitou 0:bed9ac8a7beb 77 #define crypto_core_salsa20_tweet_KEYBYTES 32
manitou 0:bed9ac8a7beb 78 #define crypto_core_salsa20_tweet_CONSTBYTES 16
manitou 0:bed9ac8a7beb 79 extern int crypto_core_salsa20_tweet(unsigned char *,const unsigned char *,const unsigned char *,const unsigned char *);
manitou 0:bed9ac8a7beb 80 #define crypto_core_salsa20_tweet_VERSION "-"
manitou 0:bed9ac8a7beb 81 #define crypto_core_salsa20 crypto_core_salsa20_tweet
manitou 0:bed9ac8a7beb 82 #define crypto_core_salsa20_OUTPUTBYTES crypto_core_salsa20_tweet_OUTPUTBYTES
manitou 0:bed9ac8a7beb 83 #define crypto_core_salsa20_INPUTBYTES crypto_core_salsa20_tweet_INPUTBYTES
manitou 0:bed9ac8a7beb 84 #define crypto_core_salsa20_KEYBYTES crypto_core_salsa20_tweet_KEYBYTES
manitou 0:bed9ac8a7beb 85 #define crypto_core_salsa20_CONSTBYTES crypto_core_salsa20_tweet_CONSTBYTES
manitou 0:bed9ac8a7beb 86 #define crypto_core_salsa20_VERSION crypto_core_salsa20_tweet_VERSION
manitou 0:bed9ac8a7beb 87 #define crypto_core_salsa20_IMPLEMENTATION "crypto_core/salsa20/tweet"
manitou 0:bed9ac8a7beb 88 #define crypto_core_hsalsa20_tweet_OUTPUTBYTES 32
manitou 0:bed9ac8a7beb 89 #define crypto_core_hsalsa20_tweet_INPUTBYTES 16
manitou 0:bed9ac8a7beb 90 #define crypto_core_hsalsa20_tweet_KEYBYTES 32
manitou 0:bed9ac8a7beb 91 #define crypto_core_hsalsa20_tweet_CONSTBYTES 16
manitou 0:bed9ac8a7beb 92 extern int crypto_core_hsalsa20_tweet(unsigned char *,const unsigned char *,const unsigned char *,const unsigned char *);
manitou 0:bed9ac8a7beb 93 #define crypto_core_hsalsa20_tweet_VERSION "-"
manitou 0:bed9ac8a7beb 94 #define crypto_core_hsalsa20 crypto_core_hsalsa20_tweet
manitou 0:bed9ac8a7beb 95 #define crypto_core_hsalsa20_OUTPUTBYTES crypto_core_hsalsa20_tweet_OUTPUTBYTES
manitou 0:bed9ac8a7beb 96 #define crypto_core_hsalsa20_INPUTBYTES crypto_core_hsalsa20_tweet_INPUTBYTES
manitou 0:bed9ac8a7beb 97 #define crypto_core_hsalsa20_KEYBYTES crypto_core_hsalsa20_tweet_KEYBYTES
manitou 0:bed9ac8a7beb 98 #define crypto_core_hsalsa20_CONSTBYTES crypto_core_hsalsa20_tweet_CONSTBYTES
manitou 0:bed9ac8a7beb 99 #define crypto_core_hsalsa20_VERSION crypto_core_hsalsa20_tweet_VERSION
manitou 0:bed9ac8a7beb 100 #define crypto_core_hsalsa20_IMPLEMENTATION "crypto_core/hsalsa20/tweet"
manitou 0:bed9ac8a7beb 101 #define crypto_hashblocks_PRIMITIVE "sha512"
manitou 0:bed9ac8a7beb 102 #define crypto_hashblocks crypto_hashblocks_sha512
manitou 0:bed9ac8a7beb 103 #define crypto_hashblocks_STATEBYTES crypto_hashblocks_sha512_STATEBYTES
manitou 0:bed9ac8a7beb 104 #define crypto_hashblocks_BLOCKBYTES crypto_hashblocks_sha512_BLOCKBYTES
manitou 0:bed9ac8a7beb 105 #define crypto_hashblocks_IMPLEMENTATION crypto_hashblocks_sha512_IMPLEMENTATION
manitou 0:bed9ac8a7beb 106 #define crypto_hashblocks_VERSION crypto_hashblocks_sha512_VERSION
manitou 0:bed9ac8a7beb 107 #define crypto_hashblocks_sha512_tweet_STATEBYTES 64
manitou 0:bed9ac8a7beb 108 #define crypto_hashblocks_sha512_tweet_BLOCKBYTES 128
manitou 0:bed9ac8a7beb 109 extern int crypto_hashblocks_sha512_tweet(unsigned char *,const unsigned char *,unsigned long long);
manitou 0:bed9ac8a7beb 110 #define crypto_hashblocks_sha512_tweet_VERSION "-"
manitou 0:bed9ac8a7beb 111 #define crypto_hashblocks_sha512 crypto_hashblocks_sha512_tweet
manitou 0:bed9ac8a7beb 112 #define crypto_hashblocks_sha512_STATEBYTES crypto_hashblocks_sha512_tweet_STATEBYTES
manitou 0:bed9ac8a7beb 113 #define crypto_hashblocks_sha512_BLOCKBYTES crypto_hashblocks_sha512_tweet_BLOCKBYTES
manitou 0:bed9ac8a7beb 114 #define crypto_hashblocks_sha512_VERSION crypto_hashblocks_sha512_tweet_VERSION
manitou 0:bed9ac8a7beb 115 #define crypto_hashblocks_sha512_IMPLEMENTATION "crypto_hashblocks/sha512/tweet"
manitou 0:bed9ac8a7beb 116 #define crypto_hashblocks_sha256_tweet_STATEBYTES 32
manitou 0:bed9ac8a7beb 117 #define crypto_hashblocks_sha256_tweet_BLOCKBYTES 64
manitou 0:bed9ac8a7beb 118 extern int crypto_hashblocks_sha256_tweet(unsigned char *,const unsigned char *,unsigned long long);
manitou 0:bed9ac8a7beb 119 #define crypto_hashblocks_sha256_tweet_VERSION "-"
manitou 0:bed9ac8a7beb 120 #define crypto_hashblocks_sha256 crypto_hashblocks_sha256_tweet
manitou 0:bed9ac8a7beb 121 #define crypto_hashblocks_sha256_STATEBYTES crypto_hashblocks_sha256_tweet_STATEBYTES
manitou 0:bed9ac8a7beb 122 #define crypto_hashblocks_sha256_BLOCKBYTES crypto_hashblocks_sha256_tweet_BLOCKBYTES
manitou 0:bed9ac8a7beb 123 #define crypto_hashblocks_sha256_VERSION crypto_hashblocks_sha256_tweet_VERSION
manitou 0:bed9ac8a7beb 124 #define crypto_hashblocks_sha256_IMPLEMENTATION "crypto_hashblocks/sha256/tweet"
manitou 0:bed9ac8a7beb 125 #define crypto_hash_PRIMITIVE "sha512"
manitou 0:bed9ac8a7beb 126 #define crypto_hash crypto_hash_sha512
manitou 0:bed9ac8a7beb 127 #define crypto_hash_BYTES crypto_hash_sha512_BYTES
manitou 0:bed9ac8a7beb 128 #define crypto_hash_IMPLEMENTATION crypto_hash_sha512_IMPLEMENTATION
manitou 0:bed9ac8a7beb 129 #define crypto_hash_VERSION crypto_hash_sha512_VERSION
manitou 0:bed9ac8a7beb 130 #define crypto_hash_sha512_tweet_BYTES 64
manitou 0:bed9ac8a7beb 131 extern int crypto_hash_sha512_tweet(unsigned char *,const unsigned char *,unsigned long long);
manitou 0:bed9ac8a7beb 132 #define crypto_hash_sha512_tweet_VERSION "-"
manitou 0:bed9ac8a7beb 133 #define crypto_hash_sha512 crypto_hash_sha512_tweet
manitou 0:bed9ac8a7beb 134 #define crypto_hash_sha512_BYTES crypto_hash_sha512_tweet_BYTES
manitou 0:bed9ac8a7beb 135 #define crypto_hash_sha512_VERSION crypto_hash_sha512_tweet_VERSION
manitou 0:bed9ac8a7beb 136 #define crypto_hash_sha512_IMPLEMENTATION "crypto_hash/sha512/tweet"
manitou 0:bed9ac8a7beb 137 #define crypto_hash_sha256_tweet_BYTES 32
manitou 0:bed9ac8a7beb 138 extern int crypto_hash_sha256_tweet(unsigned char *,const unsigned char *,unsigned long long);
manitou 0:bed9ac8a7beb 139 #define crypto_hash_sha256_tweet_VERSION "-"
manitou 0:bed9ac8a7beb 140 #define crypto_hash_sha256 crypto_hash_sha256_tweet
manitou 0:bed9ac8a7beb 141 #define crypto_hash_sha256_BYTES crypto_hash_sha256_tweet_BYTES
manitou 0:bed9ac8a7beb 142 #define crypto_hash_sha256_VERSION crypto_hash_sha256_tweet_VERSION
manitou 0:bed9ac8a7beb 143 #define crypto_hash_sha256_IMPLEMENTATION "crypto_hash/sha256/tweet"
manitou 0:bed9ac8a7beb 144 #define crypto_onetimeauth_PRIMITIVE "poly1305"
manitou 0:bed9ac8a7beb 145 #define crypto_onetimeauth crypto_onetimeauth_poly1305
manitou 0:bed9ac8a7beb 146 #define crypto_onetimeauth_verify crypto_onetimeauth_poly1305_verify
manitou 0:bed9ac8a7beb 147 #define crypto_onetimeauth_BYTES crypto_onetimeauth_poly1305_BYTES
manitou 0:bed9ac8a7beb 148 #define crypto_onetimeauth_KEYBYTES crypto_onetimeauth_poly1305_KEYBYTES
manitou 0:bed9ac8a7beb 149 #define crypto_onetimeauth_IMPLEMENTATION crypto_onetimeauth_poly1305_IMPLEMENTATION
manitou 0:bed9ac8a7beb 150 #define crypto_onetimeauth_VERSION crypto_onetimeauth_poly1305_VERSION
manitou 0:bed9ac8a7beb 151 #define crypto_onetimeauth_poly1305_tweet_BYTES 16
manitou 0:bed9ac8a7beb 152 #define crypto_onetimeauth_poly1305_tweet_KEYBYTES 32
manitou 0:bed9ac8a7beb 153 extern int crypto_onetimeauth_poly1305_tweet(unsigned char *,const unsigned char *,unsigned long long,const unsigned char *);
manitou 0:bed9ac8a7beb 154 extern int crypto_onetimeauth_poly1305_tweet_verify(const unsigned char *,const unsigned char *,unsigned long long,const unsigned char *);
manitou 0:bed9ac8a7beb 155 #define crypto_onetimeauth_poly1305_tweet_VERSION "-"
manitou 0:bed9ac8a7beb 156 #define crypto_onetimeauth_poly1305 crypto_onetimeauth_poly1305_tweet
manitou 0:bed9ac8a7beb 157 #define crypto_onetimeauth_poly1305_verify crypto_onetimeauth_poly1305_tweet_verify
manitou 0:bed9ac8a7beb 158 #define crypto_onetimeauth_poly1305_BYTES crypto_onetimeauth_poly1305_tweet_BYTES
manitou 0:bed9ac8a7beb 159 #define crypto_onetimeauth_poly1305_KEYBYTES crypto_onetimeauth_poly1305_tweet_KEYBYTES
manitou 0:bed9ac8a7beb 160 #define crypto_onetimeauth_poly1305_VERSION crypto_onetimeauth_poly1305_tweet_VERSION
manitou 0:bed9ac8a7beb 161 #define crypto_onetimeauth_poly1305_IMPLEMENTATION "crypto_onetimeauth/poly1305/tweet"
manitou 0:bed9ac8a7beb 162 #define crypto_scalarmult_PRIMITIVE "curve25519"
manitou 0:bed9ac8a7beb 163 #define crypto_scalarmult crypto_scalarmult_curve25519
manitou 0:bed9ac8a7beb 164 #define crypto_scalarmult_base crypto_scalarmult_curve25519_base
manitou 0:bed9ac8a7beb 165 #define crypto_scalarmult_BYTES crypto_scalarmult_curve25519_BYTES
manitou 0:bed9ac8a7beb 166 #define crypto_scalarmult_SCALARBYTES crypto_scalarmult_curve25519_SCALARBYTES
manitou 0:bed9ac8a7beb 167 #define crypto_scalarmult_IMPLEMENTATION crypto_scalarmult_curve25519_IMPLEMENTATION
manitou 0:bed9ac8a7beb 168 #define crypto_scalarmult_VERSION crypto_scalarmult_curve25519_VERSION
manitou 0:bed9ac8a7beb 169 #define crypto_scalarmult_curve25519_tweet_BYTES 32
manitou 0:bed9ac8a7beb 170 #define crypto_scalarmult_curve25519_tweet_SCALARBYTES 32
manitou 0:bed9ac8a7beb 171 extern int crypto_scalarmult_curve25519_tweet(unsigned char *,const unsigned char *,const unsigned char *);
manitou 0:bed9ac8a7beb 172 extern int crypto_scalarmult_curve25519_tweet_base(unsigned char *,const unsigned char *);
manitou 0:bed9ac8a7beb 173 #define crypto_scalarmult_curve25519_tweet_VERSION "-"
manitou 0:bed9ac8a7beb 174 #define crypto_scalarmult_curve25519 crypto_scalarmult_curve25519_tweet
manitou 0:bed9ac8a7beb 175 #define crypto_scalarmult_curve25519_base crypto_scalarmult_curve25519_tweet_base
manitou 0:bed9ac8a7beb 176 #define crypto_scalarmult_curve25519_BYTES crypto_scalarmult_curve25519_tweet_BYTES
manitou 0:bed9ac8a7beb 177 #define crypto_scalarmult_curve25519_SCALARBYTES crypto_scalarmult_curve25519_tweet_SCALARBYTES
manitou 0:bed9ac8a7beb 178 #define crypto_scalarmult_curve25519_VERSION crypto_scalarmult_curve25519_tweet_VERSION
manitou 0:bed9ac8a7beb 179 #define crypto_scalarmult_curve25519_IMPLEMENTATION "crypto_scalarmult/curve25519/tweet"
manitou 0:bed9ac8a7beb 180 #define crypto_secretbox_PRIMITIVE "xsalsa20poly1305"
manitou 0:bed9ac8a7beb 181 #define crypto_secretbox crypto_secretbox_xsalsa20poly1305
manitou 0:bed9ac8a7beb 182 #define crypto_secretbox_open crypto_secretbox_xsalsa20poly1305_open
manitou 0:bed9ac8a7beb 183 #define crypto_secretbox_KEYBYTES crypto_secretbox_xsalsa20poly1305_KEYBYTES
manitou 0:bed9ac8a7beb 184 #define crypto_secretbox_NONCEBYTES crypto_secretbox_xsalsa20poly1305_NONCEBYTES
manitou 0:bed9ac8a7beb 185 #define crypto_secretbox_ZEROBYTES crypto_secretbox_xsalsa20poly1305_ZEROBYTES
manitou 0:bed9ac8a7beb 186 #define crypto_secretbox_BOXZEROBYTES crypto_secretbox_xsalsa20poly1305_BOXZEROBYTES
manitou 0:bed9ac8a7beb 187 #define crypto_secretbox_IMPLEMENTATION crypto_secretbox_xsalsa20poly1305_IMPLEMENTATION
manitou 0:bed9ac8a7beb 188 #define crypto_secretbox_VERSION crypto_secretbox_xsalsa20poly1305_VERSION
manitou 0:bed9ac8a7beb 189 #define crypto_secretbox_xsalsa20poly1305_tweet_KEYBYTES 32
manitou 0:bed9ac8a7beb 190 #define crypto_secretbox_xsalsa20poly1305_tweet_NONCEBYTES 24
manitou 0:bed9ac8a7beb 191 #define crypto_secretbox_xsalsa20poly1305_tweet_ZEROBYTES 32
manitou 0:bed9ac8a7beb 192 #define crypto_secretbox_xsalsa20poly1305_tweet_BOXZEROBYTES 16
manitou 0:bed9ac8a7beb 193 extern int crypto_secretbox_xsalsa20poly1305_tweet(unsigned char *,const unsigned char *,unsigned long long,const unsigned char *,const unsigned char *);
manitou 0:bed9ac8a7beb 194 extern int crypto_secretbox_xsalsa20poly1305_tweet_open(unsigned char *,const unsigned char *,unsigned long long,const unsigned char *,const unsigned char *);
manitou 0:bed9ac8a7beb 195 #define crypto_secretbox_xsalsa20poly1305_tweet_VERSION "-"
manitou 0:bed9ac8a7beb 196 #define crypto_secretbox_xsalsa20poly1305 crypto_secretbox_xsalsa20poly1305_tweet
manitou 0:bed9ac8a7beb 197 #define crypto_secretbox_xsalsa20poly1305_open crypto_secretbox_xsalsa20poly1305_tweet_open
manitou 0:bed9ac8a7beb 198 #define crypto_secretbox_xsalsa20poly1305_KEYBYTES crypto_secretbox_xsalsa20poly1305_tweet_KEYBYTES
manitou 0:bed9ac8a7beb 199 #define crypto_secretbox_xsalsa20poly1305_NONCEBYTES crypto_secretbox_xsalsa20poly1305_tweet_NONCEBYTES
manitou 0:bed9ac8a7beb 200 #define crypto_secretbox_xsalsa20poly1305_ZEROBYTES crypto_secretbox_xsalsa20poly1305_tweet_ZEROBYTES
manitou 0:bed9ac8a7beb 201 #define crypto_secretbox_xsalsa20poly1305_BOXZEROBYTES crypto_secretbox_xsalsa20poly1305_tweet_BOXZEROBYTES
manitou 0:bed9ac8a7beb 202 #define crypto_secretbox_xsalsa20poly1305_VERSION crypto_secretbox_xsalsa20poly1305_tweet_VERSION
manitou 0:bed9ac8a7beb 203 #define crypto_secretbox_xsalsa20poly1305_IMPLEMENTATION "crypto_secretbox/xsalsa20poly1305/tweet"
manitou 0:bed9ac8a7beb 204 #define crypto_sign_PRIMITIVE "ed25519"
manitou 0:bed9ac8a7beb 205 #define crypto_sign crypto_sign_ed25519
manitou 0:bed9ac8a7beb 206 #define crypto_sign_open crypto_sign_ed25519_open
manitou 0:bed9ac8a7beb 207 #define crypto_sign_keypair crypto_sign_ed25519_keypair
manitou 0:bed9ac8a7beb 208 #define crypto_sign_BYTES crypto_sign_ed25519_BYTES
manitou 0:bed9ac8a7beb 209 #define crypto_sign_PUBLICKEYBYTES crypto_sign_ed25519_PUBLICKEYBYTES
manitou 0:bed9ac8a7beb 210 #define crypto_sign_SECRETKEYBYTES crypto_sign_ed25519_SECRETKEYBYTES
manitou 0:bed9ac8a7beb 211 #define crypto_sign_IMPLEMENTATION crypto_sign_ed25519_IMPLEMENTATION
manitou 0:bed9ac8a7beb 212 #define crypto_sign_VERSION crypto_sign_ed25519_VERSION
manitou 0:bed9ac8a7beb 213 #define crypto_sign_ed25519_tweet_BYTES 64
manitou 0:bed9ac8a7beb 214 #define crypto_sign_ed25519_tweet_PUBLICKEYBYTES 32
manitou 0:bed9ac8a7beb 215 #define crypto_sign_ed25519_tweet_SECRETKEYBYTES 64
manitou 0:bed9ac8a7beb 216 extern int crypto_sign_ed25519_tweet(unsigned char *,unsigned long long *,const unsigned char *,unsigned long long,const unsigned char *);
manitou 0:bed9ac8a7beb 217 extern int crypto_sign_ed25519_tweet_open(unsigned char *,unsigned long long *,const unsigned char *,unsigned long long,const unsigned char *);
manitou 0:bed9ac8a7beb 218 extern int crypto_sign_ed25519_tweet_keypair(unsigned char *,unsigned char *);
manitou 0:bed9ac8a7beb 219 #define crypto_sign_ed25519_tweet_VERSION "-"
manitou 0:bed9ac8a7beb 220 #define crypto_sign_ed25519 crypto_sign_ed25519_tweet
manitou 0:bed9ac8a7beb 221 #define crypto_sign_ed25519_open crypto_sign_ed25519_tweet_open
manitou 0:bed9ac8a7beb 222 #define crypto_sign_ed25519_keypair crypto_sign_ed25519_tweet_keypair
manitou 0:bed9ac8a7beb 223 #define crypto_sign_ed25519_BYTES crypto_sign_ed25519_tweet_BYTES
manitou 0:bed9ac8a7beb 224 #define crypto_sign_ed25519_PUBLICKEYBYTES crypto_sign_ed25519_tweet_PUBLICKEYBYTES
manitou 0:bed9ac8a7beb 225 #define crypto_sign_ed25519_SECRETKEYBYTES crypto_sign_ed25519_tweet_SECRETKEYBYTES
manitou 0:bed9ac8a7beb 226 #define crypto_sign_ed25519_VERSION crypto_sign_ed25519_tweet_VERSION
manitou 0:bed9ac8a7beb 227 #define crypto_sign_ed25519_IMPLEMENTATION "crypto_sign/ed25519/tweet"
manitou 0:bed9ac8a7beb 228 #define crypto_stream_PRIMITIVE "xsalsa20"
manitou 0:bed9ac8a7beb 229 #define crypto_stream crypto_stream_xsalsa20
manitou 0:bed9ac8a7beb 230 #define crypto_stream_xor crypto_stream_xsalsa20_xor
manitou 0:bed9ac8a7beb 231 #define crypto_stream_KEYBYTES crypto_stream_xsalsa20_KEYBYTES
manitou 0:bed9ac8a7beb 232 #define crypto_stream_NONCEBYTES crypto_stream_xsalsa20_NONCEBYTES
manitou 0:bed9ac8a7beb 233 #define crypto_stream_IMPLEMENTATION crypto_stream_xsalsa20_IMPLEMENTATION
manitou 0:bed9ac8a7beb 234 #define crypto_stream_VERSION crypto_stream_xsalsa20_VERSION
manitou 0:bed9ac8a7beb 235 #define crypto_stream_xsalsa20_tweet_KEYBYTES 32
manitou 0:bed9ac8a7beb 236 #define crypto_stream_xsalsa20_tweet_NONCEBYTES 24
manitou 0:bed9ac8a7beb 237 extern int crypto_stream_xsalsa20_tweet(unsigned char *,unsigned long long,const unsigned char *,const unsigned char *);
manitou 0:bed9ac8a7beb 238 extern int crypto_stream_xsalsa20_tweet_xor(unsigned char *,const unsigned char *,unsigned long long,const unsigned char *,const unsigned char *);
manitou 0:bed9ac8a7beb 239 #define crypto_stream_xsalsa20_tweet_VERSION "-"
manitou 0:bed9ac8a7beb 240 #define crypto_stream_xsalsa20 crypto_stream_xsalsa20_tweet
manitou 0:bed9ac8a7beb 241 #define crypto_stream_xsalsa20_xor crypto_stream_xsalsa20_tweet_xor
manitou 0:bed9ac8a7beb 242 #define crypto_stream_xsalsa20_KEYBYTES crypto_stream_xsalsa20_tweet_KEYBYTES
manitou 0:bed9ac8a7beb 243 #define crypto_stream_xsalsa20_NONCEBYTES crypto_stream_xsalsa20_tweet_NONCEBYTES
manitou 0:bed9ac8a7beb 244 #define crypto_stream_xsalsa20_VERSION crypto_stream_xsalsa20_tweet_VERSION
manitou 0:bed9ac8a7beb 245 #define crypto_stream_xsalsa20_IMPLEMENTATION "crypto_stream/xsalsa20/tweet"
manitou 0:bed9ac8a7beb 246 #define crypto_stream_salsa20_tweet_KEYBYTES 32
manitou 0:bed9ac8a7beb 247 #define crypto_stream_salsa20_tweet_NONCEBYTES 8
manitou 0:bed9ac8a7beb 248 extern int crypto_stream_salsa20_tweet(unsigned char *,unsigned long long,const unsigned char *,const unsigned char *);
manitou 0:bed9ac8a7beb 249 extern int crypto_stream_salsa20_tweet_xor(unsigned char *,const unsigned char *,unsigned long long,const unsigned char *,const unsigned char *);
manitou 0:bed9ac8a7beb 250 #define crypto_stream_salsa20_tweet_VERSION "-"
manitou 0:bed9ac8a7beb 251 #define crypto_stream_salsa20 crypto_stream_salsa20_tweet
manitou 0:bed9ac8a7beb 252 #define crypto_stream_salsa20_xor crypto_stream_salsa20_tweet_xor
manitou 0:bed9ac8a7beb 253 #define crypto_stream_salsa20_KEYBYTES crypto_stream_salsa20_tweet_KEYBYTES
manitou 0:bed9ac8a7beb 254 #define crypto_stream_salsa20_NONCEBYTES crypto_stream_salsa20_tweet_NONCEBYTES
manitou 0:bed9ac8a7beb 255 #define crypto_stream_salsa20_VERSION crypto_stream_salsa20_tweet_VERSION
manitou 0:bed9ac8a7beb 256 #define crypto_stream_salsa20_IMPLEMENTATION "crypto_stream/salsa20/tweet"
manitou 0:bed9ac8a7beb 257 #define crypto_verify_PRIMITIVE "16"
manitou 0:bed9ac8a7beb 258 #define crypto_verify crypto_verify_16
manitou 0:bed9ac8a7beb 259 #define crypto_verify_BYTES crypto_verify_16_BYTES
manitou 0:bed9ac8a7beb 260 #define crypto_verify_IMPLEMENTATION crypto_verify_16_IMPLEMENTATION
manitou 0:bed9ac8a7beb 261 #define crypto_verify_VERSION crypto_verify_16_VERSION
manitou 0:bed9ac8a7beb 262 #define crypto_verify_16_tweet_BYTES 16
manitou 0:bed9ac8a7beb 263 extern int crypto_verify_16_tweet(const unsigned char *,const unsigned char *);
manitou 0:bed9ac8a7beb 264 #define crypto_verify_16_tweet_VERSION "-"
manitou 0:bed9ac8a7beb 265 #define crypto_verify_16 crypto_verify_16_tweet
manitou 0:bed9ac8a7beb 266 #define crypto_verify_16_BYTES crypto_verify_16_tweet_BYTES
manitou 0:bed9ac8a7beb 267 #define crypto_verify_16_VERSION crypto_verify_16_tweet_VERSION
manitou 0:bed9ac8a7beb 268 #define crypto_verify_16_IMPLEMENTATION "crypto_verify/16/tweet"
manitou 0:bed9ac8a7beb 269 #define crypto_verify_32_tweet_BYTES 32
manitou 0:bed9ac8a7beb 270 extern int crypto_verify_32_tweet(const unsigned char *,const unsigned char *);
manitou 0:bed9ac8a7beb 271 #define crypto_verify_32_tweet_VERSION "-"
manitou 0:bed9ac8a7beb 272 #define crypto_verify_32 crypto_verify_32_tweet
manitou 0:bed9ac8a7beb 273 #define crypto_verify_32_BYTES crypto_verify_32_tweet_BYTES
manitou 0:bed9ac8a7beb 274 #define crypto_verify_32_VERSION crypto_verify_32_tweet_VERSION
manitou 0:bed9ac8a7beb 275 #define crypto_verify_32_IMPLEMENTATION "crypto_verify/32/tweet"
manitou 0:bed9ac8a7beb 276 #endif
manitou 0:bed9ac8a7beb 277
manitou 0:bed9ac8a7beb 278 #ifdef __cplusplus
manitou 0:bed9ac8a7beb 279 }
manitou 0:bed9ac8a7beb 280 #endif