Vladimir 'phcoder' Serbinenko
158dc1ea26
XZ CRC64 and SHA256 support.
* Makefile.util.def (libgrubmods): Add crc64.c.
* grub-core/Makefile.core.def (crc64): New module.
* grub-core/lib/crc64.c: New file.
* grub-core/lib/xzembed/xz_dec_stream.c (xz_dec_hash)
[!GRUB_EMBED_DECOMPRESSOR]: Rename crc32_context to hash_context.
Fix the type.
(MAX_HASH_SIZE): New define.
(xz_dec) [!GRUB_EMBED_DECOMPRESSOR]: Add generic hash fields.
(dec_block) [!GRUB_EMBED_DECOMPRESSOR]: Handle non-crc32 hashes.
(index_update) [!GRUB_EMBED_DECOMPRESSOR]: Likewise.
(dec_index) [!GRUB_EMBED_DECOMPRESSOR]: Likewise.
(crc32_validate) [!GRUB_EMBED_DECOMPRESSOR]: Rename to ...
(hash_validate) [!GRUB_EMBED_DECOMPRESSOR]: ... this.
Handle non-crc32 hashes.
(hashes) [!GRUB_EMBED_DECOMPRESSOR]: New variable.
(dec_stream_header): Handle non-crc32 hashes.
(dec_stream_footer): Likewise.
(dec_block_header): Likewise.
(dec_main): Likewise.
(xz_dec_init): Likewise.
(xz_dec_reset): Likewise.
(xz_dec_end): Likewise.
* util/import_gcry.py: Add CRC64 line.
2011-11-03 15:13:30 +01:00
..
2011-09-28 14:19:21 +02:00
2011-10-23 22:40:26 +02:00
2010-09-15 14:46:53 +02:00
2011-10-23 23:20:11 +02:00
2010-10-18 22:50:01 +02:00
2010-11-02 22:51:51 +00:00
2011-08-10 22:24:02 +02:00
2009-04-22 09:57:39 +00:00
2011-10-15 18:37:55 +02:00
2010-09-21 11:17:54 +02:00
2011-10-30 13:18:22 +01:00
2011-10-23 22:53:21 +02:00
2011-01-10 23:41:58 +01:00
2010-09-24 09:19:57 +02:00
2011-01-10 23:57:49 +01:00
2011-09-05 13:58:33 +01:00
2011-07-07 23:52:58 +02:00
2010-07-02 19:35:07 +02:00
2011-01-12 12:49:16 +01:00
2011-10-20 08:13:00 +02:00
2011-05-08 17:07:40 +02:00
2011-01-11 09:08:57 -06:00
2011-10-23 22:53:21 +02:00
2011-07-07 23:52:58 +02:00
2010-09-24 09:19:57 +02:00
2011-07-25 07:57:29 +02:00
2011-08-19 22:46:11 +02:00
2011-05-14 17:47:59 +02:00
2011-08-15 23:30:11 +01:00
2010-09-08 17:25:29 +02:00
2010-12-03 08:55:57 +05:30
2010-09-08 17:25:29 +02:00
2011-10-23 23:22:38 +02:00
2011-11-03 15:13:30 +01:00
2010-07-17 19:27:18 +01:00
2011-10-09 21:13:00 +02:00
2011-09-29 10:39:44 +02:00
2011-07-08 13:33:12 +02:00
2010-09-24 09:19:57 +02:00
2011-07-02 21:22:19 +02:00