Home
last modified time | relevance | path

Searched refs:hkdf (Results 1 – 7 of 7) sorted by relevance

/optee_os/lib/libmbedtls/mbedtls/include/psa/
H A Dcrypto_driver_contexts_key_derivation.h37 psa_hkdf_key_derivation_t MBEDTLS_PRIVATE(hkdf);
/optee_os/lib/libmbedtls/mbedtls/library/
H A Dpsa_crypto.c5718 mbedtls_free(operation->ctx.hkdf.info); in psa_key_derivation_abort()
5719 status = psa_mac_abort(&operation->ctx.hkdf.hmac); in psa_key_derivation_abort()
5804 static psa_status_t psa_key_derivation_hkdf_read(psa_hkdf_key_derivation_t *hkdf, in psa_key_derivation_hkdf_read() argument
5819 if (hkdf->state < HKDF_STATE_KEYED || in psa_key_derivation_hkdf_read()
5820 (!hkdf->info_set in psa_key_derivation_hkdf_read()
5827 hkdf->state = HKDF_STATE_OUTPUT; in psa_key_derivation_hkdf_read()
5831 uint8_t n = hash_length - hkdf->offset_in_block; in psa_key_derivation_hkdf_read()
5835 memcpy(output, hkdf->output_block + hkdf->offset_in_block, n); in psa_key_derivation_hkdf_read()
5838 hkdf->offset_in_block += n; in psa_key_derivation_hkdf_read()
5847 if (hkdf->block_number == last_block) { in psa_key_derivation_hkdf_read()
[all …]
/optee_os/core/lib/libtomcrypt/src/misc/hkdf/
H A Dhkdf_test.c258 if((err = hkdf(hash, cases[i].salt, cases[i].salt_l, in hkdf_test()
H A Dhkdf.c102 int hkdf(int hash_idx, const unsigned char *salt, unsigned long saltlen, in hkdf() function
/optee_os/core/lib/libtomcrypt/src/headers/
H A Dtomcrypt_misc.h78 int hkdf(int hash_idx,
/optee_os/lib/libmbedtls/
H A Dsub.mk39 SRCS_CRYPTO += hkdf.c
/optee_os/lib/libmbedtls/mbedtls/
H A DChangeLog257 - Hashes: hkdf.h, md5.h, ripemd160.h, sha1.h, sha3.h, sha256.h, sha512.h;
3192 * Reduce stack usage of hkdf tests. Fixes #2195.