summaryrefslogtreecommitdiffstats
path: root/sys/crypto/blowfish/blowfish.h
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2003-10-13 19:26:08 +0000
committerume <ume@FreeBSD.org>2003-10-13 19:26:08 +0000
commita89e9b5e91fc6ad727421aa848660888ddb46ad9 (patch)
treef318db0e1b9e14c70285efe99a0cf03bceaf0650 /sys/crypto/blowfish/blowfish.h
parentfd41336ef5a14e7f322b0a8af359c45ce03d4cc8 (diff)
downloadFreeBSD-src-a89e9b5e91fc6ad727421aa848660888ddb46ad9.zip
FreeBSD-src-a89e9b5e91fc6ad727421aa848660888ddb46ad9.tar.gz
use BF_ecb_encrypt().
Obtained from: KAME
Diffstat (limited to 'sys/crypto/blowfish/blowfish.h')
-rw-r--r--sys/crypto/blowfish/blowfish.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/crypto/blowfish/blowfish.h b/sys/crypto/blowfish/blowfish.h
index 5b63b15..ecc1407 100644
--- a/sys/crypto/blowfish/blowfish.h
+++ b/sys/crypto/blowfish/blowfish.h
@@ -83,8 +83,8 @@ typedef struct bf_key_st {
void BF_set_key(BF_KEY *, int, unsigned char *);
void BF_encrypt(BF_LONG *, BF_KEY *);
void BF_decrypt(BF_LONG *, BF_KEY *);
-void BF_cbc_encrypt(const unsigned char *, unsigned char *, long,
- const BF_KEY *, unsigned char *, int);
+void BF_ecb_encrypt(const unsigned char *, unsigned char *,
+ BF_KEY *, int);
#ifdef __cplusplus
}
OpenPOWER on IntegriCloud