Lines Matching refs:mbedtls_printf
33 #define mbedtls_printf printf macro
42 mbedtls_printf("MBEDTLS_MD_C and/or MBEDTLS_ENTROPY_C and/or " in main()
79 mbedtls_printf( "usage: rsa_sign_pss <key_file> <filename>\n" ); in main()
82 mbedtls_printf( "\n" ); in main()
88 mbedtls_printf( "\n . Seeding the random number generator..." ); in main()
95 mbedtls_printf( " failed\n ! mbedtls_ctr_drbg_seed returned %d\n", ret ); in main()
99 mbedtls_printf( "\n . Reading private key from '%s'", argv[1] ); in main()
105 mbedtls_printf( " failed\n ! Could not read key from '%s'\n", argv[1] ); in main()
106 mbedtls_printf( " ! mbedtls_pk_parse_public_keyfile returned %d\n\n", ret ); in main()
113 mbedtls_printf( " failed\n ! Key is not an RSA key\n" ); in main()
123 mbedtls_printf( "\n . Generating the RSA/SHA-256 signature" ); in main()
130 mbedtls_printf( " failed\n ! Could not open or read %s\n\n", argv[2] ); in main()
137 mbedtls_printf( " failed\n ! mbedtls_pk_sign returned %d\n\n", ret ); in main()
149 mbedtls_printf( " failed\n ! Could not create %s\n\n", filename ); in main()
155 mbedtls_printf( "failed\n ! fwrite failed\n\n" ); in main()
162 mbedtls_printf( "\n . Done (created \"%s\")\n\n", filename ); in main()
170 mbedtls_printf( " + Press Enter to exit this program.\n" ); in main()