Home
last modified time | relevance | path

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

/mbedtls-3.4.0/tests/suites/
Dtest_suite_hkdf.function16 unsigned char okm[128] = { '\0' };
21 TEST_ASSERT( expected_okm->len <= sizeof( okm ) );
24 info->x, info->len, okm, expected_okm->len );
27 ASSERT_COMPARE( okm , expected_okm->len,
63 data_t *okm )
75 TEST_ASSERT( okm->len < OKM_LEN );
81 ASSERT_COMPARE( output_okm, okm->len, okm->x, okm->len );
121 unsigned char *okm = NULL;
135 ASSERT_ALLOC( okm, okm_len );
138 info, info_len, okm, okm_len );
[all …]
Dtest_suite_hkdf.data4 HKDF expand fails with NULL okm
/mbedtls-3.4.0/library/
Dhkdf.c31 unsigned char *okm, size_t okm_len ) in mbedtls_hkdf() argument
41 info, info_len, okm, okm_len ); in mbedtls_hkdf()
81 size_t info_len, unsigned char *okm, size_t okm_len ) in mbedtls_hkdf_expand() argument
92 if( okm == NULL ) in mbedtls_hkdf_expand()
177 memcpy( okm + where, t, num_to_copy ); in mbedtls_hkdf_expand()
/mbedtls-3.4.0/include/mbedtls/
Dhkdf.h71 unsigned char *okm, size_t okm_len );
130 size_t info_len, unsigned char *okm, size_t okm_len );