diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2003-07-24 15:29:39 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2003-07-24 15:29:39 +0000 |
commit | 74725adf1d8bc31412a26189dd300270ff1a1b83 (patch) | |
tree | 21e1ed7277e225018b3b070e6510278ca206d75e /sys/crypto | |
parent | 4efccbf539ae7f3602fb1f07769cbc4aee961431 (diff) |
increase ALG_MAX_RESULT_LEN to 64 bytes for sha2-512
Diffstat (limited to 'sys/crypto')
-rw-r--r-- | sys/crypto/cryptodev.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/crypto/cryptodev.h b/sys/crypto/cryptodev.h index 2f63d63cd73..b4bac3a7e58 100644 --- a/sys/crypto/cryptodev.h +++ b/sys/crypto/cryptodev.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cryptodev.h,v 1.40 2003/07/24 08:03:19 itojun Exp $ */ +/* $OpenBSD: cryptodev.h,v 1.41 2003/07/24 15:29:38 markus Exp $ */ /* * The author of this code is Angelos D. Keromytis (angelos@cis.upenn.edu) @@ -73,7 +73,7 @@ #define EALG_MAX_BLOCK_LEN 16 /* Keep this updated */ /* Maximum hash algorithm result length */ -#define AALG_MAX_RESULT_LEN 20 /* Keep this updated */ +#define AALG_MAX_RESULT_LEN 64 /* Keep this updated */ #define CRYPTO_DES_CBC 1 #define CRYPTO_3DES_CBC 2 |