diff options
| author | tb <> | 2023-04-25 17:59:41 +0000 |
|---|---|---|
| committer | tb <> | 2023-04-25 17:59:41 +0000 |
| commit | 035b70fd24af22252e09a978a9eee99577845548 (patch) | |
| tree | 485d9abc8616aa41a43f791c6acc5a5ac9d37bb3 /src/lib/libcrypto/bn | |
| parent | c6ff6e6d0b18990be9d85a02fdf3241622890d01 (diff) | |
| download | openbsd-035b70fd24af22252e09a978a9eee99577845548.tar.gz openbsd-035b70fd24af22252e09a978a9eee99577845548.tar.bz2 openbsd-035b70fd24af22252e09a978a9eee99577845548.zip | |
BN_RECP_CTX moves to internal
Diffstat (limited to 'src/lib/libcrypto/bn')
| -rw-r--r-- | src/lib/libcrypto/bn/bn_local.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/bn/bn_local.h b/src/lib/libcrypto/bn/bn_local.h index 061544056b..24d91af462 100644 --- a/src/lib/libcrypto/bn/bn_local.h +++ b/src/lib/libcrypto/bn/bn_local.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: bn_local.h,v 1.20 2023/04/25 17:13:06 tb Exp $ */ | 1 | /* $OpenBSD: bn_local.h,v 1.21 2023/04/25 17:59:41 tb Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -141,13 +141,13 @@ struct bn_mont_ctx_st { | |||
| 141 | /* Used for reciprocal division/mod functions | 141 | /* Used for reciprocal division/mod functions |
| 142 | * It cannot be shared between threads | 142 | * It cannot be shared between threads |
| 143 | */ | 143 | */ |
| 144 | struct bn_recp_ctx_st { | 144 | typedef struct bn_recp_ctx_st { |
| 145 | BIGNUM N; /* the divisor */ | 145 | BIGNUM N; /* the divisor */ |
| 146 | BIGNUM Nr; /* the reciprocal */ | 146 | BIGNUM Nr; /* the reciprocal */ |
| 147 | int num_bits; | 147 | int num_bits; |
| 148 | int shift; | 148 | int shift; |
| 149 | int flags; | 149 | int flags; |
| 150 | }; | 150 | } BN_RECP_CTX; |
| 151 | 151 | ||
| 152 | /* Used for slow "generation" functions. */ | 152 | /* Used for slow "generation" functions. */ |
| 153 | struct bn_gencb_st { | 153 | struct bn_gencb_st { |
