diff options
author | Richard Levitte <levitte@openssl.org> | 2000-02-08 14:19:14 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2000-02-08 14:19:14 +0000 |
commit | cf0694015e8fcb6cd09f191299b6ad9d8793760e (patch) | |
tree | 8248f5e06d1b1f5da5c9fe4e65dd1a012503a7c0 /crypto/bf/bf_ecb.c | |
parent | 0cd4498b8f32bb0cb60724c42aa1014f724b2f2c (diff) |
Constify
Diffstat (limited to 'crypto/bf/bf_ecb.c')
-rw-r--r-- | crypto/bf/bf_ecb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/bf/bf_ecb.c b/crypto/bf/bf_ecb.c index d8d6fff0ff..341991636f 100644 --- a/crypto/bf/bf_ecb.c +++ b/crypto/bf/bf_ecb.c @@ -78,17 +78,17 @@ const char *BF_options(void) #endif } -void BF_ecb_encrypt(unsigned char *in, unsigned char *out, BF_KEY *ks, - int encrypt) +void BF_ecb_encrypt(const unsigned char *in, unsigned char *out, + const BF_KEY *key, int encrypt) { BF_LONG l,d[2]; n2l(in,l); d[0]=l; n2l(in,l); d[1]=l; if (encrypt) - BF_encrypt(d,ks); + BF_encrypt(d,key); else - BF_decrypt(d,ks); + BF_decrypt(d,key); l=d[0]; l2n(l,out); l=d[1]; l2n(l,out); l=d[0]=d[1]=0; |