summaryrefslogtreecommitdiff
path: root/sys/crypto/xform.c
diff options
context:
space:
mode:
authorben <ben@cvs.openbsd.org>2001-08-17 17:37:13 +0000
committerben <ben@cvs.openbsd.org>2001-08-17 17:37:13 +0000
commit28b2d9097068b462496fc34c136f0f46450dc3a9 (patch)
tree1e6c80a6c22f80eed4f35ca3dc9d01ba79c7d1c7 /sys/crypto/xform.c
parent1752b499d786f793c3a03f398dff1e2ec31ac675 (diff)
Add RC4 support.
Diffstat (limited to 'sys/crypto/xform.c')
-rw-r--r--sys/crypto/xform.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/crypto/xform.c b/sys/crypto/xform.c
index c431cff0ea3..9ebb2063f85 100644
--- a/sys/crypto/xform.c
+++ b/sys/crypto/xform.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xform.c,v 1.13 2001/08/08 15:12:09 jjbg Exp $ */
+/* $OpenBSD: xform.c,v 1.14 2001/08/17 17:37:12 ben Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
* Angelos D. Keromytis (kermit@csd.uch.gr) and
@@ -147,6 +147,15 @@ struct enc_xform enc_xform_rijndael128 = {
rijndael128_zerokey,
};
+struct enc_xform enc_xform_arc4 = {
+ CRYPTO_ARC4, "ARC4",
+ 1, 1, 32,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+};
+
/* Authentication instances */
struct auth_hash auth_hash_hmac_md5_96 = {
CRYPTO_MD5_HMAC, "HMAC-MD5",