Lines Matching refs:output

14     unsigned char output[100];
17 memset(output, 0x00, 100);
24 TEST_ASSERT( mbedtls_aes_crypt_ecb( &ctx, MBEDTLS_AES_ENCRYPT, src_str->x, output ) == 0 );
26 TEST_ASSERT( mbedtls_test_hexcmp( output, dst->x, 16, dst->len ) == 0 );
38 unsigned char output[100];
41 memset(output, 0x00, 100);
48 TEST_ASSERT( mbedtls_aes_crypt_ecb( &ctx, MBEDTLS_AES_DECRYPT, src_str->x, output ) == 0 );
50 TEST_ASSERT( mbedtls_test_hexcmp( output, dst->x, 16, dst->len ) == 0 );
63 unsigned char output[100];
66 memset(output, 0x00, 100);
71 …rypt_cbc( &ctx, MBEDTLS_AES_ENCRYPT, src_str->len, iv_str->x, src_str->x, output ) == cbc_result );
75 TEST_ASSERT( mbedtls_test_hexcmp( output, dst->x,
89 unsigned char output[100];
92 memset(output, 0x00, 100);
96 …rypt_cbc( &ctx, MBEDTLS_AES_DECRYPT, src_str->len, iv_str->x, src_str->x, output ) == cbc_result );
100 TEST_ASSERT( mbedtls_test_hexcmp( output, dst->x,
118 unsigned char *output = NULL;
135 output = mbedtls_test_zero_alloc( dst_len );
139 data_unit, src, output ) == 0 );
141 TEST_ASSERT( memcmp( output, dst, dst_len ) == 0 );
149 mbedtls_free( output );
162 unsigned char *output = NULL;
179 output = mbedtls_test_zero_alloc( dst_len );
183 data_unit, src, output ) == 0 );
185 TEST_ASSERT( memcmp( output, dst, dst_len ) == 0 );
193 mbedtls_free( output );
202 unsigned char output[16];
209 …TEST_ASSERT( mbedtls_aes_crypt_xts( &ctx, MBEDTLS_AES_ENCRYPT, length, data_unit, src, output ) ==…
236 unsigned char output[100];
240 memset(output, 0x00, 100);
245 …es_crypt_cfb128( &ctx, MBEDTLS_AES_ENCRYPT, 16, &iv_offset, iv_str->x, src_str->x, output ) == 0 );
247 TEST_ASSERT( mbedtls_test_hexcmp( output, dst->x, 16, dst->len ) == 0 );
258 unsigned char output[100];
262 memset(output, 0x00, 100);
267 …es_crypt_cfb128( &ctx, MBEDTLS_AES_DECRYPT, 16, &iv_offset, iv_str->x, src_str->x, output ) == 0 );
269 TEST_ASSERT( mbedtls_test_hexcmp( output, dst->x, 16, dst->len ) == 0 );
280 unsigned char output[100];
283 memset(output, 0x00, 100);
288 …ls_aes_crypt_cfb8( &ctx, MBEDTLS_AES_ENCRYPT, src_str->len, iv_str->x, src_str->x, output ) == 0 );
290 TEST_ASSERT( mbedtls_test_hexcmp( output, dst->x,
302 unsigned char output[100];
305 memset(output, 0x00, 100);
310 …ls_aes_crypt_cfb8( &ctx, MBEDTLS_AES_DECRYPT, src_str->len, iv_str->x, src_str->x, output ) == 0 );
312 TEST_ASSERT( mbedtls_test_hexcmp( output, dst->x,
325 unsigned char output[32];
331 memset( output, 0x00, sizeof( output ) );
334 TEST_ASSERT( (size_t)fragment_size < sizeof( output ) );
344 iv_str->x, src_str_next, output ) == 0 );
346 TEST_ASSERT( memcmp( output, expected_output->x, fragment_size ) == 0 );