Lines Matching refs:output

20     unsigned char output[16];
41 plaintext, output) == 0);
42 TEST_MEMORY_COMPARE(ciphertext, 16, output, 16);
47 ciphertext, output) == 0);
48 TEST_MEMORY_COMPARE(plaintext, 16, output, 16);
72 unsigned char output[100];
75 memset(output, 0x00, 100);
81 TEST_ASSERT(mbedtls_aes_crypt_ecb(&ctx, MBEDTLS_AES_ENCRYPT, src_str->x, output) == 0);
83 TEST_ASSERT(mbedtls_test_hexcmp(output, dst->x, 16, dst->len) == 0);
94 unsigned char *output = NULL;
103 TEST_CALLOC(output, pt->len);
113 memset(output, 0, pt->len);
120 stream_block, pt->x, output), 0);
121 TEST_ASSERT(!!memcmp(output, ct->x, len) == expected);
125 stream_block, ct->x, output), 0);
126 TEST_ASSERT(!!memcmp(output, pt->x, len) == expected);
132 mbedtls_free(output);
213 unsigned char output[100];
216 memset(output, 0x00, 100);
222 TEST_ASSERT(mbedtls_aes_crypt_ecb(&ctx, MBEDTLS_AES_DECRYPT, src_str->x, output) == 0);
224 TEST_ASSERT(mbedtls_test_hexcmp(output, dst->x, 16, dst->len) == 0);
237 unsigned char output[100];
240 memset(output, 0x00, 100);
246 src_str->x, output) == cbc_result);
249 TEST_ASSERT(mbedtls_test_hexcmp(output, dst->x,
263 unsigned char output[100];
266 memset(output, 0x00, 100);
271 src_str->x, output) == cbc_result);
274 TEST_ASSERT(mbedtls_test_hexcmp(output, dst->x,
292 unsigned char *output = NULL;
309 output = mbedtls_test_zero_alloc(dst_len);
313 data_unit, src, output) == 0);
315 TEST_ASSERT(memcmp(output, dst, dst_len) == 0);
323 mbedtls_free(output);
336 unsigned char *output = NULL;
353 output = mbedtls_test_zero_alloc(dst_len);
357 data_unit, src, output) == 0);
359 TEST_ASSERT(memcmp(output, dst, dst_len) == 0);
367 mbedtls_free(output);
376 unsigned char output[16];
384 output) == retval);
411 unsigned char output[100];
415 memset(output, 0x00, 100);
421 src_str->x, output) == 0);
423 TEST_ASSERT(mbedtls_test_hexcmp(output, dst->x, 16, dst->len) == 0);
434 unsigned char output[100];
438 memset(output, 0x00, 100);
444 src_str->x, output) == 0);
446 TEST_ASSERT(mbedtls_test_hexcmp(output, dst->x, 16, dst->len) == 0);
457 unsigned char output[100];
460 memset(output, 0x00, 100);
466 src_str->x, output) == 0);
468 TEST_ASSERT(mbedtls_test_hexcmp(output, dst->x,
480 unsigned char output[100];
483 memset(output, 0x00, 100);
489 src_str->x, output) == 0);
491 TEST_ASSERT(mbedtls_test_hexcmp(output, dst->x,
504 unsigned char output[32];
510 memset(output, 0x00, sizeof(output));
513 TEST_ASSERT((size_t) fragment_size < sizeof(output));
522 iv_str->x, src_str_next, output) == 0);
524 TEST_ASSERT(memcmp(output, expected_output->x, fragment_size) == 0);