diff options
Diffstat (limited to 'src/lib/libcrypto/evp/evp_names.c')
-rw-r--r-- | src/lib/libcrypto/evp/evp_names.c | 67 |
1 files changed, 1 insertions, 66 deletions
diff --git a/src/lib/libcrypto/evp/evp_names.c b/src/lib/libcrypto/evp/evp_names.c index 2936c36622..83c2f53840 100644 --- a/src/lib/libcrypto/evp/evp_names.c +++ b/src/lib/libcrypto/evp/evp_names.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: evp_names.c,v 1.12 2024/03/02 10:13:13 tb Exp $ */ | 1 | /* $OpenBSD: evp_names.c,v 1.13 2024/03/24 06:05:41 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2023 Theo Buehler <tb@openbsd.org> | 3 | * Copyright (c) 2023 Theo Buehler <tb@openbsd.org> |
4 | * | 4 | * |
@@ -415,13 +415,6 @@ static const struct cipher_name cipher_names[] = { | |||
415 | }, | 415 | }, |
416 | #endif /* OPENSSL_NO_DES */ | 416 | #endif /* OPENSSL_NO_DES */ |
417 | 417 | ||
418 | #ifndef OPENSSL_NO_GOST | ||
419 | { | ||
420 | .name = LN_id_Gost28147_89, | ||
421 | .cipher = EVP_gost2814789_cfb64, | ||
422 | }, | ||
423 | #endif /* OPENSSL_NO_GOST */ | ||
424 | |||
425 | #ifndef OPENSSL_NO_IDEA | 418 | #ifndef OPENSSL_NO_IDEA |
426 | { | 419 | { |
427 | .name = "IDEA", | 420 | .name = "IDEA", |
@@ -917,21 +910,6 @@ static const struct cipher_name cipher_names[] = { | |||
917 | }, | 910 | }, |
918 | #endif /* OPENSSL_NO_DES */ | 911 | #endif /* OPENSSL_NO_DES */ |
919 | 912 | ||
920 | #ifndef OPENSSL_NO_GOST | ||
921 | { | ||
922 | .name = SN_id_Gost28147_89, | ||
923 | .cipher = EVP_gost2814789_cfb64, | ||
924 | }, | ||
925 | { | ||
926 | .name = SN_gost89_cnt, | ||
927 | .cipher = EVP_gost2814789_cnt, | ||
928 | }, | ||
929 | { | ||
930 | .name = SN_gost89_ecb, | ||
931 | .cipher = EVP_gost2814789_ecb, | ||
932 | }, | ||
933 | #endif /* OPENSSL_NO_GOST */ | ||
934 | |||
935 | #ifndef OPENSSL_NO_AES | 913 | #ifndef OPENSSL_NO_AES |
936 | { | 914 | { |
937 | .name = SN_aes_128_ccm, | 915 | .name = SN_aes_128_ccm, |
@@ -1087,24 +1065,6 @@ static const struct digest_name digest_names[] = { | |||
1087 | .alias = SN_sha1, | 1065 | .alias = SN_sha1, |
1088 | }, | 1066 | }, |
1089 | #endif | 1067 | #endif |
1090 | #ifndef OPENSSL_NO_GOST | ||
1091 | { | ||
1092 | .name = LN_id_Gost28147_89_MAC, | ||
1093 | .digest = EVP_gost2814789imit, | ||
1094 | }, | ||
1095 | { | ||
1096 | .name = LN_id_tc26_gost3411_2012_512, | ||
1097 | .digest = EVP_streebog512, | ||
1098 | }, | ||
1099 | { | ||
1100 | .name = LN_id_tc26_gost3411_2012_256, | ||
1101 | .digest = EVP_streebog256, | ||
1102 | }, | ||
1103 | { | ||
1104 | .name = LN_id_GostR3411_94, | ||
1105 | .digest = EVP_gostr341194, | ||
1106 | }, | ||
1107 | #endif /* OPENSSL_NO_GOST */ | ||
1108 | 1068 | ||
1109 | #ifndef OPENSSL_NO_MD4 | 1069 | #ifndef OPENSSL_NO_MD4 |
1110 | { | 1070 | { |
@@ -1356,13 +1316,6 @@ static const struct digest_name digest_names[] = { | |||
1356 | }, | 1316 | }, |
1357 | #endif /* OPENSSL_NO_SHA256 && OPENSSL_NO_EC */ | 1317 | #endif /* OPENSSL_NO_SHA256 && OPENSSL_NO_EC */ |
1358 | 1318 | ||
1359 | #ifndef OPENSSL_NO_GOST | ||
1360 | { | ||
1361 | .name = SN_id_Gost28147_89_MAC, | ||
1362 | .digest = EVP_gost2814789imit, | ||
1363 | }, | ||
1364 | #endif /* OPENSSL_NO_GOST */ | ||
1365 | |||
1366 | #if !defined(OPENSSL_NO_DSA) && !defined(OPENSSL_NO_SHA256) | 1319 | #if !defined(OPENSSL_NO_DSA) && !defined(OPENSSL_NO_SHA256) |
1367 | { | 1320 | { |
1368 | .name = SN_dsa_with_SHA224, | 1321 | .name = SN_dsa_with_SHA224, |
@@ -1492,13 +1445,6 @@ static const struct digest_name digest_names[] = { | |||
1492 | }, | 1445 | }, |
1493 | #endif | 1446 | #endif |
1494 | 1447 | ||
1495 | #ifndef OPENSSL_NO_GOST | ||
1496 | { | ||
1497 | .name = SN_id_GostR3411_94, | ||
1498 | .digest = EVP_gostr341194, | ||
1499 | }, | ||
1500 | #endif /* OPENSSL_NO_GOST */ | ||
1501 | |||
1502 | #ifndef OPENSSL_NO_RIPEMD | 1448 | #ifndef OPENSSL_NO_RIPEMD |
1503 | { | 1449 | { |
1504 | .name = "ripemd", | 1450 | .name = "ripemd", |
@@ -1661,17 +1607,6 @@ static const struct digest_name digest_names[] = { | |||
1661 | }, | 1607 | }, |
1662 | #endif /* OPENSSL_NO_SHA1 */ | 1608 | #endif /* OPENSSL_NO_SHA1 */ |
1663 | 1609 | ||
1664 | #ifndef OPENSSL_NO_GOST | ||
1665 | { | ||
1666 | .name = SN_id_tc26_gost3411_2012_256, | ||
1667 | .digest = EVP_streebog256, | ||
1668 | }, | ||
1669 | { | ||
1670 | .name = SN_id_tc26_gost3411_2012_512, | ||
1671 | .digest = EVP_streebog512, | ||
1672 | }, | ||
1673 | #endif /* OPENSSL_NO_GOST */ | ||
1674 | |||
1675 | #ifndef OPENSSL_NO_WHIRLPOOL | 1610 | #ifndef OPENSSL_NO_WHIRLPOOL |
1676 | { | 1611 | { |
1677 | .name = SN_whirlpool, | 1612 | .name = SN_whirlpool, |