Lines Matching refs:mbedtls_printf
33 #define mbedtls_printf printf macro
42 mbedtls_printf("MBEDTLS_BIGNUM_C and/or MBEDTLS_ENTROPY_C and/or " in main()
78 mbedtls_printf( "usage: mbedtls_pk_sign <key_file> <filename>\n" ); in main()
81 mbedtls_printf( "\n" ); in main()
87 mbedtls_printf( "\n . Seeding the random number generator..." ); in main()
94 mbedtls_printf( " failed\n ! mbedtls_ctr_drbg_seed returned -0x%04x\n", -ret ); in main()
98 mbedtls_printf( "\n . Reading private key from '%s'", argv[1] ); in main()
104 mbedtls_printf( " failed\n ! Could not open '%s'\n", argv[1] ); in main()
112 mbedtls_printf( "\n . Generating the SHA-256 signature" ); in main()
119 mbedtls_printf( " failed\n ! Could not open or read %s\n\n", argv[2] ); in main()
126 mbedtls_printf( " failed\n ! mbedtls_pk_sign returned -0x%04x\n", -ret ); in main()
138 mbedtls_printf( " failed\n ! Could not create %s\n\n", filename ); in main()
144 mbedtls_printf( "failed\n ! fwrite failed\n\n" ); in main()
151 mbedtls_printf( "\n . Done (created \"%s\")\n\n", filename ); in main()
162 mbedtls_printf( " ! Last error was: %s\n", buf ); in main()
167 mbedtls_printf( " + Press Enter to exit this program.\n" ); in main()