diff options
author | beck <> | 2000-03-19 11:13:58 +0000 |
---|---|---|
committer | beck <> | 2000-03-19 11:13:58 +0000 |
commit | 796d609550df3a33fc11468741c5d2f6d3df4c11 (patch) | |
tree | 6c6d539061caa20372dad0ac4ddb1dfae2fbe7fe /src/lib/libcrypto/cast/casttest.c | |
parent | 5be3114c1fd7e0dfea1e38d3abb4cbba75244419 (diff) | |
download | openbsd-796d609550df3a33fc11468741c5d2f6d3df4c11.tar.gz openbsd-796d609550df3a33fc11468741c5d2f6d3df4c11.tar.bz2 openbsd-796d609550df3a33fc11468741c5d2f6d3df4c11.zip |
OpenSSL 0.9.5 merge
*warning* this bumps shared lib minors for libssl and libcrypto from 2.1 to 2.2
if you are using the ssl26 packages for ssh and other things to work you will
need to get new ones (see ~beck/libsslsnap/<arch>) on cvs or ~beck/src-patent.tar.gz on cvs
Diffstat (limited to 'src/lib/libcrypto/cast/casttest.c')
-rw-r--r-- | src/lib/libcrypto/cast/casttest.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/lib/libcrypto/cast/casttest.c b/src/lib/libcrypto/cast/casttest.c index 3244b119e9..ab2aeac606 100644 --- a/src/lib/libcrypto/cast/casttest.c +++ b/src/lib/libcrypto/cast/casttest.c | |||
@@ -71,32 +71,32 @@ int main(int argc, char *argv[]) | |||
71 | 71 | ||
72 | #define FULL_TEST | 72 | #define FULL_TEST |
73 | 73 | ||
74 | unsigned char k[16]={ | 74 | static unsigned char k[16]={ |
75 | 0x01,0x23,0x45,0x67,0x12,0x34,0x56,0x78, | 75 | 0x01,0x23,0x45,0x67,0x12,0x34,0x56,0x78, |
76 | 0x23,0x45,0x67,0x89,0x34,0x56,0x78,0x9A | 76 | 0x23,0x45,0x67,0x89,0x34,0x56,0x78,0x9A |
77 | }; | 77 | }; |
78 | 78 | ||
79 | unsigned char in[8]={ 0x01,0x23,0x45,0x67,0x89,0xAB,0xCD,0xEF}; | 79 | static unsigned char in[8]={ 0x01,0x23,0x45,0x67,0x89,0xAB,0xCD,0xEF}; |
80 | 80 | ||
81 | int k_len[3]={16,10,5}; | 81 | static int k_len[3]={16,10,5}; |
82 | unsigned char c[3][8]={ | 82 | static unsigned char c[3][8]={ |
83 | {0x23,0x8B,0x4F,0xE5,0x84,0x7E,0x44,0xB2}, | 83 | {0x23,0x8B,0x4F,0xE5,0x84,0x7E,0x44,0xB2}, |
84 | {0xEB,0x6A,0x71,0x1A,0x2C,0x02,0x27,0x1B}, | 84 | {0xEB,0x6A,0x71,0x1A,0x2C,0x02,0x27,0x1B}, |
85 | {0x7A,0xC8,0x16,0xD1,0x6E,0x9B,0x30,0x2E}, | 85 | {0x7A,0xC8,0x16,0xD1,0x6E,0x9B,0x30,0x2E}, |
86 | }; | 86 | }; |
87 | unsigned char out[80]; | 87 | static unsigned char out[80]; |
88 | 88 | ||
89 | unsigned char in_a[16]={ | 89 | static unsigned char in_a[16]={ |
90 | 0x01,0x23,0x45,0x67,0x12,0x34,0x56,0x78, | 90 | 0x01,0x23,0x45,0x67,0x12,0x34,0x56,0x78, |
91 | 0x23,0x45,0x67,0x89,0x34,0x56,0x78,0x9A}; | 91 | 0x23,0x45,0x67,0x89,0x34,0x56,0x78,0x9A}; |
92 | unsigned char in_b[16]={ | 92 | static unsigned char in_b[16]={ |
93 | 0x01,0x23,0x45,0x67,0x12,0x34,0x56,0x78, | 93 | 0x01,0x23,0x45,0x67,0x12,0x34,0x56,0x78, |
94 | 0x23,0x45,0x67,0x89,0x34,0x56,0x78,0x9A}; | 94 | 0x23,0x45,0x67,0x89,0x34,0x56,0x78,0x9A}; |
95 | 95 | ||
96 | unsigned char c_a[16]={ | 96 | static unsigned char c_a[16]={ |
97 | 0xEE,0xA9,0xD0,0xA2,0x49,0xFD,0x3B,0xA6, | 97 | 0xEE,0xA9,0xD0,0xA2,0x49,0xFD,0x3B,0xA6, |
98 | 0xB3,0x43,0x6F,0xB8,0x9D,0x6D,0xCA,0x92}; | 98 | 0xB3,0x43,0x6F,0xB8,0x9D,0x6D,0xCA,0x92}; |
99 | unsigned char c_b[16]={ | 99 | static unsigned char c_b[16]={ |
100 | 0xB2,0xC9,0x5E,0xB0,0x0C,0x31,0xAD,0x71, | 100 | 0xB2,0xC9,0x5E,0xB0,0x0C,0x31,0xAD,0x71, |
101 | 0x80,0xAC,0x05,0xB8,0xE8,0x3D,0x69,0x6E}; | 101 | 0x80,0xAC,0x05,0xB8,0xE8,0x3D,0x69,0x6E}; |
102 | 102 | ||