summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/cast/casttest.c
diff options
context:
space:
mode:
authorbeck <>2000-03-19 11:13:58 +0000
committerbeck <>2000-03-19 11:13:58 +0000
commit796d609550df3a33fc11468741c5d2f6d3df4c11 (patch)
tree6c6d539061caa20372dad0ac4ddb1dfae2fbe7fe /src/lib/libcrypto/cast/casttest.c
parent5be3114c1fd7e0dfea1e38d3abb4cbba75244419 (diff)
downloadopenbsd-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.c18
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
74unsigned char k[16]={ 74static 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
79unsigned char in[8]={ 0x01,0x23,0x45,0x67,0x89,0xAB,0xCD,0xEF}; 79static unsigned char in[8]={ 0x01,0x23,0x45,0x67,0x89,0xAB,0xCD,0xEF};
80 80
81int k_len[3]={16,10,5}; 81static int k_len[3]={16,10,5};
82unsigned char c[3][8]={ 82static 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 };
87unsigned char out[80]; 87static unsigned char out[80];
88 88
89unsigned char in_a[16]={ 89static 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};
92unsigned char in_b[16]={ 92static 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
96unsigned char c_a[16]={ 96static 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};
99unsigned char c_b[16]={ 99static 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