diff options
Diffstat (limited to 'crypto/rsa/rsa_none.c')
-rw-r--r-- | crypto/rsa/rsa_none.c | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/crypto/rsa/rsa_none.c b/crypto/rsa/rsa_none.c index e944f84bec..6d43677a15 100644 --- a/crypto/rsa/rsa_none.c +++ b/crypto/rsa/rsa_none.c @@ -62,11 +62,8 @@ #include "rsa.h" #include "rand.h" -int RSA_padding_add_none(to,tlen,from,flen) -unsigned char *to; -int tlen; -unsigned char *from; -int flen; +int RSA_padding_add_none(unsigned char *to, int tlen, unsigned char *from, + int flen) { if (flen > tlen) { @@ -84,12 +81,8 @@ int flen; return(1); } -int RSA_padding_check_none(to,tlen,from,flen,num) -unsigned char *to; -int tlen; -unsigned char *from; -int flen; -int num; +int RSA_padding_check_none(unsigned char *to, int tlen, unsigned char *from, + int flen, int num) { if (flen > tlen) |