X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=crypto%2Frsa%2Frsa_none.c;h=e6f3e627ca1ab8b2cb51d5136ddff81b170994de;hp=e944f84bec39c6b9146b539b27329314c3ac207f;hb=2e4d15fd0484fe07e298b00041ac8f9a0579d9e5;hpb=0c8a1281d09525924f0b9d96fa7674db258747e3 diff --git a/crypto/rsa/rsa_none.c b/crypto/rsa/rsa_none.c index e944f84bec..e6f3e627ca 100644 --- a/crypto/rsa/rsa_none.c +++ b/crypto/rsa/rsa_none.c @@ -58,15 +58,12 @@ #include #include "cryptlib.h" -#include "bn.h" -#include "rsa.h" -#include "rand.h" +#include +#include +#include -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, + const 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, + const unsigned char *from, int flen, int num) { if (flen > tlen)