Home
last modified time | relevance | path

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

/openthread-2.7.6/third_party/mbedtls/repo/tests/suites/
Dtest_suite_hkdf.function12 void test_hkdf( int md_alg, data_t *ikm, data_t *salt, data_t *info,
23 ret = mbedtls_hkdf( md, salt->x, salt->len, ikm->x, ikm->len,
37 unsigned char *ikm = NULL;
49 ikm = mbedtls_test_unhexify_alloc( hex_ikm_string, &ikm_len );
53 ret = mbedtls_hkdf_extract( md, salt, salt_len, ikm, ikm_len, output_prk );
59 mbedtls_free(ikm);
107 unsigned char *ikm = NULL;
121 ikm, ikm_len, prk );
/openthread-2.7.6/third_party/mbedtls/repo/library/
Dhkdf.c29 size_t salt_len, const unsigned char *ikm, size_t ikm_len, in mbedtls_hkdf() argument
36 ret = mbedtls_hkdf_extract( md, salt, salt_len, ikm, ikm_len, prk ); in mbedtls_hkdf()
51 const unsigned char *ikm, size_t ikm_len, in mbedtls_hkdf_extract() argument
76 return( mbedtls_md_hmac( md, salt, salt_len, ikm, ikm_len, prk ) ); in mbedtls_hkdf_extract()
/openthread-2.7.6/third_party/mbedtls/repo/include/mbedtls/
Dhkdf.h72 size_t salt_len, const unsigned char *ikm, size_t ikm_len,
102 const unsigned char *ikm, size_t ikm_len,