Searched refs:okm (Results 1 – 4 of 4) sorted by relevance
/mbedtls-development/tests/suites/ |
A D | test_suite_hkdf.function | 16 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, 74 unsigned char *okm = NULL; 85 okm = mbedtls_test_unhexify_alloc( hex_okm_string, &okm_len ); 92 ASSERT_COMPARE( output_okm, okm_len, okm, okm_len ); 97 mbedtls_free(okm); 135 unsigned char *okm = NULL; 149 okm = mbedtls_calloc( okm_len, 1 ); [all …]
|
A D | test_suite_hkdf.data | 4 HKDF expand fails with NULL okm
|
/mbedtls-development/library/ |
A D | hkdf.c | 31 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-development/include/mbedtls/ |
A D | hkdf.h | 71 unsigned char *okm, size_t okm_len ); 130 size_t info_len, unsigned char *okm, size_t okm_len );
|
Completed in 5 milliseconds