Searched refs:return_val (Results 1 – 2 of 2) sorted by relevance
/net-tools-3.5.0/mbedtls-2.4.0/programs/pkey/ |
D | rsa_decrypt.c | 64 int return_val, exit_val, c; in main() local 94 return_val = mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, in main() 97 if( return_val != 0 ) in main() 101 return_val ); in main() 116 if( ( return_val = mbedtls_mpi_read_file( &rsa.N , 16, f ) ) != 0 || in main() 117 ( return_val = mbedtls_mpi_read_file( &rsa.E , 16, f ) ) != 0 || in main() 118 ( return_val = mbedtls_mpi_read_file( &rsa.D , 16, f ) ) != 0 || in main() 119 ( return_val = mbedtls_mpi_read_file( &rsa.P , 16, f ) ) != 0 || in main() 120 ( return_val = mbedtls_mpi_read_file( &rsa.Q , 16, f ) ) != 0 || in main() 121 ( return_val = mbedtls_mpi_read_file( &rsa.DP, 16, f ) ) != 0 || in main() [all …]
|
D | rsa_encrypt.c | 64 int return_val, exit_val; in main() local 93 return_val = mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, in main() 96 if( return_val != 0 ) in main() 100 return_val ); in main() 115 if( ( return_val = mbedtls_mpi_read_file( &rsa.N, 16, f ) ) != 0 || in main() 116 ( return_val = mbedtls_mpi_read_file( &rsa.E, 16, f ) ) != 0 ) in main() 120 return_val ); in main() 144 return_val = mbedtls_rsa_pkcs1_encrypt( &rsa, mbedtls_ctr_drbg_random, in main() 147 if( return_val != 0 ) in main() 151 return_val ); in main()
|