Home
last modified time | relevance | path

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

/mbedtls-development/tests/suites/
A 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,
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 Dtest_suite_hkdf.data4 HKDF expand fails with NULL okm
/mbedtls-development/library/
A 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-development/include/mbedtls/
A Dhkdf.h71 unsigned char *okm, size_t okm_len );
130 size_t info_len, unsigned char *okm, size_t okm_len );

Completed in 5 milliseconds