Home
last modified time | relevance | path

Searched refs:okm (Results 1 – 3 of 3) sorted by relevance

/hostap-latest/src/crypto/
Dcrypto_module_tests.c2067 u8 okm[82]; in test_extract_expand_hkdf() local
2165 okm, sizeof(okm1)) < 0) in test_extract_expand_hkdf()
2167 if (os_memcmp(okm, okm1, sizeof(okm1)) != 0) { in test_extract_expand_hkdf()
2180 okm, sizeof(okm2)) < 0) in test_extract_expand_hkdf()
2182 if (os_memcmp(okm, okm2, sizeof(okm2)) != 0) { in test_extract_expand_hkdf()
Dcrypto_mbedtls_alt.c486 u8 *okm, in hmac_kdf_expand() argument
495 return mbedtls_hkdf_expand(md_info, prk, prk_len, info, info_len, okm, okm_len) ? -1 : 0; in hmac_kdf_expand()
512 const u8 *addr[4] = {okm, (const u8 *)label, info, &iter}; in hmac_kdf_expand()
519 mbedtls_md_hmac_finish(&ctx, okm); in hmac_kdf_expand()
521 addr[0] = okm; in hmac_kdf_expand()
522 okm += mac_len; in hmac_kdf_expand()
532 os_memcpy(okm, hash, okm_len); in hmac_kdf_expand()
/hostap-latest/src/common/
Dsae.c564 const char *info, u8 *okm, size_t okm_len) in hkdf_expand() argument
571 okm, okm_len); in hkdf_expand()
576 okm, okm_len); in hkdf_expand()
582 okm, okm_len); in hkdf_expand()