Home
last modified time | relevance | path

Searched refs:fout (Results 1 – 4 of 4) sorted by relevance

/mbedtls-development/programs/pkey/
A Ddh_genprime.c75 FILE *fout; in main() local
164 if( ( fout = fopen( "dh_prime.txt", "wb+" ) ) == NULL ) in main()
170 if( ( ret = mbedtls_mpi_write_file( "P = ", &P, 16, fout ) != 0 ) || in main()
171 ( ret = mbedtls_mpi_write_file( "G = ", &G, 16, fout ) != 0 ) ) in main()
174 fclose( fout ); in main()
179 fclose( fout ); in main()
/mbedtls-development/programs/aes/
A Dcrypt_and_hash.c87 FILE *fkey, *fin = NULL, *fout = NULL; in main() local
168 if( ( fout = fopen( argv[3], "wb+" ) ) == NULL ) in main()
290 if( fwrite( IV, 1, 16, fout ) != 16 ) in main()
355 if( fwrite( output, 1, olen, fout ) != olen ) in main()
369 if( fwrite( output, 1, olen, fout ) != olen ) in main()
380 … if( fwrite( digest, 1, mbedtls_md_get_size( md_info ), fout ) != mbedtls_md_get_size( md_info ) ) in main()
499 if( fwrite( output, 1, olen, fout ) != olen ) in main()
534 if( fwrite( output, 1, olen, fout ) != olen ) in main()
546 if( fout ) in main()
547 fclose( fout ); in main()
/mbedtls-development/include/mbedtls/
A Dbignum.h483 int radix, FILE *fout );
/mbedtls-development/library/
A Dbignum.c809 int mbedtls_mpi_write_file( const char *p, const mbedtls_mpi *X, int radix, FILE *fout ) in mbedtls_mpi_write_file() argument
834 if( fout != NULL ) in mbedtls_mpi_write_file()
836 if( fwrite( p, 1, plen, fout ) != plen || in mbedtls_mpi_write_file()
837 fwrite( s, 1, slen, fout ) != slen ) in mbedtls_mpi_write_file()

Completed in 10 milliseconds