Searched refs:opaque_key_base_size (Results 1 – 1 of 1) sorted by relevance
145 size_t opaque_key_base_size = mbedtls_test_opaque_get_base_size(); in mbedtls_test_opaque_wrap_key() local148 if (key_length + opaque_key_base_size > wrapped_key_buffer_size) { in mbedtls_test_opaque_wrap_key()153 memcpy(wrapped_key_buffer, &prefix, opaque_key_base_size); in mbedtls_test_opaque_wrap_key()154 wrapped_key_buffer += opaque_key_base_size; in mbedtls_test_opaque_wrap_key()155 *wrapped_key_buffer_length = key_length + opaque_key_base_size; in mbedtls_test_opaque_wrap_key()180 size_t opaque_key_base_size = mbedtls_test_opaque_get_base_size(); in mbedtls_test_opaque_unwrap_key() local184 if (wrapped_key_length < opaque_key_base_size) { in mbedtls_test_opaque_unwrap_key()187 clear_key_size = wrapped_key_length - opaque_key_base_size; in mbedtls_test_opaque_unwrap_key()189 wrapped_key += opaque_key_base_size; in mbedtls_test_opaque_unwrap_key()