diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2023-04-25 17:59:42 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2023-04-25 17:59:42 +0000 |
commit | 63635e437367da5fe140927b5dac972c8b82a1f1 (patch) | |
tree | 541228b347eba9717250a719a5ebeab224d8f365 /lib/libcrypto/bn | |
parent | cfa061a6128d762200f45f8ee070c8cfb3b3db14 (diff) |
BN_RECP_CTX moves to internal
Diffstat (limited to 'lib/libcrypto/bn')
-rw-r--r-- | lib/libcrypto/bn/bn_local.h | 6 |
1 files changed, 3 insertions, 3 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 { |