Home
last modified time | relevance | path

Searched refs:TEST_CALLOC (Results 1 – 25 of 47) sorted by relevance

12

/lib/mbedtls/external/mbedtls/tests/suites/
A Dtest_suite_psa_crypto_memory.function37 TEST_CALLOC(src_buffer, src_len);
38 TEST_CALLOC(dst_buffer, dst_len);
64 TEST_CALLOC(src_buffer, src_len);
65 TEST_CALLOC(dst_buffer, dst_len);
93 TEST_CALLOC(input, input_len);
121 TEST_CALLOC(local_input.buffer, local_input.length);
167 TEST_CALLOC(output, output_len);
197 TEST_CALLOC(output, output_len);
199 TEST_CALLOC(buffer_copy_for_comparison, output_len);
200 TEST_CALLOC(local_output.buffer, output_len);
[all …]
A Dtest_suite_psa_crypto_util.function13 TEST_CALLOC(tmp_buf, tmp_buf_len);
36 TEST_CALLOC(tmp_buf, i);
45 TEST_CALLOC(tmp_buf, i);
66 TEST_CALLOC(out_buf, out_buf_len);
72 TEST_CALLOC(in_buf, in_buf_len);
A Dtest_suite_pkcs7.function91 TEST_CALLOC(crts, n_crts);
92 TEST_CALLOC(crt_files_arr, n_crts);
100 TEST_CALLOC(crt_files_arr[cnt], (k-i)+1);
107 TEST_CALLOC(crts[i], 1);
132 TEST_CALLOC(data, datalen == 0 ? 1 : datalen);
140 TEST_CALLOC(hash, mbedtls_md_get_size(md_info));
A Dtest_suite_hkdf.function53 TEST_CALLOC(output_prk, output_prk_len);
82 TEST_CALLOC(output_okm, OKM_LEN);
113 TEST_CALLOC(prk, MBEDTLS_MD_MAX_SIZE);
143 TEST_CALLOC(prk, prk_len);
147 TEST_CALLOC(okm, okm_len);
A Dtest_suite_aes.function668 TEST_CALLOC(src0, 1);
669 TEST_CALLOC(enc0, 1);
670 TEST_CALLOC(dec0, 1);
682 TEST_CALLOC(src1, 1);
683 TEST_CALLOC(enc0, 1);
684 TEST_CALLOC(dec0, 1);
696 TEST_CALLOC(src0, 1);
697 TEST_CALLOC(enc1, 1);
698 TEST_CALLOC(dec1, 1);
710 TEST_CALLOC(src1, 1);
[all …]
A Dtest_suite_ccm.function35 TEST_CALLOC(output, n1);
43 TEST_CALLOC(output, n2);
51 TEST_CALLOC(output, tag->len);
260 TEST_CALLOC(output, msg->len);
368 TEST_CALLOC(tag_buf, 16);
530 TEST_CALLOC(output, tag->len);
560 TEST_CALLOC(output, tag->len);
637 TEST_CALLOC(output, msg->len);
665 TEST_CALLOC(output, 16);
786 TEST_CALLOC(output, 16);
[all …]
A Dtest_suite_platform_printf.function35 TEST_CALLOC(output, n + 1);
56 TEST_CALLOC(expected, n + 1);
60 TEST_CALLOC(output, n + 1);
80 TEST_CALLOC(output, n + 1);
A Dtest_suite_constant_time.function180 TEST_CALLOC(buf, len);
204 TEST_CALLOC(a, size);
205 TEST_CALLOC(b, size);
246 TEST_CALLOC(a, size + offset);
247 TEST_CALLOC(b, size + offset);
339 TEST_CALLOC(src, size + offset);
340 TEST_CALLOC(src2, size + offset);
441 TEST_CALLOC(buf, l);
442 TEST_CALLOC(buf_expected, l);
474 TEST_CALLOC(dst, len);
[all …]
A Dtest_suite_common.function20 TEST_CALLOC(a, n + 1);
21 TEST_CALLOC(b, n + 1);
22 TEST_CALLOC(r1, n + 1);
23 TEST_CALLOC(r2, n + 1);
A Dtest_suite_bignum_mod_raw.function211 TEST_CALLOC(X, limbs);
214 TEST_CALLOC(Y, bytes);
294 TEST_CALLOC(X, limbs);
359 TEST_CALLOC(tmp, limbs);
414 TEST_CALLOC(X, limbs);
420 TEST_CALLOC(T, limbs_T);
492 TEST_CALLOC(Y, N_limbs);
574 TEST_CALLOC(X, limbs);
722 TEST_CALLOC(R, limbs);
786 TEST_CALLOC(R, limbs);
[all …]
A Dtest_suite_bignum_mod.function126 TEST_CALLOC(X, limbs);
209 TEST_CALLOC(X, limbs);
262 TEST_CALLOC(X_raw, limbs + 1);
289 TEST_CALLOC(X_raw, limbs);
361 TEST_CALLOC(X_raw, limbs);
411 TEST_CALLOC(X_raw, limbs);
465 TEST_CALLOC(X_raw, limbs + 1);
493 TEST_CALLOC(X_raw, limbs);
585 TEST_CALLOC(R, r_limbs);
661 TEST_CALLOC(R, n_bytes);
[all …]
A Dtest_suite_bignum_random.function127 TEST_CALLOC(lower_bound, limbs);
129 TEST_CALLOC(result, limbs);
162 TEST_CALLOC(R_core, limbs);
212 TEST_CALLOC(R_core, N.limbs);
213 TEST_CALLOC(R_mod_raw, N.limbs);
214 TEST_CALLOC(R_mod_digits, N.limbs);
290 TEST_CALLOC(result, limbs);
305 TEST_CALLOC(stats, stats_len);
343 TEST_CALLOC(bound_bytes.x, bound_bytes.len);
419 TEST_CALLOC(result_digits, result_limbs);
A Dtest_suite_lms.function127 TEST_CALLOC(tmp_sig, size);
159 TEST_CALLOC(exported_pub_key, exported_pub_key_buf_size);
174 TEST_CALLOC(exported_pub_key, exported_pub_key_buf_size);
183 TEST_CALLOC(exported_pub_key, exported_pub_key_buf_size);
A Dtest_suite_bignum_core.function496 TEST_CALLOC(X, limbs);
499 TEST_CALLOC(Y, limbs);
604 TEST_CALLOC(X, limbs);
650 TEST_CALLOC(a, bytes);
651 TEST_CALLOC(b, bytes);
652 TEST_CALLOC(x, bytes);
653 TEST_CALLOC(r, bytes);
763 TEST_CALLOC(a, bytes);
764 TEST_CALLOC(x, bytes);
1081 TEST_CALLOC(X, X_limbs);
[all …]
A Dtest_suite_pkcs12.function47 TEST_CALLOC(output_data, key_size);
87 TEST_CALLOC(my_out, outsize);
142 TEST_CALLOC(my_out, outsize);
A Dtest_suite_lmots.function125 TEST_CALLOC(tmp_sig, size);
157 TEST_CALLOC(exported_pub_key, exported_pub_key_buf_size);
172 TEST_CALLOC(exported_pub_key, exported_pub_key_buf_size);
181 TEST_CALLOC(exported_pub_key, exported_pub_key_buf_size);
A Dtest_suite_gcm.function36 TEST_CALLOC(output, n1);
44 TEST_CALLOC(output, n2);
52 TEST_CALLOC(output, tag->len);
90 TEST_CALLOC(output, input->len);
98 TEST_CALLOC(output, tag->len);
127 TEST_CALLOC(output_tag, tag->len);
147 TEST_CALLOC(output, tag->len);
485 TEST_CALLOC(output, output_len);
A Dtest_suite_psa_crypto_driver_wrappers.function52 TEST_CALLOC(buffer0, buffer_length);
53 TEST_CALLOC(buffer1, buffer_length);
541 TEST_CALLOC(signature, signature_size);
1460 TEST_CALLOC(output, input->len + 16);
2537 TEST_CALLOC(output, output_size);
2541 TEST_CALLOC(output, output_size);
2649 TEST_CALLOC(output, output_size);
2722 TEST_CALLOC(output, output_size);
2725 TEST_CALLOC(output, output_size);
3014 TEST_CALLOC(input_buffer,
[all …]
A Dtest_suite_ssl_decrypt.function55 TEST_CALLOC(rec_good.buf, rec_good.buf_len);
65 TEST_CALLOC(buf, rec.buf_len);
83 TEST_CALLOC(buf, n);
194 TEST_CALLOC(buf, buflen);
195 TEST_CALLOC(buf_save, buflen);
A Dtest_suite_psa_crypto.function1741 TEST_CALLOC(buffer, buffer_size);
2977 TEST_CALLOC(output, output_size);
3020 TEST_CALLOC(output, output_size);
5497 TEST_CALLOC(output, output_size);
5600 TEST_CALLOC(output, output_size);
5623 TEST_CALLOC(nonce_buffer, 4);
5717 TEST_CALLOC(output, output_size);
8497 TEST_CALLOC(output, output_size);
8579 TEST_CALLOC(output, output_size);
10010 TEST_CALLOC(output, bytes);
[all …]
A Dtest_suite_psa_crypto_entropy.function117 TEST_CALLOC(input, input_size);
118 TEST_CALLOC(signature, signature_size);
166 TEST_CALLOC(seed, seed_size);
A Dtest_suite_constant_time_hmac.function62 TEST_CALLOC(out, out_len);
89 TEST_CALLOC(data, max_in_len);
A Dtest_suite_psa_crypto_persistent_key.function62 TEST_CALLOC(file_data, file_data_length);
128 TEST_CALLOC(data, data_length);
268 TEST_CALLOC(exported, export_size);
A Dtest_suite_psa_its.function95 TEST_CALLOC(buffer, data->len);
125 TEST_CALLOC(buffer, MAX(data1->len, data2->len));
217 TEST_CALLOC(buffer, length + 16);
/lib/mbedtls/external/mbedtls/tests/include/test/
A Dmacros.h124 #define TEST_CALLOC(pointer, item_count) \ macro
167 #define ASSERT_ALLOC(pointer, item_count) TEST_CALLOC(pointer, item_count)

Completed in 51 milliseconds

12