Home
last modified time | relevance | path

Searched refs:out_key (Results 1 – 4 of 4) sorted by relevance

/hypervisor/lib/crypto/
A Dcrypto_api.c11 int32_t hkdf_sha256(uint8_t *out_key, size_t out_len, in hkdf_sha256() argument
20 if ((out_key != NULL) && (secret != NULL)) { in hkdf_sha256()
24 info, info_len, out_key, out_len) == 0) { in hkdf_sha256()
33 int32_t hmac_sha256(uint8_t *out_key, in hmac_sha256() argument
40 if ((out_key != NULL) && (secret != NULL) && (salt != NULL)) { in hmac_sha256()
43 if (mbedtls_md_hmac(md, secret, secret_len, salt, salt_len, out_key) == 0) { in hmac_sha256()
/hypervisor/include/lib/crypto/
A Dcrypto_api.h37 int32_t hkdf_sha256(uint8_t *out_key, size_t out_len,
60 int32_t hmac_sha256(uint8_t *out_key,
/hypervisor/arch/x86/seed/
A Dseed.c194 bool derive_attkb_enc_key(uint8_t *out_key) in derive_attkb_enc_key() argument
202 if ((out_key == NULL) || (g_phy_seed.num_seeds == 0U) || in derive_attkb_enc_key()
211 if (hmac_sha256(out_key, ikm, ikm_len, salt, sizeof(salt)) != 1) { in derive_attkb_enc_key()
/hypervisor/include/arch/x86/asm/
A Dseed.h36 bool derive_attkb_enc_key(uint8_t *out_key);

Completed in 7 milliseconds