summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 f65f32dec22..1ec51bca27f 100644
--- a/sys/crypto/cryptodev.h
+++ b/sys/crypto/cryptodev.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cryptodev.h,v 1.12 2001/08/05 09:36:38 deraadt Exp $ */
+/* $OpenBSD: cryptodev.h,v 1.13 2001/08/22 17:34:35 deraadt Exp $ */
/*
* The author of this code is Angelos D. Keromytis (angelos@cis.upenn.edu)
@@ -85,6 +85,8 @@
#define CRYPTO_RIJNDAEL128_CBC 11 /* 128 bit blocksize */
#define CRYPTO_AES_CBC 11 /* 128 bit blocksize -- the same as above */
#define CRYPTO_ARC4 19
+#define CRYPTO_MD5 20
+#define CRYPTO_SHA1 21
/* Begin public key additions */
#define CRYPTO_DH_SEND 12 /* Compute public value */
@@ -97,7 +99,7 @@
/* Compression */
#define CRYPTO_DEFLATE_COMP 18 /* Deflate compression algorithm */
-#define CRYPTO_ALGORITHM_MAX 19 /* Keep updated - see below */
+#define CRYPTO_ALGORITHM_MAX 21 /* Keep updated - see below */
/* Algorithm flags */
#define CRYPTO_ALG_FLAG_SUPPORTED 0x00000001 /* Algorithm is supported */