Lines Matching refs:mbedtls_printf

38 #define mbedtls_printf     printf  macro
49 mbedtls_printf("MBEDTLS_SSL_CLI_C and/or MBEDTLS_SSL_PROTO_DTLS and/or " in main()
409 mbedtls_printf("\n . Seeding the random number generator..."); in main()
417 mbedtls_printf(" failed\n ! mbedtls_ctr_drbg_seed returned %d\n", ret); in main()
421 mbedtls_printf(" ok\n"); in main()
426 mbedtls_printf(" . Loading the CA root certificate ..."); in main()
431 mbedtls_printf(" failed\n ! mbedtls_x509_crt_parse_file returned -0x%x\n\n", -ret); in main()
435 mbedtls_printf(" ok (%d skipped)\n", ret); in main()
440 mbedtls_printf(" . Connecting to udp/%s/%s...", target, target_port); in main()
446 mbedtls_printf(" failed\n ! mbedtls_net_connect returned %d\n\n", ret); in main()
450 mbedtls_printf(" ok\n"); in main()
455 mbedtls_printf(" . Setting up the DTLS structure..."); in main()
462 mbedtls_printf(" failed\n ! mbedtls_ssl_config_defaults returned %d\n\n", ret); in main()
473 mbedtls_printf(" failed\n ! mbedtls_ssl_setup returned %d\n\n", ret); in main()
478 mbedtls_printf(" failed\n ! mbedtls_ssl_set_hostname returned %d\n\n", ret); in main()
489 mbedtls_printf(" ok\n"); in main()
494 mbedtls_printf(" . Performing the SSL/TLS handshake..."); in main()
502 mbedtls_printf(" failed\n ! mbedtls_ssl_handshake returned -0x%x\n\n", -ret); in main()
506 mbedtls_printf(" ok\n"); in main()
511 mbedtls_printf(" . Verifying peer X.509 certificate..."); in main()
519 mbedtls_printf(" failed\n"); in main()
523 mbedtls_printf("%s\n", vrfy_buf); in main()
527 mbedtls_printf(" ok\n"); in main()
533 mbedtls_printf(" > Write to server:"); in main()
545 mbedtls_printf(" Invalid byte count 0 in the data array " in main()
555 mbedtls_printf(" failed\n ! mbedtls_ssl_write returned %d\n\n", ret); in main()
559 mbedtls_printf(" %d bytes written\n", ret); in main()
564 mbedtls_printf(" < Read from server:"); in main()
576 mbedtls_printf(" timeout\n\n"); in main()
582 mbedtls_printf(" connection was closed gracefully\n"); in main()
587 mbedtls_printf(" mbedtls_ssl_read returned -0x%x\n\n", -ret); in main()
592 mbedtls_printf(" %d bytes read\n", ret); in main()
595 mbedtls_printf(" Sent and received byte count mismatch " in main()
601 mbedtls_printf(" Sent and received data mismatch\n"); in main()
621 mbedtls_printf(" . Closing the connection..."); in main()
628 mbedtls_printf(" done\n"); in main()
639 mbedtls_printf("Last error was: %d - %s\n\n", ret, error_buf); in main()
652 mbedtls_printf(" + Press Enter to exit this program.\n"); in main()