Lines Matching refs:mbedtls_printf
33 #define mbedtls_printf printf macro
41 mbedtls_printf("MBEDTLS_BIGNUM_C and/or MBEDTLS_MD_C and/or " in main()
69 mbedtls_printf( "usage: mbedtls_pk_verify <key_file> <filename>\n" ); in main()
72 mbedtls_printf( "\n" ); in main()
78 mbedtls_printf( "\n . Reading public key from '%s'", argv[1] ); in main()
83 mbedtls_printf( " failed\n ! mbedtls_pk_parse_public_keyfile returned -0x%04x\n", -ret ); in main()
95 mbedtls_printf( "\n ! Could not open %s\n\n", filename ); in main()
108 mbedtls_printf( "\n . Verifying the SHA-256 signature" ); in main()
115 mbedtls_printf( " failed\n ! Could not open or read %s\n\n", argv[2] ); in main()
122 mbedtls_printf( " failed\n ! mbedtls_pk_verify returned -0x%04x\n", -ret ); in main()
126 mbedtls_printf( "\n . OK (the signature is valid)\n\n" ); in main()
137 mbedtls_printf( " ! Last error was: %s\n", buf ); in main()
142 mbedtls_printf( " + Press Enter to exit this program.\n" ); in main()