diff options
author | ulf <ulf> | 1999-04-19 21:25:39 +0000 |
---|---|---|
committer | ulf <ulf> | 1999-04-19 21:25:39 +0000 |
commit | c15c32f4b8c5290db6791c652d9187716bd3d15a (patch) | |
tree | 776c0c1c5687edc8659084b838ddaadbe6b9d29e /crypto/bn/bn_exp2.c | |
parent | cb859f5141c1672fc79d198b75426dd618b1fc25 (diff) | |
download | openssl-c15c32f4b8c5290db6791c652d9187716bd3d15a.tar.gz |
Change functions to ANSI C.
Diffstat (limited to 'crypto/bn/bn_exp2.c')
-rw-r--r-- | crypto/bn/bn_exp2.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/crypto/bn/bn_exp2.c b/crypto/bn/bn_exp2.c index eface739b..1132d5336 100644 --- a/crypto/bn/bn_exp2.c +++ b/crypto/bn/bn_exp2.c @@ -15,15 +15,8 @@ #define EXP2_TABLE_BITS 2 /* 1 2 3 4 5 */ #define EXP2_TABLE_SIZE 4 /* 2 4 8 16 32 */ -int BN_mod_exp2_mont(rr,a1,p1,a2,p2,m,ctx,in_mont) -BIGNUM *rr; -BIGNUM *a1; -BIGNUM *p1; -BIGNUM *a2; -BIGNUM *p2; -BIGNUM *m; -BN_CTX *ctx; -BN_MONT_CTX *in_mont; +int BN_mod_exp2_mont(BIGNUM *rr, BIGNUM *a1, BIGNUM *p1, BIGNUM *a2, + BIGNUM *p2, BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *in_mont) { int i,j,k,bits,bits1,bits2,ret=0,wstart,wend,window,xvalue,yvalue; int start=1,ts=0,x,y; |