Lines Matching refs:output

134     unsigned char output[100];
139 memset( output, 0x00, 100 );
146 TEST_ASSERT ( 0 == mbedtls_md( md_info, src_str, strlen( (char *) src_str ), output ) );
148 TEST_ASSERT( mbedtls_test_hexcmp( output, hash->x,
158 unsigned char output[100];
162 memset( output, 0x00, 100 );
168 TEST_ASSERT ( 0 == mbedtls_md( md_info, src_str->x, src_str->len, output ) );
171 TEST_ASSERT( mbedtls_test_hexcmp( output, hash->x,
183 unsigned char output[100];
194 memset( output, 0x00, 100 );
212 TEST_ASSERT ( 0 == mbedtls_md_finish( &ctx, output ) );
213 TEST_ASSERT( mbedtls_test_hexcmp( output, hash->x,
218 memset( output, 0x00, 100 );
221 TEST_ASSERT ( 0 == mbedtls_md_finish( &ctx_copy, output ) );
222 TEST_ASSERT( mbedtls_test_hexcmp( output, hash->x,
236 unsigned char output[100];
245 memset( output, 0x00, 100 );
261 TEST_ASSERT ( 0 == mbedtls_md_finish( &ctx, output ) );
262 TEST_ASSERT( mbedtls_test_hexcmp( output, hash->x,
267 memset( output, 0x00, 100 );
270 TEST_ASSERT ( 0 == mbedtls_md_finish( &ctx_copy, output ) );
271 TEST_ASSERT( mbedtls_test_hexcmp( output, hash->x,
287 unsigned char output[100];
291 memset( output, 0x00, 100 );
298 …RT ( mbedtls_md_hmac( md_info, key_str->x, key_str->len, src_str->x, src_str->len, output ) == 0 );
300 TEST_ASSERT( mbedtls_test_hexcmp( output, hash->x,
310 unsigned char output[100];
318 memset( output, 0x00, 100 );
331 TEST_ASSERT ( 0 == mbedtls_md_hmac_finish( &ctx, output ) );
333 TEST_ASSERT( mbedtls_test_hexcmp( output, hash->x,
337 memset( output, 0x00, 100 );
342 TEST_ASSERT ( 0 == mbedtls_md_hmac_finish( &ctx, output ) );
344 TEST_ASSERT( mbedtls_test_hexcmp( output, hash->x,
357 unsigned char output[100];
361 memset( output, 0x00, 100 );
367 TEST_ASSERT( mbedtls_md_file( md_info, filename, output ) == 0 );
369 TEST_ASSERT( mbedtls_test_hexcmp( output, hash->x,