Lines Matching refs:mbedtls_printf
34 #define mbedtls_printf printf macro
55 mbedtls_printf("MBEDTLS_BIGNUM_C and/or MBEDTLS_RSA_C and/or " in main()
77 mbedtls_printf( "usage: rsa_encrypt <string of max 100 characters>\n" ); in main()
80 mbedtls_printf( "\n" ); in main()
86 mbedtls_printf( "\n . Seeding the random number generator..." ); in main()
99 mbedtls_printf( " failed\n ! mbedtls_ctr_drbg_seed returned %d\n", in main()
104 mbedtls_printf( "\n . Reading public key from rsa_pub.txt" ); in main()
110 mbedtls_printf( " failed\n ! Could not open rsa_pub.txt\n" \ in main()
119 mbedtls_printf( " failed\n ! mbedtls_mpi_read_file returned %d\n\n", in main()
132 mbedtls_printf( " Input data larger than 100 characters.\n\n" ); in main()
141 mbedtls_printf( "\n . Generating the RSA encrypted value" ); in main()
150 mbedtls_printf( " failed\n ! mbedtls_rsa_pkcs1_encrypt returned %d\n\n", in main()
161 mbedtls_printf( " failed\n ! Could not create %s\n\n", "result-enc.txt" ); in main()
171 mbedtls_printf( "\n . Done (created \"%s\")\n\n", "result-enc.txt" ); in main()
179 mbedtls_printf( " + Press Enter to exit this program.\n" ); in main()