Lines Matching refs:mbedtls_printf
32 #define mbedtls_printf printf macro
53 mbedtls_printf("MBEDTLS_BIGNUM_C and/or MBEDTLS_PK_PARSE_C and/or " in main()
78 mbedtls_printf( "usage: mbedtls_pk_decrypt <key_file>\n" ); in main()
81 mbedtls_printf( "\n" ); in main()
87 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()
106 mbedtls_printf( " failed\n ! mbedtls_pk_parse_keyfile returned -0x%04x\n", -ret ); in main()
117 mbedtls_printf( "\n ! Could not open %s\n\n", "result-enc.txt" ); in main()
132 mbedtls_printf( "\n . Decrypting the encrypted data" ); in main()
138 mbedtls_printf( " failed\n ! mbedtls_pk_decrypt returned -0x%04x\n", -ret ); in main()
142 mbedtls_printf( "\n . OK\n\n" ); in main()
144 mbedtls_printf( "The decrypted result is: '%s'\n\n", result ); in main()
156 mbedtls_printf( " ! Last error was: %s\n", buf ); in main()
161 mbedtls_printf( " + Press Enter to exit this program.\n" ); in main()