Searched refs:prk_len (Results 1 – 3 of 3) sorted by relevance
/optee_os-3.20.0/core/tee/ |
A D | tee_cryp_hkdf.c | 18 size_t salt_len, uint8_t *prk, size_t *prk_len) in hkdf_extract() argument 55 res = crypto_mac_final(ctx, prk, *prk_len); in hkdf_extract() 59 res = tee_alg_get_digest_size(hash_algo, prk_len); in hkdf_extract() 66 size_t prk_len, const uint8_t *info, in hkdf_expand() argument 80 if (!okm || prk_len < hash_len) { in hkdf_expand() 118 res = crypto_mac_init(ctx, prk, prk_len); in hkdf_expand() 151 size_t prk_len = sizeof(prk); in tee_cryp_hkdf() local 154 &prk_len); in tee_cryp_hkdf() 157 res = hkdf_expand(hash_id, prk, prk_len, info, info_len, okm, in tee_cryp_hkdf()
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/ |
A D | hkdf.c | 80 size_t prk_len, const unsigned char *info, in mbedtls_hkdf_expand() argument 99 if( prk_len < hash_len || hash_len == 0 ) in mbedtls_hkdf_expand() 144 ret = mbedtls_md_hmac_starts( &ctx, prk, prk_len ); in mbedtls_hkdf_expand()
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/ |
A D | hkdf.h | 133 size_t prk_len, const unsigned char *info,
|
Completed in 3 milliseconds