summaryrefslogtreecommitdiff
path: root/lib/libcrypto
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2023-04-25 17:59:42 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2023-04-25 17:59:42 +0000
commit63635e437367da5fe140927b5dac972c8b82a1f1 (patch)
tree541228b347eba9717250a719a5ebeab224d8f365 /lib/libcrypto
parentcfa061a6128d762200f45f8ee070c8cfb3b3db14 (diff)
BN_RECP_CTX moves to internal
Diffstat (limited to 'lib/libcrypto')
-rw-r--r--lib/libcrypto/bn/bn_local.h6
-rw-r--r--lib/libcrypto/ossl_typ.h3
2 files changed, 4 insertions, 5 deletions
diff --git a/lib/libcrypto/bn/bn_local.h b/lib/libcrypto/bn/bn_local.h
index 061544056b4..24d91af462f 100644
--- a/lib/libcrypto/bn/bn_local.h
+++ b/lib/libcrypto/bn/bn_local.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bn_local.h,v 1.20 2023/04/25 17:13:06 tb Exp $ */
+/* $OpenBSD: bn_local.h,v 1.21 2023/04/25 17:59:41 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -141,13 +141,13 @@ struct bn_mont_ctx_st {
/* Used for reciprocal division/mod functions
* It cannot be shared between threads
*/
-struct bn_recp_ctx_st {
+typedef struct bn_recp_ctx_st {
BIGNUM N; /* the divisor */
BIGNUM Nr; /* the reciprocal */
int num_bits;
int shift;
int flags;
-};
+} BN_RECP_CTX;
/* Used for slow "generation" functions. */
struct bn_gencb_st {
diff --git a/lib/libcrypto/ossl_typ.h b/lib/libcrypto/ossl_typ.h
index 7edab013763..b45f546cc07 100644
--- a/lib/libcrypto/ossl_typ.h
+++ b/lib/libcrypto/ossl_typ.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ossl_typ.h,v 1.23 2023/04/16 08:17:04 tb Exp $ */
+/* $OpenBSD: ossl_typ.h,v 1.24 2023/04/25 17:59:41 tb Exp $ */
/* ====================================================================
* Copyright (c) 1998-2001 The OpenSSL Project. All rights reserved.
*
@@ -89,7 +89,6 @@ typedef struct bignum_st BIGNUM;
typedef struct bignum_ctx BN_CTX;
typedef struct bn_blinding_st BN_BLINDING;
typedef struct bn_mont_ctx_st BN_MONT_CTX;
-typedef struct bn_recp_ctx_st BN_RECP_CTX;
typedef struct bn_gencb_st BN_GENCB;
typedef struct bio_st BIO;