Lines Matching refs:f
57 FILE *f; in main() local
82 if( ( f = fopen( "rsa_priv.txt", "rb" ) ) == NULL ) in main()
90 if( ( ret = mbedtls_mpi_read_file( &rsa.N , 16, f ) ) != 0 || in main()
91 ( ret = mbedtls_mpi_read_file( &rsa.E , 16, f ) ) != 0 || in main()
92 ( ret = mbedtls_mpi_read_file( &rsa.D , 16, f ) ) != 0 || in main()
93 ( ret = mbedtls_mpi_read_file( &rsa.P , 16, f ) ) != 0 || in main()
94 ( ret = mbedtls_mpi_read_file( &rsa.Q , 16, f ) ) != 0 || in main()
95 ( ret = mbedtls_mpi_read_file( &rsa.DP, 16, f ) ) != 0 || in main()
96 ( ret = mbedtls_mpi_read_file( &rsa.DQ, 16, f ) ) != 0 || in main()
97 ( ret = mbedtls_mpi_read_file( &rsa.QP, 16, f ) ) != 0 ) in main()
100 fclose( f ); in main()
106 fclose( f ); in main()
143 if( ( f = fopen( filename, "wb+" ) ) == NULL ) in main()
151 mbedtls_fprintf( f, "%02X%s", buf[i], in main()
154 fclose( f ); in main()