Lines Matching refs:f
72 FILE *f; in main() local
117 if( ( f = fopen( "rsa_priv.txt", "rb" ) ) == NULL ) in main()
127 if( ( ret = mbedtls_mpi_read_file( &rsa.N , 16, f ) ) != 0 || in main()
128 ( ret = mbedtls_mpi_read_file( &rsa.E , 16, f ) ) != 0 || in main()
129 ( ret = mbedtls_mpi_read_file( &rsa.D , 16, f ) ) != 0 || in main()
130 ( ret = mbedtls_mpi_read_file( &rsa.P , 16, f ) ) != 0 || in main()
131 ( ret = mbedtls_mpi_read_file( &rsa.Q , 16, f ) ) != 0 || in main()
132 ( ret = mbedtls_mpi_read_file( &rsa.DP, 16, f ) ) != 0 || in main()
133 ( ret = mbedtls_mpi_read_file( &rsa.DQ, 16, f ) ) != 0 || in main()
134 ( ret = mbedtls_mpi_read_file( &rsa.QP, 16, f ) ) != 0 ) in main()
137 fclose( f ); in main()
143 fclose( f ); in main()
151 if( ( f = fopen( "dh_prime.txt", "rb" ) ) == NULL ) in main()
159 if( mbedtls_mpi_read_file( &dhm.P, 16, f ) != 0 || in main()
160 mbedtls_mpi_read_file( &dhm.G, 16, f ) != 0 ) in main()
163 fclose( f ); in main()
167 fclose( f ); in main()