Lines Matching refs:mbedtls_printf
33 #define mbedtls_printf printf macro
53 mbedtls_printf("MBEDTLS_BIGNUM_C and/or MBEDTLS_PK_PARSE_C and/or " in main()
76 mbedtls_printf( "usage: mbedtls_pk_encrypt <key_file> <string of max 100 characters>\n" ); in main()
79 mbedtls_printf( "\n" ); in main()
85 mbedtls_printf( "\n . Seeding the random number generator..." ); in main()
93 mbedtls_printf( " failed\n ! mbedtls_ctr_drbg_seed returned -0x%04x\n", -ret ); in main()
97 mbedtls_printf( "\n . Reading public key from '%s'", argv[1] ); in main()
104 mbedtls_printf( " failed\n ! mbedtls_pk_parse_public_keyfile returned -0x%04x\n", -ret ); in main()
110 mbedtls_printf( " Input data larger than 100 characters.\n\n" ); in main()
119 mbedtls_printf( "\n . Generating the encrypted value" ); in main()
126 mbedtls_printf( " failed\n ! mbedtls_pk_encrypt returned -0x%04x\n", -ret ); in main()
136 mbedtls_printf( " failed\n ! Could not create %s\n\n", "result-enc.txt" ); in main()
146 mbedtls_printf( "\n . Done (created \"%s\")\n\n", "result-enc.txt" ); 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()