diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-01-26 16:59:47 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-01-26 16:59:47 +0000 |
commit | 879bd6e38cad7fc932b37ca0b3ceb34d582910f6 (patch) | |
tree | 0c48bef75dad8376876f4d6a1bb8c55a298143ff /crypto/bn/bn_lcl.h | |
parent | 6f1a3a310c35b74691c9f91442d204d52b4ddbcb (diff) | |
download | openssl-879bd6e38cad7fc932b37ca0b3ceb34d582910f6.tar.gz |
Internal version of BN_mod_inverse allowing checking of no-inverse without
need to inspect error queue.
Diffstat (limited to 'crypto/bn/bn_lcl.h')
-rw-r--r-- | crypto/bn/bn_lcl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/bn/bn_lcl.h b/crypto/bn/bn_lcl.h index d7dff0d90c..ce085b5d3f 100644 --- a/crypto/bn/bn_lcl.h +++ b/crypto/bn/bn_lcl.h @@ -497,6 +497,9 @@ BN_ULONG bn_sub_part_words(BN_ULONG *r, const BN_ULONG *a, const BN_ULONG *b, int cl, int dl); int bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, const BN_ULONG *np,const BN_ULONG *n0, int num); +BIGNUM *int_bn_mod_inverse(BIGNUM *in, + const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx, int *noinv); + #ifdef __cplusplus } #endif |