summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/evp/e_camellia.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/evp/e_camellia.c')
-rw-r--r--src/lib/libcrypto/evp/e_camellia.c20
1 files changed, 1 insertions, 19 deletions
diff --git a/src/lib/libcrypto/evp/e_camellia.c b/src/lib/libcrypto/evp/e_camellia.c
index cec7649e3f..6d9bedbbcd 100644
--- a/src/lib/libcrypto/evp/e_camellia.c
+++ b/src/lib/libcrypto/evp/e_camellia.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: e_camellia.c,v 1.18 2023/07/07 19:37:53 beck Exp $ */ 1/* $OpenBSD: e_camellia.c,v 1.19 2024/01/04 17:38:36 tb Exp $ */
2/* ==================================================================== 2/* ====================================================================
3 * Copyright (c) 2006 The OpenSSL Project. All rights reserved. 3 * Copyright (c) 2006 The OpenSSL Project. All rights reserved.
4 * 4 *
@@ -171,7 +171,6 @@ static const EVP_CIPHER camellia_128_cbc = {
171 .set_asn1_parameters = EVP_CIPHER_set_asn1_iv, 171 .set_asn1_parameters = EVP_CIPHER_set_asn1_iv,
172 .get_asn1_parameters = EVP_CIPHER_get_asn1_iv, 172 .get_asn1_parameters = EVP_CIPHER_get_asn1_iv,
173 .ctrl = NULL, 173 .ctrl = NULL,
174 .app_data = NULL,
175}; 174};
176 175
177const EVP_CIPHER * 176const EVP_CIPHER *
@@ -193,7 +192,6 @@ static const EVP_CIPHER camellia_128_cfb128 = {
193 .set_asn1_parameters = EVP_CIPHER_set_asn1_iv, 192 .set_asn1_parameters = EVP_CIPHER_set_asn1_iv,
194 .get_asn1_parameters = EVP_CIPHER_get_asn1_iv, 193 .get_asn1_parameters = EVP_CIPHER_get_asn1_iv,
195 .ctrl = NULL, 194 .ctrl = NULL,
196 .app_data = NULL,
197}; 195};
198 196
199const EVP_CIPHER * 197const EVP_CIPHER *
@@ -215,7 +213,6 @@ static const EVP_CIPHER camellia_128_ofb = {
215 .set_asn1_parameters = EVP_CIPHER_set_asn1_iv, 213 .set_asn1_parameters = EVP_CIPHER_set_asn1_iv,
216 .get_asn1_parameters = EVP_CIPHER_get_asn1_iv, 214 .get_asn1_parameters = EVP_CIPHER_get_asn1_iv,
217 .ctrl = NULL, 215 .ctrl = NULL,
218 .app_data = NULL,
219}; 216};
220 217
221const EVP_CIPHER * 218const EVP_CIPHER *
@@ -237,7 +234,6 @@ static const EVP_CIPHER camellia_128_ecb = {
237 .set_asn1_parameters = EVP_CIPHER_set_asn1_iv, 234 .set_asn1_parameters = EVP_CIPHER_set_asn1_iv,
238 .get_asn1_parameters = EVP_CIPHER_get_asn1_iv, 235 .get_asn1_parameters = EVP_CIPHER_get_asn1_iv,
239 .ctrl = NULL, 236 .ctrl = NULL,
240 .app_data = NULL,
241}; 237};
242 238
243const EVP_CIPHER * 239const EVP_CIPHER *
@@ -329,7 +325,6 @@ static const EVP_CIPHER camellia_192_cbc = {
329 .set_asn1_parameters = EVP_CIPHER_set_asn1_iv, 325 .set_asn1_parameters = EVP_CIPHER_set_asn1_iv,
330 .get_asn1_parameters = EVP_CIPHER_get_asn1_iv, 326 .get_asn1_parameters = EVP_CIPHER_get_asn1_iv,
331 .ctrl = NULL, 327 .ctrl = NULL,
332 .app_data = NULL,
333}; 328};
334 329
335const EVP_CIPHER * 330const EVP_CIPHER *
@@ -351,7 +346,6 @@ static const EVP_CIPHER camellia_192_cfb128 = {
351 .set_asn1_parameters = EVP_CIPHER_set_asn1_iv, 346 .set_asn1_parameters = EVP_CIPHER_set_asn1_iv,
352 .get_asn1_parameters = EVP_CIPHER_get_asn1_iv, 347 .get_asn1_parameters = EVP_CIPHER_get_asn1_iv,
353 .ctrl = NULL, 348 .ctrl = NULL,
354 .app_data = NULL,
355}; 349};
356 350
357const EVP_CIPHER * 351const EVP_CIPHER *
@@ -373,7 +367,6 @@ static const EVP_CIPHER camellia_192_ofb = {
373 .set_asn1_parameters = EVP_CIPHER_set_asn1_iv, 367 .set_asn1_parameters = EVP_CIPHER_set_asn1_iv,
374 .get_asn1_parameters = EVP_CIPHER_get_asn1_iv, 368 .get_asn1_parameters = EVP_CIPHER_get_asn1_iv,
375 .ctrl = NULL, 369 .ctrl = NULL,
376 .app_data = NULL,
377}; 370};
378 371
379const EVP_CIPHER * 372const EVP_CIPHER *
@@ -395,7 +388,6 @@ static const EVP_CIPHER camellia_192_ecb = {
395 .set_asn1_parameters = EVP_CIPHER_set_asn1_iv, 388 .set_asn1_parameters = EVP_CIPHER_set_asn1_iv,
396 .get_asn1_parameters = EVP_CIPHER_get_asn1_iv, 389 .get_asn1_parameters = EVP_CIPHER_get_asn1_iv,
397 .ctrl = NULL, 390 .ctrl = NULL,
398 .app_data = NULL,
399}; 391};
400 392
401const EVP_CIPHER * 393const EVP_CIPHER *
@@ -487,7 +479,6 @@ static const EVP_CIPHER camellia_256_cbc = {
487 .set_asn1_parameters = EVP_CIPHER_set_asn1_iv, 479 .set_asn1_parameters = EVP_CIPHER_set_asn1_iv,
488 .get_asn1_parameters = EVP_CIPHER_get_asn1_iv, 480 .get_asn1_parameters = EVP_CIPHER_get_asn1_iv,
489 .ctrl = NULL, 481 .ctrl = NULL,
490 .app_data = NULL,
491}; 482};
492 483
493const EVP_CIPHER * 484const EVP_CIPHER *
@@ -509,7 +500,6 @@ static const EVP_CIPHER camellia_256_cfb128 = {
509 .set_asn1_parameters = EVP_CIPHER_set_asn1_iv, 500 .set_asn1_parameters = EVP_CIPHER_set_asn1_iv,
510 .get_asn1_parameters = EVP_CIPHER_get_asn1_iv, 501 .get_asn1_parameters = EVP_CIPHER_get_asn1_iv,
511 .ctrl = NULL, 502 .ctrl = NULL,
512 .app_data = NULL,
513}; 503};
514 504
515const EVP_CIPHER * 505const EVP_CIPHER *
@@ -531,7 +521,6 @@ static const EVP_CIPHER camellia_256_ofb = {
531 .set_asn1_parameters = EVP_CIPHER_set_asn1_iv, 521 .set_asn1_parameters = EVP_CIPHER_set_asn1_iv,
532 .get_asn1_parameters = EVP_CIPHER_get_asn1_iv, 522 .get_asn1_parameters = EVP_CIPHER_get_asn1_iv,
533 .ctrl = NULL, 523 .ctrl = NULL,
534 .app_data = NULL,
535}; 524};
536 525
537const EVP_CIPHER * 526const EVP_CIPHER *
@@ -553,7 +542,6 @@ static const EVP_CIPHER camellia_256_ecb = {
553 .set_asn1_parameters = EVP_CIPHER_set_asn1_iv, 542 .set_asn1_parameters = EVP_CIPHER_set_asn1_iv,
554 .get_asn1_parameters = EVP_CIPHER_get_asn1_iv, 543 .get_asn1_parameters = EVP_CIPHER_get_asn1_iv,
555 .ctrl = NULL, 544 .ctrl = NULL,
556 .app_data = NULL,
557}; 545};
558 546
559const EVP_CIPHER * 547const EVP_CIPHER *
@@ -597,7 +585,6 @@ static const EVP_CIPHER camellia_128_cfb1 = {
597 .set_asn1_parameters = EVP_CIPHER_set_asn1_iv, 585 .set_asn1_parameters = EVP_CIPHER_set_asn1_iv,
598 .get_asn1_parameters = EVP_CIPHER_get_asn1_iv, 586 .get_asn1_parameters = EVP_CIPHER_get_asn1_iv,
599 .ctrl = NULL, 587 .ctrl = NULL,
600 .app_data = NULL,
601}; 588};
602 589
603const EVP_CIPHER * 590const EVP_CIPHER *
@@ -641,7 +628,6 @@ static const EVP_CIPHER camellia_192_cfb1 = {
641 .set_asn1_parameters = EVP_CIPHER_set_asn1_iv, 628 .set_asn1_parameters = EVP_CIPHER_set_asn1_iv,
642 .get_asn1_parameters = EVP_CIPHER_get_asn1_iv, 629 .get_asn1_parameters = EVP_CIPHER_get_asn1_iv,
643 .ctrl = NULL, 630 .ctrl = NULL,
644 .app_data = NULL,
645}; 631};
646 632
647const EVP_CIPHER * 633const EVP_CIPHER *
@@ -685,7 +671,6 @@ static const EVP_CIPHER camellia_256_cfb1 = {
685 .set_asn1_parameters = EVP_CIPHER_set_asn1_iv, 671 .set_asn1_parameters = EVP_CIPHER_set_asn1_iv,
686 .get_asn1_parameters = EVP_CIPHER_get_asn1_iv, 672 .get_asn1_parameters = EVP_CIPHER_get_asn1_iv,
687 .ctrl = NULL, 673 .ctrl = NULL,
688 .app_data = NULL,
689}; 674};
690 675
691const EVP_CIPHER * 676const EVP_CIPHER *
@@ -728,7 +713,6 @@ static const EVP_CIPHER camellia_128_cfb8 = {
728 .set_asn1_parameters = EVP_CIPHER_set_asn1_iv, 713 .set_asn1_parameters = EVP_CIPHER_set_asn1_iv,
729 .get_asn1_parameters = EVP_CIPHER_get_asn1_iv, 714 .get_asn1_parameters = EVP_CIPHER_get_asn1_iv,
730 .ctrl = NULL, 715 .ctrl = NULL,
731 .app_data = NULL,
732}; 716};
733 717
734const EVP_CIPHER * 718const EVP_CIPHER *
@@ -770,7 +754,6 @@ static const EVP_CIPHER camellia_192_cfb8 = {
770 .set_asn1_parameters = EVP_CIPHER_set_asn1_iv, 754 .set_asn1_parameters = EVP_CIPHER_set_asn1_iv,
771 .get_asn1_parameters = EVP_CIPHER_get_asn1_iv, 755 .get_asn1_parameters = EVP_CIPHER_get_asn1_iv,
772 .ctrl = NULL, 756 .ctrl = NULL,
773 .app_data = NULL,
774}; 757};
775 758
776const EVP_CIPHER * 759const EVP_CIPHER *
@@ -812,7 +795,6 @@ static const EVP_CIPHER camellia_256_cfb8 = {
812 .set_asn1_parameters = EVP_CIPHER_set_asn1_iv, 795 .set_asn1_parameters = EVP_CIPHER_set_asn1_iv,
813 .get_asn1_parameters = EVP_CIPHER_get_asn1_iv, 796 .get_asn1_parameters = EVP_CIPHER_get_asn1_iv,
814 .ctrl = NULL, 797 .ctrl = NULL,
815 .app_data = NULL,
816}; 798};
817 799
818const EVP_CIPHER * 800const EVP_CIPHER *