65 #if defined(OPENSSL_NO_DES) && !defined(OPENSSL_NO_MDC2)
66 #define OPENSSL_NO_MDC2
69 #ifdef OPENSSL_NO_MDC2
70 int main(
int argc,
char *argv[])
72 printf(
"No MDC2 support\n");
83 static unsigned char pad1[16]={
84 0x42,0xE5,0x0C,0xD2,0x24,0xBA,0xCE,0xBA,
85 0x76,0x0B,0xDD,0x2B,0xD4,0x09,0x28,0x1A
88 static unsigned char pad2[16]={
89 0x2E,0x46,0x79,0xB5,0xAD,0xD9,0xCA,0x75,
90 0x35,0xD8,0x7A,0xFE,0xAB,0x33,0xBE,0xE2
93 int main(
int argc,
char *argv[])
99 static char *
text=
"Now is the time for all ";
101 #ifdef CHARSET_EBCDIC
113 printf(
"%02X",md[i]);
114 printf(
" <- generated\n");
116 printf(
"%02X",pad1[i]);
117 printf(
" <- correct\n");
121 printf(
"pad1 - ok\n");
132 printf(
"%02X",md[i]);
133 printf(
" <- generated\n");
135 printf(
"%02X",pad2[i]);
136 printf(
" <- correct\n");
140 printf(
"pad2 - ok\n");
143 #ifdef OPENSSL_SYS_NETWARE
144 if (ret) printf(
"ERROR: %d\n", ret);