Searched refs:okm_len (Results 1 – 4 of 4) sorted by relevance
/mbedtls-development/tests/suites/ |
A D | test_suite_hkdf.function | 76 size_t info_len, prk_len, okm_len; 85 okm = mbedtls_test_unhexify_alloc( hex_okm_string, &okm_len ); 87 TEST_ASSERT( okm_len < OKM_LEN ); 92 ASSERT_COMPARE( output_okm, okm_len, okm, okm_len ); 130 void test_hkdf_expand_ret( int hash_len, int prk_len, int okm_len, int ret ) 148 if (okm_len > 0) 149 okm = mbedtls_calloc( okm_len, 1 ); 152 info, info_len, okm, okm_len );
|
A D | test_suite_hkdf.data | 13 HKDF expand fails with okm_len / hash_len > 255
|
/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 110 n = okm_len / hash_len; in mbedtls_hkdf_expand() 112 if( okm_len % hash_len != 0 ) in mbedtls_hkdf_expand() 176 num_to_copy = i != n ? hash_len : okm_len - where; 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 3 milliseconds