Lines Matching refs:mbedtls_printf
30 mbedtls_printf("MBEDTLS_MD_C and/or MBEDTLS_ENTROPY_C and/or " in main()
62 mbedtls_printf( "usage: rsa_verify_pss <key_file> <filename>\n" ); in main()
65 mbedtls_printf( "\n" ); in main()
71 mbedtls_printf( "\n . Reading public key from '%s'", argv[1] ); in main()
76 mbedtls_printf( " failed\n ! Could not read key from '%s'\n", argv[1] ); in main()
77 mbedtls_printf( " ! mbedtls_pk_parse_public_keyfile returned %d\n\n", ret ); in main()
83 mbedtls_printf( " failed\n ! Key is not an RSA key\n" ); in main()
91 mbedtls_printf( " failed\n ! Invalid padding\n" ); in main()
102 mbedtls_printf( "\n ! Could not open %s\n\n", filename ); in main()
114 mbedtls_printf( "\n . Verifying the RSA/SHA-256 signature" ); in main()
121 mbedtls_printf( " failed\n ! Could not open or read %s\n\n", argv[2] ); in main()
128 mbedtls_printf( " failed\n ! mbedtls_pk_verify returned %d\n\n", ret ); in main()
132 mbedtls_printf( "\n . OK (the signature is valid)\n\n" ); in main()