Home
last modified time | relevance | path

Searched refs:crypto_kdf_KEYBYTES (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/contrib/libsodium/src/libsodium/crypto_kdf/
H A Dcrypto_kdf.c32 return crypto_kdf_KEYBYTES; in crypto_kdf_keybytes()
39 const unsigned char key[crypto_kdf_KEYBYTES]) in crypto_kdf_derive_from_key() argument
46 crypto_kdf_keygen(unsigned char k[crypto_kdf_KEYBYTES]) in crypto_kdf_keygen() argument
48 randombytes_buf(k, crypto_kdf_KEYBYTES); in crypto_kdf_keygen()
/freebsd/sys/contrib/libsodium/test/default/
H A Dkdf.c16 master_key = (unsigned char *) sodium_malloc(crypto_kdf_KEYBYTES); in tv_kdf()
19 for (i = 0; i < crypto_kdf_KEYBYTES; i++) { in tv_kdf()
55 assert(crypto_kdf_KEYBYTES >= 16); in tv_kdf()
56 assert(crypto_kdf_keybytes() == crypto_kdf_KEYBYTES); in tv_kdf()
H A Dkeygen.c21 { crypto_kdf_keygen, crypto_kdf_KEYBYTES }, in tv_keygen()
/freebsd/sys/contrib/libsodium/src/libsodium/include/sodium/
H A Dcrypto_kdf.h29 #define crypto_kdf_KEYBYTES crypto_kdf_blake2b_KEYBYTES macro
42 const unsigned char key[crypto_kdf_KEYBYTES]);
45 void crypto_kdf_keygen(unsigned char k[crypto_kdf_KEYBYTES]);