Lines Matching full:printf
103 printf ("PEM_read_PUBKEY(): %s\n", eay_strerror());
155 printf ("%s", pkcs1);
156 printf ("%s", pubkey);
165 printf("sign failed. %s\n", eay_strerror());
169 printf("RSA signed data.\n");
172 printf("Verification with correct pubkey: ");
174 printf ("Failed.\n");
178 printf ("Verified. Good.\n");
182 printf("Verification with wrong pubkey: ");
184 printf ("Not verified. Good.\n");
186 printf ("Verified. This is bad...\n");
229 printf("\n**Test for Certificate.**\n");
285 printf("check to convert the string into subjectName.\n");
286 printf("%s\n", dnstr);
296 printf("asn1dn length mismatched (%zu != %zu).\n", asn1dn ? asn1dn->l : -1, asn1dn0.l);
298 printf ("0x%02x,", *cp++);
314 printf("exact match: succeed.\n");
323 printf("wildcard 1 match: succeed.\n");
333 printf("wildcard 2 match: succeed.\n");
345 printf("\nCAUTION: These certificates are probably invalid "
352 printf("\nWARNING: The main certificates are probably invalid "
366 printf("===CERT===\n");
373 printf("%s", str);
381 printf("\n");
390 printf("no subjectaltname found.\n");
395 printf("SubjectAltName: %d: %s\n", type, str);
403 printf("ERROR: cert is invalid.\n");
404 printf("\n");
532 printf("ERROR: %s is not directory.\n", path);
538 printf("opendir failed.\n");
571 printf("%s: %d\n", dp->d_name, (int)sb.st_size);
604 printf("Test for cipher %s\n", name);
605 printf("data:\n");
619 printf("%s encryption failed.\n", name);
622 printf("encrypted:\n");
628 printf("%s decryption failed.\n", name);
631 printf("decrypted:\n");
635 printf("XXXX NG (%s) XXXX\n", name);
639 printf("%s cipher verified.\n", name);
657 printf("\n**Testing CIPHERS**\n");
748 printf("\n**Test for HMAC MD5, SHA1, and SHA256.**\n");
750 printf("\n**Test for HMAC MD5 & SHA1.**\n");
764 printf("HMAC MD5 by eay_hmacmd5_one()\n");
769 printf(" XXX NG XXX\n");
776 printf("HMAC MD5 by eay_hmacmd5_xxx()\n");
784 printf(" XXX NG XXX\n");
791 printf("HMAC SHA1 by eay_hmacsha1_one()\n");
796 printf(" XXX NG XXX\n");
803 printf("HMAC SHA1 by eay_hmacsha1_xxx()\n");
811 printf(" XXX NG XXX\n");
819 printf("HMAC SHA2 by eay_hmacsha2_256_one()\n");
824 printf(" XXX NG XXX\n");
848 printf("\n**Test for SHA1.**\n");
885 printf("\n**Test for MD5.**\n");
935 printf("\n**Test for DH.**\n");
938 printf("\n**Test for DH %s.**\n", px[i].name);
942 printf("prime number = \n"); PVDUMP(&p1);
945 printf("error\n");
948 printf("private key for user 1 = \n"); PVDUMP(priv1);
949 printf("public key for user 1 = \n"); PVDUMP(pub1);
952 printf("error\n");
955 printf("private key for user 2 = \n"); PVDUMP(priv2);
956 printf("public key for user 2 = \n"); PVDUMP(pub2);
962 printf("sharing gxy1 of user 1 = \n"); PVDUMP(gxy1);
968 printf("sharing gxy2 of user 2 = \n"); PVDUMP(gxy2);
971 printf("ERROR: sharing gxy mismatched.\n");
993 printf("\n**Test for generate a random number.**\n");
1029 printf ("\nTestsuite of the %s\nlinked with %s\n\n", TOP_PACKAGE_STRING, eay_version());
1040 printf ("\n!!!!! Test '%s' failed. !!!!!\n\n", func[i].name);
1050 printf ("\n===== All tests passed =====\n\n");
1060 printf("Usage: eaytest [");
1062 printf("%s%s", func[i].name, (i<len-1)?"|":"");
1063 printf("]\n");
1065 printf(" eaytest cert [cert_directory]\n");