Home
last modified time | relevance | path

Searched refs:crypto_kdf_BYTES_MAX (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/contrib/libsodium/test/default/
H A Dkdf.c11 char hex[crypto_kdf_BYTES_MAX * 2 + 1]; in tv_kdf()
22 subkey = (unsigned char *) sodium_malloc(crypto_kdf_BYTES_MAX); in tv_kdf()
24 ret = crypto_kdf_derive_from_key(subkey, crypto_kdf_BYTES_MAX, in tv_kdf()
27 sodium_bin2hex(hex, sizeof hex, subkey, crypto_kdf_BYTES_MAX); in tv_kdf()
32 for (i = 0; i < crypto_kdf_BYTES_MAX + 2; i++) { in tv_kdf()
33 subkey = (unsigned char *) sodium_malloc(crypto_kdf_BYTES_MAX); in tv_kdf()
49 assert(crypto_kdf_BYTES_MAX > 0); in tv_kdf()
50 assert(crypto_kdf_BYTES_MIN <= crypto_kdf_BYTES_MAX); in tv_kdf()
52 assert(crypto_kdf_bytes_max() == crypto_kdf_BYTES_MAX); in tv_kdf()
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_kdf/
H A Dcrypto_kdf.c20 return crypto_kdf_BYTES_MAX; in crypto_kdf_bytes_max()
/freebsd/sys/contrib/libsodium/src/libsodium/include/sodium/
H A Dcrypto_kdf.h21 #define crypto_kdf_BYTES_MAX crypto_kdf_blake2b_BYTES_MAX macro