Lines Matching refs:mbedtls_printf

32 #define mbedtls_printf     printf  macro
63 mbedtls_printf("MBEDTLS_AES_C and/or MBEDTLS_DHM_C and/or MBEDTLS_ENTROPY_C " in main()
98 mbedtls_printf( "\n . Seeding the random number generator" ); in main()
106 mbedtls_printf( " failed\n ! mbedtls_ctr_drbg_seed returned %d\n", ret ); in main()
113 mbedtls_printf( "\n . Reading public key from rsa_pub.txt" ); in main()
119 mbedtls_printf( " failed\n ! Could not open rsa_pub.txt\n" \ in main()
129 mbedtls_printf( " failed\n ! mbedtls_mpi_read_file returned %d\n\n", ret ); in main()
141 mbedtls_printf( "\n . Connecting to tcp/%s/%s", SERVER_NAME, in main()
148 mbedtls_printf( " failed\n ! mbedtls_net_connect returned %d\n\n", ret ); in main()
155 mbedtls_printf( "\n . Receiving the server's DH parameters" ); in main()
162 mbedtls_printf( " failed\n ! mbedtls_net_recv returned %d\n\n", ret ); in main()
169 mbedtls_printf( " failed\n ! Got an invalid buffer length\n\n" ); in main()
180 mbedtls_printf( " failed\n ! mbedtls_net_recv returned %d\n\n", ret ); in main()
188 mbedtls_printf( " failed\n ! mbedtls_dhm_read_params returned %d\n\n", ret ); in main()
195 mbedtls_printf( " failed\n ! Invalid DHM modulus size\n\n" ); in main()
203 mbedtls_printf( "\n . Verifying the server's RSA signature" ); in main()
211 mbedtls_printf( " failed\n ! Invalid RSA signature size\n\n" ); in main()
220 mbedtls_printf( " failed\n ! mbedtls_rsa_pkcs1_verify returned %d\n\n", ret ); in main()
227 mbedtls_printf( "\n . Sending own public value to server" ); in main()
234 mbedtls_printf( " failed\n ! mbedtls_dhm_make_public returned %d\n\n", ret ); in main()
240 mbedtls_printf( " failed\n ! mbedtls_net_send returned %d\n\n", ret ); in main()
247 mbedtls_printf( "\n . Shared secret: " ); in main()
253 mbedtls_printf( " failed\n ! mbedtls_dhm_calc_secret returned %d\n\n", ret ); in main()
258 mbedtls_printf( "%02x", buf[n] ); in main()
268 mbedtls_printf( "...\n . Receiving and decrypting the ciphertext" ); in main()
277 mbedtls_printf( " failed\n ! mbedtls_net_recv returned %d\n\n", ret ); in main()
283 mbedtls_printf( "\n . Plaintext is \"%s\"\n\n", (char *) buf ); in main()
296 mbedtls_printf( " + Press Enter to exit this program.\n" ); in main()