diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-08-22 17:34:36 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-08-22 17:34:36 +0000 |
commit | 0d4e55ae7f4910c8b58b007ca01a4090cd5ed22c (patch) | |
tree | 633b426c407ab2144980cb02e03db48d5f11361d | |
parent | 5adb5af5e2fde896ea3351e532a900338d91d52f (diff) |
add RC4 and SHA1 support
-rw-r--r-- | sys/crypto/cryptodev.h | 6 |
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 */ |