Lines Matching refs:mbedtls_printf
32 #define mbedtls_printf printf macro
41 mbedtls_printf("MBEDTLS_BIGNUM_C and/or MBEDTLS_RSA_C and/or " in main()
69 mbedtls_printf( "usage: rsa_verify <filename>\n" ); in main()
72 mbedtls_printf( "\n" ); in main()
78 mbedtls_printf( "\n . Reading public key from rsa_pub.txt" ); in main()
83 mbedtls_printf( " failed\n ! Could not open rsa_pub.txt\n" \ in main()
91 mbedtls_printf( " failed\n ! mbedtls_mpi_read_file returned %d\n\n", ret ); in main()
108 mbedtls_printf( "\n ! Could not open %s\n\n", filename ); in main()
121 mbedtls_printf( "\n ! Invalid RSA signature format\n\n" ); in main()
129 mbedtls_printf( "\n . Verifying the RSA/SHA-256 signature" ); in main()
136 mbedtls_printf( " failed\n ! Could not open or read %s\n\n", argv[1] ); in main()
143 mbedtls_printf( " failed\n ! mbedtls_rsa_pkcs1_verify returned -0x%0x\n\n", -ret ); in main()
147 mbedtls_printf( "\n . OK (the signature is valid)\n\n" ); in main()
156 mbedtls_printf( " + Press Enter to exit this program.\n" ); in main()