Searched refs:crypto_kdf_BYTES_MAX (Results 1 – 3 of 3) sorted by relevance
11 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()
20 return crypto_kdf_BYTES_MAX; in crypto_kdf_bytes_max()
21 #define crypto_kdf_BYTES_MAX crypto_kdf_blake2b_BYTES_MAX macro