summaryrefslogtreecommitdiffstats
path: root/ncr-sessions.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2010-06-16 10:46:50 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2010-06-17 20:49:05 +0200
commitbe400c1b6b84c4099a31fb8cdf4c4c087361f456 (patch)
treede6cd993c35de107276067f931836cdc003ce838 /ncr-sessions.c
parent4b08e60b009c56c595f862ce382a4b11f264170c (diff)
downloadcryptodev-linux-be400c1b6b84c4099a31fb8cdf4c4c087361f456.tar.gz
cryptodev-linux-be400c1b6b84c4099a31fb8cdf4c4c087361f456.tar.xz
cryptodev-linux-be400c1b6b84c4099a31fb8cdf4c4c087361f456.zip
corrected the digest size of SHA224.
Diffstat (limited to 'ncr-sessions.c')
-rw-r--r--ncr-sessions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ncr-sessions.c b/ncr-sessions.c
index 48bbcdf..032061c 100644
--- a/ncr-sessions.c
+++ b/ncr-sessions.c
@@ -120,7 +120,7 @@ static const struct algo_properties_st {
{ .algo = NCR_ALG_AES_ECB, .kstr = "ecb(aes)", .needs_iv = 0 },
{ .algo = NCR_ALG_SHA1, .kstr = "sha1", .needs_iv = 0, .digest_size = 20 },
{ .algo = NCR_ALG_MD5, .kstr = "md5", .needs_iv = 0, .digest_size = 16 },
- { .algo = NCR_ALG_SHA2_224, .kstr = "sha224", .needs_iv = 0, .digest_size = 24 },
+ { .algo = NCR_ALG_SHA2_224, .kstr = "sha224", .needs_iv = 0, .digest_size = 28 },
{ .algo = NCR_ALG_SHA2_256, .kstr = "sha256", .needs_iv = 0, .digest_size = 32 },
{ .algo = NCR_ALG_SHA2_384, .kstr = "sha384", .needs_iv = 0, .digest_size = 48 },
{ .algo = NCR_ALG_SHA2_512, .kstr = "sha512", .needs_iv = 0, .digest_size = 64 },