Lines Matching refs:output
26 unsigned char output[1000];
38 memset( output, 0x00, 1000 );
64 …tx, &rnd_pseudo_rand, &rnd_info, MBEDTLS_RSA_PRIVATE, digest, 0, hash_result, output ) == result );
67 hexify( output_str, output, ctx.len );
123 unsigned char output[1000];
135 memset( output, 0x00, 1000 );
159 …eudo_rand, &rnd_info, MBEDTLS_RSA_PRIVATE, MBEDTLS_MD_NONE, hash_len, hash_result, output ) == 0 );
161 hexify( output_str, output, ctx.len );
168 memset( output, 0x00, 1000 );
173 hash_len, hash_result, output ) == 0 );
175 hexify( output_str, output, ctx.len );
195 unsigned char output[1000];
203 memset( output, 0x00, sizeof( output ) );
224 &olen, result_str, output, sizeof( output ) ) == 0 );
226 ok = olen == hash_len && memcmp( output, hash_result, olen ) == 0;
244 unsigned char output[1000];
254 memset( output, 0x00, 1000 );
265 … &ctx, &rnd_pseudo_rand, &rnd_info, MBEDTLS_RSA_PUBLIC, msg_len, message_str, output ) == result );
268 hexify( output_str, output, ctx.len );
285 unsigned char output[1000];
292 memset( output, 0x00, 1000 );
303 …ncrypt( &ctx, &rnd_zero_rand, NULL, MBEDTLS_RSA_PUBLIC, msg_len, message_str, output ) == result );
306 hexify( output_str, output, ctx.len );
323 unsigned char output[1000];
334 memset( output, 0x00, 1000 );
358 …d_pseudo_rand, &rnd_info, MBEDTLS_RSA_PRIVATE, &output_len, message_str, output, max_output ) == r…
361 hexify( output_str, output, ctx.len );
377 unsigned char output[1000];
384 memset( output, 0x00, 1000 );
395 TEST_ASSERT( mbedtls_rsa_public( &ctx, message_str, output ) == result );
398 hexify( output_str, output, ctx.len );
410 memset( output, 0x00, 1000 );
412 TEST_ASSERT( mbedtls_rsa_public( &ctx2, message_str, output ) == result );
415 hexify( output_str, output, ctx2.len );
432 unsigned char output[1000];
468 memset( output, 0x00, 1000 );
471 message_str, output ) == result );
474 hexify( output_str, output, ctx.len );
488 memset( output, 0x00, 1000 );
491 message_str, output ) == result );
494 hexify( output_str, output, ctx2.len );