Home
last modified time | relevance | path

Searched refs:result_len (Results 1 – 3 of 3) sorted by relevance

/net-tools-2.7.6/mbedtls-2.4.0/tests/suites/
Dtest_suite_ccm.function89 size_t key_len, msg_len, iv_len, add_len, tag_len, result_len;
103 result_len = unhexify( result, result_hex );
104 tag_len = result_len - msg_len;
112 TEST_ASSERT( memcmp( msg, result, result_len ) == 0 );
115 TEST_ASSERT( msg[result_len] == 0 && msg[result_len + 1] == 0 );
135 size_t key_len, msg_len, iv_len, add_len, result_len;
157 result_len = -1;
162 result_len = unhexify( result, result_hex );
173 TEST_ASSERT( memcmp( msg, result, result_len ) == 0 );
/net-tools-2.7.6/tinydtls-0.8.2/
Dcrypto.c319 unsigned char *result, size_t result_len) { in dtls_psk_pre_master_secret() argument
322 if (result_len < (2 * (sizeof(uint16) + keylen))) { in dtls_psk_pre_master_secret()
403 size_t result_len) { in dtls_ecdh_pre_master_secret() argument
410 if (result_len < key_size) { in dtls_ecdh_pre_master_secret()
Dcrypto.h307 unsigned char *result, size_t result_len);
316 size_t result_len);