Searched refs:crypto_box_PUBLICKEYBYTES (Results 1 – 9 of 9) sorted by relevance
| /f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_box/ |
| H A D | crypto_box_seal.c | 16 crypto_generichash_update(&st, pk1, crypto_box_PUBLICKEYBYTES); in _crypto_box_seal_nonce() 17 crypto_generichash_update(&st, pk2, crypto_box_PUBLICKEYBYTES); in _crypto_box_seal_nonce() 28 unsigned char epk[crypto_box_PUBLICKEYBYTES]; in crypto_box_seal() 35 memcpy(c, epk, crypto_box_PUBLICKEYBYTES); in crypto_box_seal() 37 ret = crypto_box_easy(c + crypto_box_PUBLICKEYBYTES, m, mlen, in crypto_box_seal() 58 COMPILER_ASSERT(crypto_box_PUBLICKEYBYTES < crypto_box_SEALBYTES); in crypto_box_seal_open() 59 return crypto_box_open_easy(m, c + crypto_box_PUBLICKEYBYTES, in crypto_box_seal_open() 60 clen - crypto_box_PUBLICKEYBYTES, in crypto_box_seal_open()
|
| H A D | crypto_box.c | 13 return crypto_box_PUBLICKEYBYTES; in crypto_box_publickeybytes()
|
| /f-stack/freebsd/contrib/libsodium/test/default/ |
| H A D | box8.c | 6 static unsigned char alicepk[crypto_box_PUBLICKEYBYTES]; 8 static unsigned char bobpk[crypto_box_PUBLICKEYBYTES];
|
| H A D | box7.c | 6 static unsigned char alicepk[crypto_box_PUBLICKEYBYTES]; 8 static unsigned char bobpk[crypto_box_PUBLICKEYBYTES];
|
| H A D | box_easy2.c | 5 static const unsigned char small_order_p[crypto_box_PUBLICKEYBYTES] = { 37 alicepk = (unsigned char *) sodium_malloc(crypto_box_PUBLICKEYBYTES); in main() 39 bobpk = (unsigned char *) sodium_malloc(crypto_box_PUBLICKEYBYTES); in main()
|
| H A D | box2.c | 17 static const unsigned char small_order_p[crypto_box_PUBLICKEYBYTES] = {
|
| H A D | box_seal.c | 8 unsigned char pk[crypto_box_PUBLICKEYBYTES]; in main()
|
| H A D | box.c | 17 static const unsigned char small_order_p[crypto_box_PUBLICKEYBYTES] = {
|
| /f-stack/freebsd/contrib/libsodium/src/libsodium/include/sodium/ |
| H A D | crypto_box.h | 27 #define crypto_box_PUBLICKEYBYTES crypto_box_curve25519xsalsa20poly1305_PUBLICKEYBYTES macro 122 #define crypto_box_SEALBYTES (crypto_box_PUBLICKEYBYTES + crypto_box_MACBYTES)
|