Lines Matching refs:mbedtls_printf

33 #define mbedtls_printf     printf  macro
51 mbedtls_printf("MBEDTLS_RSA_C and/or MBEDTLS_X509_CRT_PARSE_C " in main()
94 mbedtls_printf( "\n . Loading the CA root certificate ..." ); in main()
104 mbedtls_printf( " failed\n ! mbedtls_x509_crt_parse_file returned %d\n\n", ret ); in main()
108 mbedtls_printf( " ok\n" ); in main()
111 mbedtls_printf("%s\n", buf ); in main()
116 mbedtls_printf( " . Loading the CRL ..." ); in main()
122 mbedtls_printf( " failed\n ! mbedtls_x509_crl_parse_file returned %d\n\n", ret ); in main()
126 mbedtls_printf( " ok\n" ); in main()
129 mbedtls_printf("%s\n", buf ); in main()
146 mbedtls_printf( " . Loading the client certificate %s...", name ); in main()
152 mbedtls_printf( " failed\n ! mbedtls_x509_crt_parse_file returned %d\n\n", ret ); in main()
156 mbedtls_printf( " ok\n" ); in main()
161 mbedtls_printf( " . Verify the client certificate with CA certificate..." ); in main()
172 mbedtls_printf( " failed\n" ); in main()
174 mbedtls_printf( "%s\n", vrfy_buf ); in main()
178 mbedtls_printf( " failed\n ! mbedtls_x509_crt_verify returned %d\n\n", ret ); in main()
183 mbedtls_printf( " ok\n" ); in main()
190 mbedtls_printf( " . Loading the client private key %s...", name ); in main()
196 mbedtls_printf( " failed\n ! mbedtls_pk_parse_keyfile returned %d\n\n", ret ); in main()
200 mbedtls_printf( " ok\n" ); in main()
205 mbedtls_printf( " . Verify the client certificate with private key..." ); in main()
212 mbedtls_printf( " failed\n ! certificate's key is not RSA\n\n" ); in main()
220 mbedtls_printf( " failed\n ! mbedtls_mpi_cmp_mpi for N returned %d\n\n", ret ); in main()
227 mbedtls_printf( " failed\n ! mbedtls_mpi_cmp_mpi for E returned %d\n\n", ret ); in main()
234 mbedtls_printf( " failed\n ! mbedtls_rsa_check_privkey returned %d\n\n", ret ); in main()
238 mbedtls_printf( " ok\n" ); in main()
249 mbedtls_printf( " + Press Enter to exit this program.\n" ); in main()