diff options
author | jsing <> | 2024-04-16 13:07:14 +0000 |
---|---|---|
committer | jsing <> | 2024-04-16 13:07:14 +0000 |
commit | db66035fd51044e8930ad8523d3210f358a39b32 (patch) | |
tree | 28030f92b2cde00057efbea070cb5b2e1940e42a /src/lib/libcrypto/bn/bn_local.h | |
parent | e03bf717d1c2f2ba657a6fdd6993fa1299c5cef6 (diff) | |
download | openbsd-db66035fd51044e8930ad8523d3210f358a39b32.tar.gz openbsd-db66035fd51044e8930ad8523d3210f358a39b32.tar.bz2 openbsd-db66035fd51044e8930ad8523d3210f358a39b32.zip |
Provide bn_expand_bytes().
This will be used in an upcoming change.
ok tb@
Diffstat (limited to '')
-rw-r--r-- | src/lib/libcrypto/bn/bn_local.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libcrypto/bn/bn_local.h b/src/lib/libcrypto/bn/bn_local.h index cffc5a2ea1..58b5d54903 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.42 2024/04/16 13:04:05 jsing Exp $ */ | 1 | /* $OpenBSD: bn_local.h,v 1.43 2024/04/16 13:07:14 jsing 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 | * |
@@ -260,6 +260,7 @@ int bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, | |||
260 | 260 | ||
261 | void bn_correct_top(BIGNUM *a); | 261 | void bn_correct_top(BIGNUM *a); |
262 | int bn_expand_bits(BIGNUM *a, size_t bits); | 262 | int bn_expand_bits(BIGNUM *a, size_t bits); |
263 | int bn_expand_bytes(BIGNUM *a, size_t bytes); | ||
263 | int bn_wexpand(BIGNUM *a, int words); | 264 | int bn_wexpand(BIGNUM *a, int words); |
264 | 265 | ||
265 | BN_ULONG bn_add_words(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, | 266 | BN_ULONG bn_add_words(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, |