Searched refs:prk_len (Results 1 – 3 of 3) sorted by relevance
| /optee_os/core/tee/ |
| H 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/lib/libmbedtls/mbedtls/library/ |
| H A D | hkdf.c | 64 size_t prk_len, const unsigned char *info, in mbedtls_hkdf_expand() argument 82 if (prk_len < hash_len || hash_len == 0) { in mbedtls_hkdf_expand() 121 ret = mbedtls_md_hmac_starts(&ctx, prk, prk_len); in mbedtls_hkdf_expand()
|
| /optee_os/lib/libmbedtls/mbedtls/include/mbedtls/ |
| H A D | hkdf.h | 117 size_t prk_len, const unsigned char *info,
|