diff options
author | Ulf Möller <ulf@openssl.org> | 1999-04-19 21:31:43 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 1999-04-19 21:31:43 +0000 |
commit | 6b691a5c85ddc4e407e32781841fee5c029506cd (patch) | |
tree | 436f1127406e1cacfe83dfcbfff824d89c47d834 /crypto/bn/bn_exp2.c | |
parent | 3edd7ed15de229230f74c79c3d71e7c9c674cf4f (diff) |
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 eface739b3..1132d53365 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; |