diff options
author | Ulf Möller <ulf@openssl.org> | 2000-02-05 10:41:05 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 2000-02-05 10:41:05 +0000 |
commit | c236e66d628ec4a7d24612dd5c94c35c6b170af8 (patch) | |
tree | 3633b455af6ade2c3ed35fcc510e4e7bdc2e8ee0 /crypto/rc4 | |
parent | 981b87f7120ee38afb797c48edf4a6f16ef28053 (diff) |
Document RC4.
Diffstat (limited to 'crypto/rc4')
-rw-r--r-- | crypto/rc4/rc4.h | 4 | ||||
-rw-r--r-- | crypto/rc4/rc4_enc.c | 2 | ||||
-rw-r--r-- | crypto/rc4/rc4_skey.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/crypto/rc4/rc4.h b/crypto/rc4/rc4.h index 7418c2a9a2..8556dddab0 100644 --- a/crypto/rc4/rc4.h +++ b/crypto/rc4/rc4.h @@ -77,8 +77,8 @@ typedef struct rc4_key_st const char *RC4_options(void); -void RC4_set_key(RC4_KEY *key, int len, unsigned char *data); -void RC4(RC4_KEY *key, unsigned long len, unsigned char *indata, +void RC4_set_key(RC4_KEY *key, int len, const unsigned char *data); +void RC4(RC4_KEY *key, unsigned long len, const unsigned char *indata, unsigned char *outdata); #ifdef __cplusplus diff --git a/crypto/rc4/rc4_enc.c b/crypto/rc4/rc4_enc.c index 35dbc7c47e..d5f18a3a70 100644 --- a/crypto/rc4/rc4_enc.c +++ b/crypto/rc4/rc4_enc.c @@ -67,7 +67,7 @@ * Date: Wed, 14 Sep 1994 06:35:31 GMT */ -void RC4(RC4_KEY *key, unsigned long len, unsigned char *indata, +void RC4(RC4_KEY *key, unsigned long len, const unsigned char *indata, unsigned char *outdata) { register RC4_INT *d; diff --git a/crypto/rc4/rc4_skey.c b/crypto/rc4/rc4_skey.c index c67a445f1f..bb10c1ebe2 100644 --- a/crypto/rc4/rc4_skey.c +++ b/crypto/rc4/rc4_skey.c @@ -85,7 +85,7 @@ const char *RC4_options(void) * Date: Wed, 14 Sep 1994 06:35:31 GMT */ -void RC4_set_key(RC4_KEY *key, int len, register unsigned char *data) +void RC4_set_key(RC4_KEY *key, int len, const unsigned char *data) { register RC4_INT tmp; register int id1,id2; |