Lines Matching refs:mbedtls_printf

32 #define mbedtls_printf     printf  macro
40 mbedtls_printf( "MBEDTLS_ECDH_C and/or " in main()
70 mbedtls_printf( " . Seeding the random number generator..." ); in main()
78 mbedtls_printf( " failed\n ! mbedtls_ctr_drbg_seed returned %d\n", ret ); in main()
82 mbedtls_printf( " ok\n" ); in main()
87 mbedtls_printf( " . Setting up client context..." ); in main()
93 mbedtls_printf( " failed\n ! mbedtls_ecp_group_load returned %d\n", ret ); in main()
101 mbedtls_printf( " failed\n ! mbedtls_ecdh_gen_public returned %d\n", ret ); in main()
108 mbedtls_printf( " failed\n ! mbedtls_mpi_write_binary returned %d\n", ret ); in main()
112 mbedtls_printf( " ok\n" ); in main()
117 mbedtls_printf( " . Setting up server context..." ); in main()
123 mbedtls_printf( " failed\n ! mbedtls_ecp_group_load returned %d\n", ret ); in main()
131 mbedtls_printf( " failed\n ! mbedtls_ecdh_gen_public returned %d\n", ret ); in main()
138 mbedtls_printf( " failed\n ! mbedtls_mpi_write_binary returned %d\n", ret ); in main()
142 mbedtls_printf( " ok\n" ); in main()
147 mbedtls_printf( " . Server reading client key and computing secret..." ); in main()
153 mbedtls_printf( " failed\n ! mbedtls_mpi_lset returned %d\n", ret ); in main()
160 mbedtls_printf( " failed\n ! mbedtls_mpi_read_binary returned %d\n", ret ); in main()
169 mbedtls_printf( " failed\n ! mbedtls_ecdh_compute_shared returned %d\n", ret ); in main()
173 mbedtls_printf( " ok\n" ); in main()
178 mbedtls_printf( " . Client reading server key and computing secret..." ); in main()
184 mbedtls_printf( " failed\n ! mbedtls_mpi_lset returned %d\n", ret ); in main()
191 mbedtls_printf( " failed\n ! mbedtls_mpi_read_binary returned %d\n", ret ); in main()
200 mbedtls_printf( " failed\n ! mbedtls_ecdh_compute_shared returned %d\n", ret ); in main()
204 mbedtls_printf( " ok\n" ); in main()
209 mbedtls_printf( " . Checking if both computed secrets are equal..." ); in main()
215 mbedtls_printf( " failed\n ! mbedtls_ecdh_compute_shared returned %d\n", ret ); in main()
219 mbedtls_printf( " ok\n" ); in main()
225 mbedtls_printf( " + Press Enter to exit this program.\n" ); in main()