Lines Matching refs:result
22 char *input_E, char *result_hex_str, int result )
64 …tx, &rnd_pseudo_rand, &rnd_info, MBEDTLS_RSA_PRIVATE, digest, 0, hash_result, output ) == result );
65 if( result == 0 )
81 char *input_E, char *result_hex_str, int result )
106 …cs1_verify( &ctx, NULL, NULL, MBEDTLS_RSA_PUBLIC, digest, 0, hash_result, result_str ) == result );
241 char *result_hex_str, int result )
265 … &ctx, &rnd_pseudo_rand, &rnd_info, MBEDTLS_RSA_PUBLIC, msg_len, message_str, output ) == result );
266 if( result == 0 )
282 char *result_hex_str, int result )
303 …ncrypt( &ctx, &rnd_zero_rand, NULL, MBEDTLS_RSA_PUBLIC, msg_len, message_str, output ) == result );
304 if( result == 0 )
320 int max_output, char *result_hex_str, int result )
358 …o_rand, &rnd_info, MBEDTLS_RSA_PRIVATE, &output_len, message_str, output, max_output ) == result );
359 if( result == 0 )
374 int radix_E, char *input_E, char *result_hex_str, int result )
395 TEST_ASSERT( mbedtls_rsa_public( &ctx, message_str, output ) == result );
396 if( result == 0 )
412 TEST_ASSERT( mbedtls_rsa_public( &ctx2, message_str, output ) == result );
413 if( result == 0 )
429 int radix_E, char *input_E, char *result_hex_str, int result )
471 message_str, output ) == result );
472 if( result == 0 )
491 message_str, output ) == result );
492 if( result == 0 )
518 int result )
533 TEST_ASSERT( mbedtls_rsa_check_pubkey( &ctx ) == result );
546 int result )
586 TEST_ASSERT( mbedtls_rsa_check_privkey( &ctx ) == result );
601 int result )
653 TEST_ASSERT( mbedtls_rsa_check_pub_priv( &pub, &prv ) == result );
662 void mbedtls_rsa_gen_key( int nrbits, int exponent, int result)
677 …ERT( mbedtls_rsa_gen_key( &ctx, mbedtls_ctr_drbg_random, &ctr_drbg, nrbits, exponent ) == result );
678 if( result == 0 )