summaryrefslogtreecommitdiff
path: root/sys/crypto/cryptodev.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-08-05 09:36:39 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-08-05 09:36:39 +0000
commit18727399c502e098f7134bed56faaaf6e539625e (patch)
tree3f7c5208fc0d6425cd7b2431f2f1697fdd7f4f48 /sys/crypto/cryptodev.h
parent9c04f7d457e62118444b8dd38c1d6f20784bb04f (diff)
put in tags for ARC4 to please ben, who now has no excuses
Diffstat (limited to 'sys/crypto/cryptodev.h')
-rw-r--r--sys/crypto/cryptodev.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/crypto/cryptodev.h b/sys/crypto/cryptodev.h
index 715d98d764d..f65f32dec22 100644
--- a/sys/crypto/cryptodev.h
+++ b/sys/crypto/cryptodev.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cryptodev.h,v 1.11 2001/07/05 08:34:12 angelos Exp $ */
+/* $OpenBSD: cryptodev.h,v 1.12 2001/08/05 09:36:38 deraadt Exp $ */
/*
* The author of this code is Angelos D. Keromytis (angelos@cis.upenn.edu)
@@ -84,7 +84,7 @@
#define CRYPTO_SHA1_KPDK 10
#define CRYPTO_RIJNDAEL128_CBC 11 /* 128 bit blocksize */
#define CRYPTO_AES_CBC 11 /* 128 bit blocksize -- the same as above */
-#define CRYPTO_ALGORITHM_MAX 18 /* Keep updated - see below */
+#define CRYPTO_ARC4 19
/* Begin public key additions */
#define CRYPTO_DH_SEND 12 /* Compute public value */
@@ -97,6 +97,8 @@
/* Compression */
#define CRYPTO_DEFLATE_COMP 18 /* Deflate compression algorithm */
+#define CRYPTO_ALGORITHM_MAX 19 /* Keep updated - see below */
+
/* Algorithm flags */
#define CRYPTO_ALG_FLAG_SUPPORTED 0x00000001 /* Algorithm is supported */
#define CRYPTO_ALG_FLAG_RNG_ENABLE 0x00000002 /* Has HW RNG for DH/DSA */