]> git.proxmox.com Git - grub2.git/commitdiff
* include/grub/crypto.h (GRUB_MD_CRC32): New definition.
authorSzymon Janc <szymon@janc.net.pl>
Sun, 5 Sep 2010 12:18:31 +0000 (14:18 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sun, 5 Sep 2010 12:18:31 +0000 (14:18 +0200)
ChangeLog
include/grub/crypto.h

index 33de07ea1e2c47c8e6b521e52ee4f08fee8706cd..6b81f6c677af46f03e315bce8ba55156d9b7b2a6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-09-05  Szymon Janc <szymon@janc.net.pl>
+
+       * include/grub/crypto.h (GRUB_MD_CRC32): New definition.
+
 2010-09-05  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * grub-core/io/gzio.c (grub_gzio_open): Removed "transparent" parameter.
index 48b52ee6519d3c312d12314fa9d8422efde97b8d..ebe78e7a1a1468b20c8f183815ab4c89a423e664 100644 (file)
@@ -243,10 +243,12 @@ extern gcry_md_spec_t _gcry_digest_spec_md5;
 extern gcry_md_spec_t _gcry_digest_spec_sha1;
 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_crc32;
 #define GRUB_MD_MD5 ((const gcry_md_spec_t *) &_gcry_digest_spec_md5)
 #define GRUB_MD_SHA1 ((const gcry_md_spec_t *) &_gcry_digest_spec_sha1)
 #define GRUB_MD_SHA256 ((const gcry_md_spec_t *) &_gcry_digest_spec_sha256)
 #define GRUB_MD_SHA512 ((const gcry_md_spec_t *) &_gcry_digest_spec_sha512)
+#define GRUB_MD_CRC32 ((const gcry_md_spec_t *) &_gcry_digest_spec_crc32)
 
 /* Implement PKCS#5 PBKDF2 as per RFC 2898.  The PRF to use is HMAC variant
    of digest supplied by MD.  Inputs are the password P of length PLEN,