Searched refs:okm (Results 1 – 4 of 4) sorted by relevance
/mbedtls-3.6.0/tests/suites/ |
D | test_suite_hkdf.function | 16 unsigned char okm[128] = { '\0' }; 23 TEST_ASSERT(expected_okm->len <= sizeof(okm)); 26 info->x, info->len, okm, expected_okm->len); 29 TEST_MEMORY_COMPARE(okm, expected_okm->len, 71 data_t *okm) 85 TEST_ASSERT(okm->len < OKM_LEN); 91 TEST_MEMORY_COMPARE(output_okm, okm->len, okm->x, okm->len); 132 unsigned char *okm = NULL; 147 TEST_CALLOC(okm, okm_len); 151 info, info_len, okm, okm_len); [all …]
|
D | test_suite_hkdf.data | 4 HKDF expand fails with NULL okm
|
/mbedtls-3.6.0/library/ |
D | hkdf.c | 19 unsigned char *okm, size_t okm_len) in mbedtls_hkdf() argument 28 info, info_len, okm, okm_len); in mbedtls_hkdf() 65 size_t info_len, unsigned char *okm, size_t okm_len) in mbedtls_hkdf_expand() argument 76 if (okm == NULL) { in mbedtls_hkdf_expand() 149 memcpy(okm + where, t, num_to_copy); in mbedtls_hkdf_expand()
|
/mbedtls-3.6.0/include/mbedtls/ |
D | hkdf.h | 59 unsigned char *okm, size_t okm_len); 118 size_t info_len, unsigned char *okm, size_t okm_len);
|