OpenCoverage

e_camellia.c

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/evp/e_camellia.c
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6static int camellia_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key,-
7 const unsigned char *iv, int enc);-
8-
9-
10typedef struct {-
11 CAMELLIA_KEY ks;-
12 block128_f block;-
13 union {-
14 cbc128_f cbc;-
15 ctr128_f ctr;-
16 } stream;-
17} EVP_CAMELLIA_KEY;-
18static int camellia_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key,-
19 const unsigned char *iv, int enc)-
20{-
21 int ret, mode;-
22 EVP_CAMELLIA_KEY *dat = ((EVP_CAMELLIA_KEY *)EVP_CIPHER_CTX_get_cipher_data(ctx));-
23-
24 ret = Camellia_set_key(key, EVP_CIPHER_CTX_key_length(ctx) * 8, &dat->ks);-
25 if (ret < 0
ret < 0Description
TRUEnever evaluated
FALSEevaluated 1595 times by 1 test
Evaluated by:
  • libcrypto.so.1.1
) {
0-1595
26 ERR_put_error(6,(159),(157),__FILE__,221);-
27 return
never executed: return 0;
0;
never executed: return 0;
0
28 }-
29-
30 mode = (EVP_CIPHER_flags(EVP_CIPHER_CTX_cipher(ctx)) & 0xF0007);-
31 if ((mode == 0x1
mode == 0x1Description
TRUEevaluated 414 times by 1 test
Evaluated by:
  • libcrypto.so.1.1
FALSEevaluated 1181 times by 1 test
Evaluated by:
  • libcrypto.so.1.1
|| mode == 0x2
mode == 0x2Description
TRUEevaluated 467 times by 1 test
Evaluated by:
  • libcrypto.so.1.1
FALSEevaluated 714 times by 1 test
Evaluated by:
  • libcrypto.so.1.1
)
414-1181
32 && !enc
!encDescription
TRUEevaluated 423 times by 1 test
Evaluated by:
  • libcrypto.so.1.1
FALSEevaluated 458 times by 1 test
Evaluated by:
  • libcrypto.so.1.1
) {
423-458
33 dat->block = (block128_f) Camellia_decrypt;-
34 dat->stream.cbc = mode == 0x2
mode == 0x2Description
TRUEevaluated 234 times by 1 test
Evaluated by:
  • libcrypto.so.1.1
FALSEevaluated 189 times by 1 test
Evaluated by:
  • libcrypto.so.1.1
?
189-234
35 (cbc128_f) Camellia_cbc_encrypt : -
36 ((void *)0)-
37 ;-
38 }
executed 423 times by 1 test: end of block
Executed by:
  • libcrypto.so.1.1
else {
423
39 dat->block = (block128_f) Camellia_encrypt;-
40 dat->stream.cbc = mode == 0x2
mode == 0x2Description
TRUEevaluated 233 times by 1 test
Evaluated by:
  • libcrypto.so.1.1
FALSEevaluated 939 times by 1 test
Evaluated by:
  • libcrypto.so.1.1
?
233-939
41 (cbc128_f) Camellia_cbc_encrypt : -
42 ((void *)0)-
43 ;-
44 }
executed 1172 times by 1 test: end of block
Executed by:
  • libcrypto.so.1.1
1172
45-
46 return
executed 1595 times by 1 test: return 1;
Executed by:
  • libcrypto.so.1.1
1;
executed 1595 times by 1 test: return 1;
Executed by:
  • libcrypto.so.1.1
1595
47}-
48-
49static int camellia_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,-
50 const unsigned char *in, size_t len)-
51{-
52 EVP_CAMELLIA_KEY *dat = ((EVP_CAMELLIA_KEY *)EVP_CIPHER_CTX_get_cipher_data(ctx));-
53-
54 if (dat->stream.cbc
dat->stream.cbcDescription
TRUEevaluated 1147 times by 1 test
Evaluated by:
  • libcrypto.so.1.1
FALSEnever evaluated
)
0-1147
55 (*
executed 1147 times by 1 test: (*dat->stream.cbc) (in, out, len, &dat->ks, EVP_CIPHER_CTX_iv_noconst(ctx), EVP_CIPHER_CTX_encrypting(ctx));
Executed by:
  • libcrypto.so.1.1
dat->stream.cbc) (in, out, len, &dat->ks,
executed 1147 times by 1 test: (*dat->stream.cbc) (in, out, len, &dat->ks, EVP_CIPHER_CTX_iv_noconst(ctx), EVP_CIPHER_CTX_encrypting(ctx));
Executed by:
  • libcrypto.so.1.1
1147
56 EVP_CIPHER_CTX_iv_noconst(ctx),
executed 1147 times by 1 test: (*dat->stream.cbc) (in, out, len, &dat->ks, EVP_CIPHER_CTX_iv_noconst(ctx), EVP_CIPHER_CTX_encrypting(ctx));
Executed by:
  • libcrypto.so.1.1
1147
57 EVP_CIPHER_CTX_encrypting(ctx));
executed 1147 times by 1 test: (*dat->stream.cbc) (in, out, len, &dat->ks, EVP_CIPHER_CTX_iv_noconst(ctx), EVP_CIPHER_CTX_encrypting(ctx));
Executed by:
  • libcrypto.so.1.1
1147
58 else if (EVP_CIPHER_CTX_encrypting(ctx)
EVP_CIPHER_CTX_encrypting(ctx)Description
TRUEnever evaluated
FALSEnever evaluated
)
0
59 CRYPTO_cbc128_encrypt(in, out, len, &dat->ks,
never executed: CRYPTO_cbc128_encrypt(in, out, len, &dat->ks, EVP_CIPHER_CTX_iv_noconst(ctx), dat->block);
0
60 EVP_CIPHER_CTX_iv_noconst(ctx), dat->block);
never executed: CRYPTO_cbc128_encrypt(in, out, len, &dat->ks, EVP_CIPHER_CTX_iv_noconst(ctx), dat->block);
0
61 else-
62 CRYPTO_cbc128_decrypt(in, out, len, &dat->ks,
never executed: CRYPTO_cbc128_decrypt(in, out, len, &dat->ks, EVP_CIPHER_CTX_iv_noconst(ctx), dat->block);
0
63 EVP_CIPHER_CTX_iv_noconst(ctx), dat->block);
never executed: CRYPTO_cbc128_decrypt(in, out, len, &dat->ks, EVP_CIPHER_CTX_iv_noconst(ctx), dat->block);
0
64-
65 return
executed 1147 times by 1 test: return 1;
Executed by:
  • libcrypto.so.1.1
1;
executed 1147 times by 1 test: return 1;
Executed by:
  • libcrypto.so.1.1
1147
66}-
67-
68static int camellia_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,-
69 const unsigned char *in, size_t len)-
70{-
71 size_t bl = EVP_CIPHER_CTX_block_size(ctx);-
72 size_t i;-
73 EVP_CAMELLIA_KEY *dat = ((EVP_CAMELLIA_KEY *)EVP_CIPHER_CTX_get_cipher_data(ctx));-
74-
75 if (len < bl
len < blDescription
TRUEnever evaluated
FALSEevaluated 789 times by 1 test
Evaluated by:
  • libcrypto.so.1.1
)
0-789
76 return
never executed: return 1;
1;
never executed: return 1;
0
77-
78 for (i = 0, len -= bl; i <= len
i <= lenDescription
TRUEevaluated 2754 times by 1 test
Evaluated by:
  • libcrypto.so.1.1
FALSEevaluated 789 times by 1 test
Evaluated by:
  • libcrypto.so.1.1
; i += bl)
789-2754
79 (*
executed 2754 times by 1 test: (*dat->block) (in + i, out + i, &dat->ks);
Executed by:
  • libcrypto.so.1.1
dat->block) (in + i, out + i, &dat->ks);
executed 2754 times by 1 test: (*dat->block) (in + i, out + i, &dat->ks);
Executed by:
  • libcrypto.so.1.1
2754
80-
81 return
executed 789 times by 1 test: return 1;
Executed by:
  • libcrypto.so.1.1
1;
executed 789 times by 1 test: return 1;
Executed by:
  • libcrypto.so.1.1
789
82}-
83-
84static int camellia_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,-
85 const unsigned char *in, size_t len)-
86{-
87 EVP_CAMELLIA_KEY *dat = ((EVP_CAMELLIA_KEY *)EVP_CIPHER_CTX_get_cipher_data(ctx));-
88-
89 int num = EVP_CIPHER_CTX_num(ctx);-
90 CRYPTO_ofb128_encrypt(in, out, len, &dat->ks,-
91 EVP_CIPHER_CTX_iv_noconst(ctx), &num, dat->block);-
92 EVP_CIPHER_CTX_set_num(ctx, num);-
93 return
executed 582 times by 1 test: return 1;
Executed by:
  • libcrypto.so.1.1
1;
executed 582 times by 1 test: return 1;
Executed by:
  • libcrypto.so.1.1
582
94}-
95-
96static int camellia_cfb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,-
97 const unsigned char *in, size_t len)-
98{-
99 EVP_CAMELLIA_KEY *dat = ((EVP_CAMELLIA_KEY *)EVP_CIPHER_CTX_get_cipher_data(ctx));-
100-
101 int num = EVP_CIPHER_CTX_num(ctx);-
102 CRYPTO_cfb128_encrypt(in, out, len, &dat->ks,-
103 EVP_CIPHER_CTX_iv_noconst(ctx), &num, EVP_CIPHER_CTX_encrypting(ctx), dat->block);-
104 EVP_CIPHER_CTX_set_num(ctx, num);-
105 return
executed 582 times by 1 test: return 1;
Executed by:
  • libcrypto.so.1.1
1;
executed 582 times by 1 test: return 1;
Executed by:
  • libcrypto.so.1.1
582
106}-
107-
108static int camellia_cfb8_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,-
109 const unsigned char *in, size_t len)-
110{-
111 EVP_CAMELLIA_KEY *dat = ((EVP_CAMELLIA_KEY *)EVP_CIPHER_CTX_get_cipher_data(ctx));-
112-
113 int num = EVP_CIPHER_CTX_num(ctx);-
114 CRYPTO_cfb128_8_encrypt(in, out, len, &dat->ks,-
115 EVP_CIPHER_CTX_iv_noconst(ctx), &num, EVP_CIPHER_CTX_encrypting(ctx), dat->block);-
116 EVP_CIPHER_CTX_set_num(ctx, num);-
117 return
executed 6 times by 1 test: return 1;
Executed by:
  • libcrypto.so.1.1
1;
executed 6 times by 1 test: return 1;
Executed by:
  • libcrypto.so.1.1
6
118}-
119-
120static int camellia_cfb1_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,-
121 const unsigned char *in, size_t len)-
122{-
123 EVP_CAMELLIA_KEY *dat = ((EVP_CAMELLIA_KEY *)EVP_CIPHER_CTX_get_cipher_data(ctx));-
124-
125 if (EVP_CIPHER_CTX_test_flags(ctx, 0x2000)
EVP_CIPHER_CTX...s(ctx, 0x2000)Description
TRUEnever evaluated
FALSEevaluated 6 times by 1 test
Evaluated by:
  • libcrypto.so.1.1
) {
0-6
126 int num = EVP_CIPHER_CTX_num(ctx);-
127 CRYPTO_cfb128_1_encrypt(in, out, len, &dat->ks,-
128 EVP_CIPHER_CTX_iv_noconst(ctx), &num, EVP_CIPHER_CTX_encrypting(ctx), dat->block);-
129 EVP_CIPHER_CTX_set_num(ctx, num);-
130 return
never executed: return 1;
1;
never executed: return 1;
0
131 }-
132-
133 while (len >= ((size_t)1<<(sizeof(size_t)*8-4))
len >= ((size_...(size_t)*8-4))Description
TRUEnever evaluated
FALSEevaluated 6 times by 1 test
Evaluated by:
  • libcrypto.so.1.1
) {
0-6
134 int num = EVP_CIPHER_CTX_num(ctx);-
135 CRYPTO_cfb128_1_encrypt(in, out, ((size_t)1<<(sizeof(size_t)*8-4)) * 8, &dat->ks,-
136 EVP_CIPHER_CTX_iv_noconst(ctx), &num, EVP_CIPHER_CTX_encrypting(ctx), dat->block);-
137 EVP_CIPHER_CTX_set_num(ctx, num);-
138 len -= ((size_t)1<<(sizeof(size_t)*8-4));-
139 out += ((size_t)1<<(sizeof(size_t)*8-4));-
140 in += ((size_t)1<<(sizeof(size_t)*8-4));-
141 }
never executed: end of block
0
142 if (len
lenDescription
TRUEevaluated 6 times by 1 test
Evaluated by:
  • libcrypto.so.1.1
FALSEnever evaluated
) {
0-6
143 int num = EVP_CIPHER_CTX_num(ctx);-
144 CRYPTO_cfb128_1_encrypt(in, out, len * 8, &dat->ks,-
145 EVP_CIPHER_CTX_iv_noconst(ctx), &num, EVP_CIPHER_CTX_encrypting(ctx), dat->block);-
146 EVP_CIPHER_CTX_set_num(ctx, num);-
147 }
executed 6 times by 1 test: end of block
Executed by:
  • libcrypto.so.1.1
6
148-
149 return
executed 6 times by 1 test: return 1;
Executed by:
  • libcrypto.so.1.1
1;
executed 6 times by 1 test: return 1;
Executed by:
  • libcrypto.so.1.1
6
150}-
151-
152static int camellia_ctr_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,-
153 const unsigned char *in, size_t len)-
154{-
155 unsigned int num = EVP_CIPHER_CTX_num(ctx);-
156 EVP_CAMELLIA_KEY *dat = ((EVP_CAMELLIA_KEY *)EVP_CIPHER_CTX_get_cipher_data(ctx));-
157-
158 if (dat->stream.ctr
dat->stream.ctrDescription
TRUEnever evaluated
FALSEevaluated 222 times by 1 test
Evaluated by:
  • libcrypto.so.1.1
)
0-222
159 CRYPTO_ctr128_encrypt_ctr32(in, out, len, &dat->ks,
never executed: CRYPTO_ctr128_encrypt_ctr32(in, out, len, &dat->ks, EVP_CIPHER_CTX_iv_noconst(ctx), EVP_CIPHER_CTX_buf_noconst(ctx), &num, dat->stream.ctr);
0
160 EVP_CIPHER_CTX_iv_noconst(ctx),
never executed: CRYPTO_ctr128_encrypt_ctr32(in, out, len, &dat->ks, EVP_CIPHER_CTX_iv_noconst(ctx), EVP_CIPHER_CTX_buf_noconst(ctx), &num, dat->stream.ctr);
0
161 EVP_CIPHER_CTX_buf_noconst(ctx), &num,
never executed: CRYPTO_ctr128_encrypt_ctr32(in, out, len, &dat->ks, EVP_CIPHER_CTX_iv_noconst(ctx), EVP_CIPHER_CTX_buf_noconst(ctx), &num, dat->stream.ctr);
0
162 dat->stream.ctr);
never executed: CRYPTO_ctr128_encrypt_ctr32(in, out, len, &dat->ks, EVP_CIPHER_CTX_iv_noconst(ctx), EVP_CIPHER_CTX_buf_noconst(ctx), &num, dat->stream.ctr);
0
163 else-
164 CRYPTO_ctr128_encrypt(in, out, len, &dat->ks,
executed 222 times by 1 test: CRYPTO_ctr128_encrypt(in, out, len, &dat->ks, EVP_CIPHER_CTX_iv_noconst(ctx), EVP_CIPHER_CTX_buf_noconst(ctx), &num, dat->block);
Executed by:
  • libcrypto.so.1.1
222
165 EVP_CIPHER_CTX_iv_noconst(ctx),
executed 222 times by 1 test: CRYPTO_ctr128_encrypt(in, out, len, &dat->ks, EVP_CIPHER_CTX_iv_noconst(ctx), EVP_CIPHER_CTX_buf_noconst(ctx), &num, dat->block);
Executed by:
  • libcrypto.so.1.1
222
166 EVP_CIPHER_CTX_buf_noconst(ctx), &num,
executed 222 times by 1 test: CRYPTO_ctr128_encrypt(in, out, len, &dat->ks, EVP_CIPHER_CTX_iv_noconst(ctx), EVP_CIPHER_CTX_buf_noconst(ctx), &num, dat->block);
Executed by:
  • libcrypto.so.1.1
222
167 dat->block);
executed 222 times by 1 test: CRYPTO_ctr128_encrypt(in, out, len, &dat->ks, EVP_CIPHER_CTX_iv_noconst(ctx), EVP_CIPHER_CTX_buf_noconst(ctx), &num, dat->block);
Executed by:
  • libcrypto.so.1.1
222
168 EVP_CIPHER_CTX_set_num(ctx, num);-
169 return
executed 222 times by 1 test: return 1;
Executed by:
  • libcrypto.so.1.1
1;
executed 222 times by 1 test: return 1;
Executed by:
  • libcrypto.so.1.1
222
170}-
171-
172static const EVP_CIPHER camellia_128_cbc = { 751,16,128/8,16, 0|0x1000|0x2, camellia_init_key, camellia_cbc_cipher, -
173((void *)0)-
174, sizeof(EVP_CAMELLIA_KEY), -
175((void *)0)-
176,-
177((void *)0)-
178,-
179((void *)0)-
180,-
181((void *)0) -
182}; const EVP_CIPHER *EVP_camellia_128_cbc(void) { return
executed 3920 times by 1 test: return &camellia_128_cbc;
Executed by:
  • libcrypto.so.1.1
&camellia_128_cbc;
executed 3920 times by 1 test: return &camellia_128_cbc;
Executed by:
  • libcrypto.so.1.1
} static const EVP_CIPHER camellia_128_ecb = { 754,16,128/8,0, 0|0x1000|0x1, camellia_init_key, camellia_ecb_cipher,
3920
183((void *)0)-
184, sizeof(EVP_CAMELLIA_KEY), -
185((void *)0)-
186,-
187((void *)0)-
188,-
189((void *)0)-
190,-
191((void *)0) -
192}; const EVP_CIPHER *EVP_camellia_128_ecb(void) { return
executed 1962 times by 1 test: return &camellia_128_ecb;
Executed by:
  • libcrypto.so.1.1
&camellia_128_ecb;
executed 1962 times by 1 test: return &camellia_128_ecb;
Executed by:
  • libcrypto.so.1.1
} static const EVP_CIPHER camellia_128_ofb = { 766,1,128/8,16, 0|0x1000|0x4, camellia_init_key, camellia_ofb_cipher,
1962
193((void *)0)-
194, sizeof(EVP_CAMELLIA_KEY), -
195((void *)0)-
196,-
197((void *)0)-
198,-
199((void *)0)-
200,-
201((void *)0) -
202}; const EVP_CIPHER *EVP_camellia_128_ofb(void) { return
executed 1962 times by 1 test: return &camellia_128_ofb;
Executed by:
  • libcrypto.so.1.1
&camellia_128_ofb;
executed 1962 times by 1 test: return &camellia_128_ofb;
Executed by:
  • libcrypto.so.1.1
} static const EVP_CIPHER camellia_128_cfb = { 757,1,128/8,16, 0|0x1000|0x3, camellia_init_key, camellia_cfb_cipher,
1962
203((void *)0)-
204, sizeof(EVP_CAMELLIA_KEY), -
205((void *)0)-
206,-
207((void *)0)-
208,-
209((void *)0)-
210,-
211((void *)0) -
212}; const EVP_CIPHER *EVP_camellia_128_cfb128(void) { return
executed 1962 times by 1 test: return &camellia_128_cfb;
Executed by:
  • libcrypto.so.1.1
&camellia_128_cfb;
executed 1962 times by 1 test: return &camellia_128_cfb;
Executed by:
  • libcrypto.so.1.1
} static const EVP_CIPHER camellia_128_cfb1 = { 760,1,128/8,16, 0|0x3, camellia_init_key, camellia_cfb1_cipher,
1962
213((void *)0)-
214, sizeof(EVP_CAMELLIA_KEY), -
215((void *)0)-
216,-
217((void *)0)-
218,-
219((void *)0)-
220,-
221((void *)0) -
222}; const EVP_CIPHER *EVP_camellia_128_cfb1(void) { return
executed 1962 times by 1 test: return &camellia_128_cfb1;
Executed by:
  • libcrypto.so.1.1
&camellia_128_cfb1;
executed 1962 times by 1 test: return &camellia_128_cfb1;
Executed by:
  • libcrypto.so.1.1
} static const EVP_CIPHER camellia_128_cfb8 = { 763,1,128/8,16, 0|0x3, camellia_init_key, camellia_cfb8_cipher,
1962
223((void *)0)-
224, sizeof(EVP_CAMELLIA_KEY), -
225((void *)0)-
226,-
227((void *)0)-
228,-
229((void *)0)-
230,-
231((void *)0) -
232}; const EVP_CIPHER *EVP_camellia_128_cfb8(void) { return
executed 1962 times by 1 test: return &camellia_128_cfb8;
Executed by:
  • libcrypto.so.1.1
&camellia_128_cfb8;
executed 1962 times by 1 test: return &camellia_128_cfb8;
Executed by:
  • libcrypto.so.1.1
} static const EVP_CIPHER camellia_128_ctr = { 963,1,128/8,16, 0|0x5, camellia_init_key, camellia_ctr_cipher,
1962
233((void *)0)-
234, sizeof(EVP_CAMELLIA_KEY), -
235((void *)0)-
236,-
237((void *)0)-
238,-
239((void *)0)-
240,-
241((void *)0) -
242}; const EVP_CIPHER *EVP_camellia_128_ctr(void) { return
executed 1962 times by 1 test: return &camellia_128_ctr;
Executed by:
  • libcrypto.so.1.1
&camellia_128_ctr;
executed 1962 times by 1 test: return &camellia_128_ctr;
Executed by:
  • libcrypto.so.1.1
}
1962
243 static const EVP_CIPHER camellia_192_cbc = { 752,16,192/8,16, 0|0x1000|0x2, camellia_init_key, camellia_cbc_cipher, -
244 ((void *)0)-
245 , sizeof(EVP_CAMELLIA_KEY), -
246 ((void *)0)-
247 ,-
248 ((void *)0)-
249 ,-
250 ((void *)0)-
251 ,-
252 ((void *)0) -
253 }; const EVP_CIPHER *EVP_camellia_192_cbc(void) { return
executed 1962 times by 1 test: return &camellia_192_cbc;
Executed by:
  • libcrypto.so.1.1
&camellia_192_cbc;
executed 1962 times by 1 test: return &camellia_192_cbc;
Executed by:
  • libcrypto.so.1.1
} static const EVP_CIPHER camellia_192_ecb = { 755,16,192/8,0, 0|0x1000|0x1, camellia_init_key, camellia_ecb_cipher,
1962
254 ((void *)0)-
255 , sizeof(EVP_CAMELLIA_KEY), -
256 ((void *)0)-
257 ,-
258 ((void *)0)-
259 ,-
260 ((void *)0)-
261 ,-
262 ((void *)0) -
263 }; const EVP_CIPHER *EVP_camellia_192_ecb(void) { return
executed 1962 times by 1 test: return &camellia_192_ecb;
Executed by:
  • libcrypto.so.1.1
&camellia_192_ecb;
executed 1962 times by 1 test: return &camellia_192_ecb;
Executed by:
  • libcrypto.so.1.1
} static const EVP_CIPHER camellia_192_ofb = { 767,1,192/8,16, 0|0x1000|0x4, camellia_init_key, camellia_ofb_cipher,
1962
264 ((void *)0)-
265 , sizeof(EVP_CAMELLIA_KEY), -
266 ((void *)0)-
267 ,-
268 ((void *)0)-
269 ,-
270 ((void *)0)-
271 ,-
272 ((void *)0) -
273 }; const EVP_CIPHER *EVP_camellia_192_ofb(void) { return
executed 1962 times by 1 test: return &camellia_192_ofb;
Executed by:
  • libcrypto.so.1.1
&camellia_192_ofb;
executed 1962 times by 1 test: return &camellia_192_ofb;
Executed by:
  • libcrypto.so.1.1
} static const EVP_CIPHER camellia_192_cfb = { 758,1,192/8,16, 0|0x1000|0x3, camellia_init_key, camellia_cfb_cipher,
1962
274 ((void *)0)-
275 , sizeof(EVP_CAMELLIA_KEY), -
276 ((void *)0)-
277 ,-
278 ((void *)0)-
279 ,-
280 ((void *)0)-
281 ,-
282 ((void *)0) -
283 }; const EVP_CIPHER *EVP_camellia_192_cfb128(void) { return
executed 1962 times by 1 test: return &camellia_192_cfb;
Executed by:
  • libcrypto.so.1.1
&camellia_192_cfb;
executed 1962 times by 1 test: return &camellia_192_cfb;
Executed by:
  • libcrypto.so.1.1
} static const EVP_CIPHER camellia_192_cfb1 = { 761,1,192/8,16, 0|0x3, camellia_init_key, camellia_cfb1_cipher,
1962
284 ((void *)0)-
285 , sizeof(EVP_CAMELLIA_KEY), -
286 ((void *)0)-
287 ,-
288 ((void *)0)-
289 ,-
290 ((void *)0)-
291 ,-
292 ((void *)0) -
293 }; const EVP_CIPHER *EVP_camellia_192_cfb1(void) { return
executed 1962 times by 1 test: return &camellia_192_cfb1;
Executed by:
  • libcrypto.so.1.1
&camellia_192_cfb1;
executed 1962 times by 1 test: return &camellia_192_cfb1;
Executed by:
  • libcrypto.so.1.1
} static const EVP_CIPHER camellia_192_cfb8 = { 764,1,192/8,16, 0|0x3, camellia_init_key, camellia_cfb8_cipher,
1962
294 ((void *)0)-
295 , sizeof(EVP_CAMELLIA_KEY), -
296 ((void *)0)-
297 ,-
298 ((void *)0)-
299 ,-
300 ((void *)0)-
301 ,-
302 ((void *)0) -
303 }; const EVP_CIPHER *EVP_camellia_192_cfb8(void) { return
executed 1962 times by 1 test: return &camellia_192_cfb8;
Executed by:
  • libcrypto.so.1.1
&camellia_192_cfb8;
executed 1962 times by 1 test: return &camellia_192_cfb8;
Executed by:
  • libcrypto.so.1.1
} static const EVP_CIPHER camellia_192_ctr = { 967,1,192/8,16, 0|0x5, camellia_init_key, camellia_ctr_cipher,
1962
304 ((void *)0)-
305 , sizeof(EVP_CAMELLIA_KEY), -
306 ((void *)0)-
307 ,-
308 ((void *)0)-
309 ,-
310 ((void *)0)-
311 ,-
312 ((void *)0) -
313 }; const EVP_CIPHER *EVP_camellia_192_ctr(void) { return
executed 1962 times by 1 test: return &camellia_192_ctr;
Executed by:
  • libcrypto.so.1.1
&camellia_192_ctr;
executed 1962 times by 1 test: return &camellia_192_ctr;
Executed by:
  • libcrypto.so.1.1
}
1962
314 static const EVP_CIPHER camellia_256_cbc = { 753,16,256/8,16, 0|0x1000|0x2, camellia_init_key, camellia_cbc_cipher, -
315 ((void *)0)-
316 , sizeof(EVP_CAMELLIA_KEY), -
317 ((void *)0)-
318 ,-
319 ((void *)0)-
320 ,-
321 ((void *)0)-
322 ,-
323 ((void *)0) -
324 }; const EVP_CIPHER *EVP_camellia_256_cbc(void) { return
executed 3920 times by 1 test: return &camellia_256_cbc;
Executed by:
  • libcrypto.so.1.1
&camellia_256_cbc;
executed 3920 times by 1 test: return &camellia_256_cbc;
Executed by:
  • libcrypto.so.1.1
} static const EVP_CIPHER camellia_256_ecb = { 756,16,256/8,0, 0|0x1000|0x1, camellia_init_key, camellia_ecb_cipher,
3920
325 ((void *)0)-
326 , sizeof(EVP_CAMELLIA_KEY), -
327 ((void *)0)-
328 ,-
329 ((void *)0)-
330 ,-
331 ((void *)0)-
332 ,-
333 ((void *)0) -
334 }; const EVP_CIPHER *EVP_camellia_256_ecb(void) { return
executed 1962 times by 1 test: return &camellia_256_ecb;
Executed by:
  • libcrypto.so.1.1
&camellia_256_ecb;
executed 1962 times by 1 test: return &camellia_256_ecb;
Executed by:
  • libcrypto.so.1.1
} static const EVP_CIPHER camellia_256_ofb = { 768,1,256/8,16, 0|0x1000|0x4, camellia_init_key, camellia_ofb_cipher,
1962
335 ((void *)0)-
336 , sizeof(EVP_CAMELLIA_KEY), -
337 ((void *)0)-
338 ,-
339 ((void *)0)-
340 ,-
341 ((void *)0)-
342 ,-
343 ((void *)0) -
344 }; const EVP_CIPHER *EVP_camellia_256_ofb(void) { return
executed 1962 times by 1 test: return &camellia_256_ofb;
Executed by:
  • libcrypto.so.1.1
&camellia_256_ofb;
executed 1962 times by 1 test: return &camellia_256_ofb;
Executed by:
  • libcrypto.so.1.1
} static const EVP_CIPHER camellia_256_cfb = { 759,1,256/8,16, 0|0x1000|0x3, camellia_init_key, camellia_cfb_cipher,
1962
345 ((void *)0)-
346 , sizeof(EVP_CAMELLIA_KEY), -
347 ((void *)0)-
348 ,-
349 ((void *)0)-
350 ,-
351 ((void *)0)-
352 ,-
353 ((void *)0) -
354 }; const EVP_CIPHER *EVP_camellia_256_cfb128(void) { return
executed 1962 times by 1 test: return &camellia_256_cfb;
Executed by:
  • libcrypto.so.1.1
&camellia_256_cfb;
executed 1962 times by 1 test: return &camellia_256_cfb;
Executed by:
  • libcrypto.so.1.1
} static const EVP_CIPHER camellia_256_cfb1 = { 762,1,256/8,16, 0|0x3, camellia_init_key, camellia_cfb1_cipher,
1962
355 ((void *)0)-
356 , sizeof(EVP_CAMELLIA_KEY), -
357 ((void *)0)-
358 ,-
359 ((void *)0)-
360 ,-
361 ((void *)0)-
362 ,-
363 ((void *)0) -
364 }; const EVP_CIPHER *EVP_camellia_256_cfb1(void) { return
executed 1962 times by 1 test: return &camellia_256_cfb1;
Executed by:
  • libcrypto.so.1.1
&camellia_256_cfb1;
executed 1962 times by 1 test: return &camellia_256_cfb1;
Executed by:
  • libcrypto.so.1.1
} static const EVP_CIPHER camellia_256_cfb8 = { 765,1,256/8,16, 0|0x3, camellia_init_key, camellia_cfb8_cipher,
1962
365 ((void *)0)-
366 , sizeof(EVP_CAMELLIA_KEY), -
367 ((void *)0)-
368 ,-
369 ((void *)0)-
370 ,-
371 ((void *)0)-
372 ,-
373 ((void *)0) -
374 }; const EVP_CIPHER *EVP_camellia_256_cfb8(void) { return
executed 1962 times by 1 test: return &camellia_256_cfb8;
Executed by:
  • libcrypto.so.1.1
&camellia_256_cfb8;
executed 1962 times by 1 test: return &camellia_256_cfb8;
Executed by:
  • libcrypto.so.1.1
} static const EVP_CIPHER camellia_256_ctr = { 971,1,256/8,16, 0|0x5, camellia_init_key, camellia_ctr_cipher,
1962
375 ((void *)0)-
376 , sizeof(EVP_CAMELLIA_KEY), -
377 ((void *)0)-
378 ,-
379 ((void *)0)-
380 ,-
381 ((void *)0)-
382 ,-
383 ((void *)0) -
384 }; const EVP_CIPHER *EVP_camellia_256_ctr(void) { return
executed 1962 times by 1 test: return &camellia_256_ctr;
Executed by:
  • libcrypto.so.1.1
&camellia_256_ctr;
executed 1962 times by 1 test: return &camellia_256_ctr;
Executed by:
  • libcrypto.so.1.1
}
1962
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.2