diff options
author | Werner Koch <wk@gnupg.org> | 2006-03-10 10:23:52 +0000 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2006-03-10 10:23:52 +0000 |
commit | f9ad9d6811da42f31488e8d079901695f064b4ee (patch) | |
tree | d9f94b7ac112390f7dcbead28cd105a155ffaf75 /src | |
parent | 5f2cbce7203a29440f37cd118df085de07d5032a (diff) | |
download | libgcrypt-f9ad9d6811da42f31488e8d079901695f064b4ee.tar.gz |
Applied pacthes from Brad Hards.
Note, that the HMAC tests for SHA-384 and SHA-512 are failing.
Diffstat (limited to 'src')
-rw-r--r-- | src/ChangeLog | 4 | ||||
-rw-r--r-- | src/cipher.h | 1 | ||||
-rw-r--r-- | src/gcrypt.h | 5 |
3 files changed, 8 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index d5a28257..76c4cfa8 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2006-03-10 Werner Koch <wk@g10code.com> + + * gcrypt.h: Add GCRY_MD_SHA224. + 2005-11-02 Moritz Schulte <moritz@g10code.com> * gcrypt.h: Update comments for functions: gcry_cipher_algo_name, diff --git a/src/cipher.h b/src/cipher.h index 1e0fbb9b..5422f2f5 100644 --- a/src/cipher.h +++ b/src/cipher.h @@ -67,6 +67,7 @@ extern gcry_md_spec_t _gcry_digest_spec_md4; extern gcry_md_spec_t _gcry_digest_spec_md5; extern gcry_md_spec_t _gcry_digest_spec_rmd160; extern gcry_md_spec_t _gcry_digest_spec_sha1; +extern gcry_md_spec_t _gcry_digest_spec_sha224; extern gcry_md_spec_t _gcry_digest_spec_sha256; extern gcry_md_spec_t _gcry_digest_spec_sha512; extern gcry_md_spec_t _gcry_digest_spec_sha384; diff --git a/src/gcrypt.h b/src/gcrypt.h index 63e7de9d..55ab4a76 100644 --- a/src/gcrypt.h +++ b/src/gcrypt.h @@ -1,6 +1,6 @@ /* gcrypt.h - GNU cryptographic library interface * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, - * 2004 Free Software Foundation, Inc. + * 2004, 2006 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * @@ -963,7 +963,8 @@ enum gcry_md_algos GCRY_MD_CRC32 = 302, GCRY_MD_CRC32_RFC1510 = 303, GCRY_MD_CRC24_RFC2440 = 304, - GCRY_MD_WHIRLPOOL = 305 + GCRY_MD_WHIRLPOOL = 305, + GCRY_MD_SHA224 = 306 }; /* Flags used with the open function. */ |