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-05-13 16:36:05 +02:00
2011-10-19 16:53:18 +02:00
2010-08-30 00:54:15 +02:00
2011-10-23 23:04:57 +02:00
2011-06-24 00:29:21 +02:00
2011-10-19 16:53:18 +02:00
2010-05-06 11:34:04 +05:30
2011-10-23 23:28:23 +02:00
2011-08-14 11:39:31 +02:00
2011-10-19 16:53:18 +02:00
2011-10-23 23:28:23 +02:00
2011-04-20 01:37:48 +02:00
2011-04-20 01:37:48 +02:00
2011-04-20 01:37:48 +02:00
2011-11-03 15:13:30 +01:00
2011-08-21 14:49:07 +02:00
2010-11-01 12:45:51 +01:00
2011-01-07 17:09:39 +01:00
2011-07-05 20:24:20 +02:00
2011-11-03 15:13:30 +01:00
2010-12-01 01:22:55 +01:00
2011-04-24 17:15:55 +02:00
2010-05-06 11:34:04 +05:30
2010-05-06 11:34:04 +05:30
2011-05-05 01:27:54 +02:00
2010-09-24 09:19:57 +02:00
2010-09-21 11:22:52 +02:00
2010-09-24 09:19:57 +02:00
2011-04-11 23:01:51 +02:00
2011-10-23 23:55:38 +02:00
2011-06-27 12:18:44 +02:00
2011-10-23 23:34:30 +02:00