diff options
author | Ulf Möller <ulf@openssl.org> | 1999-04-19 23:31:43 +0200 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 1999-04-19 23:31:43 +0200 |
commit | 6b691a5c85ddc4e407e32781841fee5c029506cd (patch) | |
tree | 436f1127406e1cacfe83dfcbfff824d89c47d834 /crypto/rsa/rsa_oaep.c | |
parent | Finish off support for Certificate Policies extension. (diff) | |
download | openssl-6b691a5c85ddc4e407e32781841fee5c029506cd.tar.xz openssl-6b691a5c85ddc4e407e32781841fee5c029506cd.zip |
Change functions to ANSI C.
Diffstat (limited to 'crypto/rsa/rsa_oaep.c')
-rw-r--r-- | crypto/rsa/rsa_oaep.c | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/crypto/rsa/rsa_oaep.c b/crypto/rsa/rsa_oaep.c index 6907ba9969..44732460b3 100644 --- a/crypto/rsa/rsa_oaep.c +++ b/crypto/rsa/rsa_oaep.c @@ -13,13 +13,8 @@ int MGF1(unsigned char *mask, long len, unsigned char *seed, long seedlen); -int RSA_padding_add_PKCS1_OAEP(to, tlen, from, flen, param, plen) - unsigned char *to; - int tlen; - unsigned char *from; - int flen; - unsigned char *param; - int plen; +int RSA_padding_add_PKCS1_OAEP(unsigned char *to, int tlen, + unsigned char *from, int flen, unsigned char *param, int plen) { int i, emlen = tlen - 1; unsigned char *db, *seed; @@ -73,14 +68,9 @@ int RSA_padding_add_PKCS1_OAEP(to, tlen, from, flen, param, plen) return (1); } -int RSA_padding_check_PKCS1_OAEP(to, tlen, from, flen, num, param, plen) - unsigned char *to; - int tlen; - unsigned char *from; - int flen; - int num; - unsigned char *param; - int plen; +int RSA_padding_check_PKCS1_OAEP(unsigned char *to, int tlen, + unsigned char *from, int flen, int num, unsigned char *param, + int plen) { int i, dblen, mlen = -1; unsigned char *maskeddb; |