diff options
author | Ben Laurie <ben@openssl.org> | 2008-11-01 15:37:00 +0100 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2008-11-01 15:37:00 +0100 |
commit | 4d6e1e4f29de455b5e644ea9cae5d5f5a2dbef33 (patch) | |
tree | 9b43a103ede688bfb7b006837387dacb02ec3dc5 /crypto/bn/bn_nist.c | |
parent | Fix SHA512 and optimize BN for mingw64. (diff) | |
download | openssl-4d6e1e4f29de455b5e644ea9cae5d5f5a2dbef33.tar.xz openssl-4d6e1e4f29de455b5e644ea9cae5d5f5a2dbef33.zip |
size_tification.
Diffstat (limited to 'crypto/bn/bn_nist.c')
-rw-r--r-- | crypto/bn/bn_nist.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crypto/bn/bn_nist.c b/crypto/bn/bn_nist.c index ea991c95b1..4d07a0d94e 100644 --- a/crypto/bn/bn_nist.c +++ b/crypto/bn/bn_nist.c @@ -415,7 +415,8 @@ int BN_nist_mod_192(BIGNUM *r, const BIGNUM *a, const BIGNUM *field, return 1; } -typedef BN_ULONG (*bn_addsub_f)(BN_ULONG *,const BN_ULONG *,const BN_ULONG *,int); +typedef BN_ULONG (*bn_addsub_f)(BN_ULONG *, const BN_ULONG *, const BN_ULONG *, + size_t); #define nist_set_224(to, from, a1, a2, a3, a4, a5, a6, a7) \ { \ @@ -429,7 +430,7 @@ typedef BN_ULONG (*bn_addsub_f)(BN_ULONG *,const BN_ULONG *,const BN_ULONG *,int } int BN_nist_mod_224(BIGNUM *r, const BIGNUM *a, const BIGNUM *field, - BN_CTX *ctx) + BN_CTX *ctx) { int top = a->top, i; int carry; |