Lines Matching refs:mbedtls_printf
33 #define mbedtls_printf printf macro
42 mbedtls_printf("MBEDTLS_BIGNUM_C and/or MBEDTLS_ENTROPY_C and/or " in main()
88 mbedtls_printf( USAGE ); in main()
111 mbedtls_printf( " failed\n ! mbedtls_mpi_read_string returned %d\n", ret ); in main()
115 mbedtls_printf( " ! Generating large primes may take minutes!\n" ); in main()
117 mbedtls_printf( "\n . Seeding the random number generator..." ); in main()
124 mbedtls_printf( " failed\n ! mbedtls_ctr_drbg_seed returned %d\n", ret ); in main()
128 mbedtls_printf( " ok\n . Generating the modulus, please wait..." ); in main()
137 mbedtls_printf( " failed\n ! mbedtls_mpi_gen_prime returned %d\n\n", ret ); in main()
141 mbedtls_printf( " ok\n . Verifying that Q = (P-1)/2 is prime..." ); in main()
146 mbedtls_printf( " failed\n ! mbedtls_mpi_sub_int returned %d\n\n", ret ); in main()
152 mbedtls_printf( " failed\n ! mbedtls_mpi_div_int returned %d\n\n", ret ); in main()
158 mbedtls_printf( " failed\n ! mbedtls_mpi_is_prime returned %d\n\n", ret ); in main()
162 mbedtls_printf( " ok\n . Exporting the value in dh_prime.txt..." ); in main()
168 mbedtls_printf( " failed\n ! Could not create dh_prime.txt\n\n" ); in main()
175 mbedtls_printf( " failed\n ! mbedtls_mpi_write_file returned %d\n\n", ret ); in main()
180 mbedtls_printf( " ok\n\n" ); in main()
190 mbedtls_printf( " Press Enter to exit this program.\n" ); in main()