summaryrefslogtreecommitdiff
path: root/lib/libcrypto/bn/bn_const.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcrypto/bn/bn_const.c')
-rw-r--r--lib/libcrypto/bn/bn_const.c58
1 files changed, 1 insertions, 57 deletions
diff --git a/lib/libcrypto/bn/bn_const.c b/lib/libcrypto/bn/bn_const.c
index b204eb0bc02..bf684c8a460 100644
--- a/lib/libcrypto/bn/bn_const.c
+++ b/lib/libcrypto/bn/bn_const.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bn_const.c,v 1.7 2023/07/10 03:26:30 tb Exp $ */
+/* $OpenBSD: bn_const.c,v 1.8 2023/07/28 10:07:30 tb Exp $ */
/* Insert boilerplate */
#include <openssl/bn.h>
@@ -24,13 +24,6 @@ static const unsigned char RFC2409_PRIME_768[] = {
};
BIGNUM *
-get_rfc2409_prime_768(BIGNUM *bn)
-{
- return BN_bin2bn(RFC2409_PRIME_768, sizeof(RFC2409_PRIME_768), bn);
-}
-LCRYPTO_ALIAS(get_rfc2409_prime_768);
-
-BIGNUM *
BN_get_rfc2409_prime_768(BIGNUM *bn)
{
return BN_bin2bn(RFC2409_PRIME_768, sizeof(RFC2409_PRIME_768), bn);
@@ -61,13 +54,6 @@ static const unsigned char RFC2409_PRIME_1024[] = {
};
BIGNUM *
-get_rfc2409_prime_1024(BIGNUM *bn)
-{
- return BN_bin2bn(RFC2409_PRIME_1024, sizeof(RFC2409_PRIME_1024), bn);
-}
-LCRYPTO_ALIAS(get_rfc2409_prime_1024);
-
-BIGNUM *
BN_get_rfc2409_prime_1024(BIGNUM *bn)
{
return BN_bin2bn(RFC2409_PRIME_1024, sizeof(RFC2409_PRIME_1024), bn);
@@ -103,13 +89,6 @@ static const unsigned char RFC3526_PRIME_1536[] = {
};
BIGNUM *
-get_rfc3526_prime_1536(BIGNUM *bn)
-{
- return BN_bin2bn(RFC3526_PRIME_1536, sizeof(RFC3526_PRIME_1536), bn);
-}
-LCRYPTO_ALIAS(get_rfc3526_prime_1536);
-
-BIGNUM *
BN_get_rfc3526_prime_1536(BIGNUM *bn)
{
return BN_bin2bn(RFC3526_PRIME_1536, sizeof(RFC3526_PRIME_1536), bn);
@@ -150,13 +129,6 @@ static const unsigned char RFC3526_PRIME_2048[] = {
};
BIGNUM *
-get_rfc3526_prime_2048(BIGNUM *bn)
-{
- return BN_bin2bn(RFC3526_PRIME_2048, sizeof(RFC3526_PRIME_2048), bn);
-}
-LCRYPTO_ALIAS(get_rfc3526_prime_2048);
-
-BIGNUM *
BN_get_rfc3526_prime_2048(BIGNUM *bn)
{
return BN_bin2bn(RFC3526_PRIME_2048, sizeof(RFC3526_PRIME_2048), bn);
@@ -207,13 +179,6 @@ static const unsigned char RFC3526_PRIME_3072[] = {
};
BIGNUM *
-get_rfc3526_prime_3072(BIGNUM *bn)
-{
- return BN_bin2bn(RFC3526_PRIME_3072, sizeof(RFC3526_PRIME_3072), bn);
-}
-LCRYPTO_ALIAS(get_rfc3526_prime_3072);
-
-BIGNUM *
BN_get_rfc3526_prime_3072(BIGNUM *bn)
{
return BN_bin2bn(RFC3526_PRIME_3072, sizeof(RFC3526_PRIME_3072), bn);
@@ -275,13 +240,6 @@ static const unsigned char RFC3526_PRIME_4096[] = {
};
BIGNUM *
-get_rfc3526_prime_4096(BIGNUM *bn)
-{
- return BN_bin2bn(RFC3526_PRIME_4096, sizeof(RFC3526_PRIME_4096), bn);
-}
-LCRYPTO_ALIAS(get_rfc3526_prime_4096);
-
-BIGNUM *
BN_get_rfc3526_prime_4096(BIGNUM *bn)
{
return BN_bin2bn(RFC3526_PRIME_4096, sizeof(RFC3526_PRIME_4096), bn);
@@ -364,13 +322,6 @@ static const unsigned char RFC3526_PRIME_6144[] = {
};
BIGNUM *
-get_rfc3526_prime_6144(BIGNUM *bn)
-{
- return BN_bin2bn(RFC3526_PRIME_6144, sizeof(RFC3526_PRIME_6144), bn);
-}
-LCRYPTO_ALIAS(get_rfc3526_prime_6144);
-
-BIGNUM *
BN_get_rfc3526_prime_6144(BIGNUM *bn)
{
return BN_bin2bn(RFC3526_PRIME_6144, sizeof(RFC3526_PRIME_6144), bn);
@@ -475,13 +426,6 @@ static const unsigned char RFC3526_PRIME_8192[] = {
};
BIGNUM *
-get_rfc3526_prime_8192(BIGNUM *bn)
-{
- return BN_bin2bn(RFC3526_PRIME_8192, sizeof(RFC3526_PRIME_8192), bn);
-}
-LCRYPTO_ALIAS(get_rfc3526_prime_8192);
-
-BIGNUM *
BN_get_rfc3526_prime_8192(BIGNUM *bn)
{
return BN_bin2bn(RFC3526_PRIME_8192, sizeof(RFC3526_PRIME_8192), bn);