Lines Matching refs:f
63 FILE *f; in main() local
108 if( ( f = fopen( "rsa_priv.txt", "rb" ) ) == NULL ) 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()
122 ( return_val = mbedtls_mpi_read_file( &rsa.DQ, 16, f ) ) != 0 || in main()
123 ( return_val = mbedtls_mpi_read_file( &rsa.QP, 16, f ) ) != 0 ) in main()
128 fclose( f ); in main()
134 fclose( f ); in main()
139 if( ( f = fopen( "result-enc.txt", "rb" ) ) == NULL ) in main()
148 while( fscanf( f, "%02X", &c ) > 0 && in main()
152 fclose( f ); in main()