Home
last modified time | relevance | path

Searched refs:crypto_box_PUBLICKEYBYTES (Results 1 – 9 of 9) sorted by relevance

/f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_box/
H A Dcrypto_box_seal.c16 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 Dcrypto_box.c13 return crypto_box_PUBLICKEYBYTES; in crypto_box_publickeybytes()
/f-stack/freebsd/contrib/libsodium/test/default/
H A Dbox8.c6 static unsigned char alicepk[crypto_box_PUBLICKEYBYTES];
8 static unsigned char bobpk[crypto_box_PUBLICKEYBYTES];
H A Dbox7.c6 static unsigned char alicepk[crypto_box_PUBLICKEYBYTES];
8 static unsigned char bobpk[crypto_box_PUBLICKEYBYTES];
H A Dbox_easy2.c5 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 Dbox2.c17 static const unsigned char small_order_p[crypto_box_PUBLICKEYBYTES] = {
H A Dbox_seal.c8 unsigned char pk[crypto_box_PUBLICKEYBYTES]; in main()
H A Dbox.c17 static const unsigned char small_order_p[crypto_box_PUBLICKEYBYTES] = {
/f-stack/freebsd/contrib/libsodium/src/libsodium/include/sodium/
H A Dcrypto_box.h27 #define crypto_box_PUBLICKEYBYTES crypto_box_curve25519xsalsa20poly1305_PUBLICKEYBYTES macro
122 #define crypto_box_SEALBYTES (crypto_box_PUBLICKEYBYTES + crypto_box_MACBYTES)