- 12 Nov, 2013 1 commit
-
-
Vladimir Serbinenko authored
-
- 18 Oct, 2013 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
not doing embedded decompressor.
-
- 23 Aug, 2013 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
error.
-
- 14 Jan, 2013 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
* grub-core/Makefile.core.def (mpi): Add mpi-inline.c. * grub-core/lib/libgcrypt_wrap/cipher_wrap.h: Remove redundant declarations. * grub-core/lib/posix_wrap/string.h: Include sys/types.h. * grub-core/lib/posix_wrap/sys/types.h: Add common types. * grub-core/lib/xzembed/xz_dec_lzma2.c (dict_put): Replace byte identifier with b. * grub-core/lib/xzembed/xz_dec_stream.c (dec_vli): Likewise. * include/grub/crypto.h: Add type defines. * util/import_gcrypth.sed: Remove duplicate type defines.
-
- 22 Jul, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
if hash function is unavailable. (dec_stream_header): Likewise.
-
- 29 Feb, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
for context.
-
- 22 Feb, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
condition to avoid possibly infinite loops. * grub-core/lib/pbkdf2.c (grub_crypto_pbkdf2): Likewise. * grub-core/lib/xzembed/xz_dec_bcj.c (bcj_powerpc): Likewise.
-
- 23 Jan, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
infinite recursion using counter. * grub-core/lib/xzembed/xz_dec_stream.c (xz_dec_init): Defer s->crc32 init to skip it if the magic check fails. (dec_stream_header): Init s->crc32.
-
- 18 Jan, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
* configure.ac: Define GRUB_TARGET_CPU_XYZ series. * grub-core/lib/xzembed/xz_config.h: Use GRUB_TARGET_CPU_XYZ.
-
- 26 Dec, 2011 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
* Makefile.util.def (libgrubmods.a): Add xzembed directory to cppflags. Add xzembed source files. * grub-core/Makefile.core.def (squash4): Add xzembed and minilzo flags. * grub-core/fs/squash4.c (grub_squash_super): New field compression. (grub_squash_inode): New subtype long_dir. (SQUASH_TYPE_LONG_DIR): New inode type. (COMPRESSION): New enum. (XZBUFSIZ): New const. (grub_squash_data): New fields blksz, decompress, xzdec, xzbuf. (read_chunk): Use data->decompress. (zlib_decompress): New function. (lzo_decompress): Likewise. (xz_decompress): Likewise. (squash_mount): Set new data fields. (grub_squash_iterate_dir): Handle long dir. (squash_unmount): Free xzdec and xzbuf. (grub_squash_open): Check ino type. (direct_read): Stylistic fixes. Use data->decompress. (grub_squash_read_data): Likewise. * grub-core/io/gzio.c (grub_gzio): Remove disk_input. (get_byte): Likewise. (grub_zlib_disk_read): Removed. * grub-core/lib/posix_wrap/sys/types.h (ssize_t): New type. (GRUB_POSIX_BOOL_DEFINED): New define. * grub-core/lib/posix_wrap/unistd.h: Include sys/types.h. * grub-core/lib/xzembed/xz.h: Addmissing includes. [!GRUB_POSIX_BOOL_DEFINED]: Define bool. * include/grub/deflate.h (grub_zlib_disk_read): Removed.
-
- 11 Nov, 2011 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
* grub-core/lib/xzembed/xz_dec_stream.c (xz_dec): Restrict hash_id to normal decoder. (hashes): Use in embed decoder as well (for sizes). (dec_stream_header): Fix embed decompressor logic. (dec_stream_footer): Likewise.
-
- 03 Nov, 2011 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
* 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.
-
- 21 Sep, 2010 2 commits
-
-
Vladimir 'phcoder' Serbinenko authored
-
Vladimir 'phcoder' Serbinenko authored
-
- 15 Sep, 2010 2 commits
-
-
Szymon Janc authored
CRC calculations and validity checks. * grub-core/lib/xzembed/xz_dec_stream.c (dec_index): Fix index CRC calculations.
-
Szymon Janc authored
-
- 12 Sep, 2010 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
pointer.
-
- 05 Sep, 2010 1 commit
-
-
Szymon Janc authored
* grub-core/io/xzio.c: New file. * grub-core/lib/xzembed/xz.h: New file (from xembed). * grub-core/lib/xzembed/xz_config.h: Likewise. * grub-core/lib/xzembed/xz_dec_bcj.c: Likewise. * grub-core/lib/xzembed/xz_dec_lzma2.c: Likewise. * grub-core/lib/xzembed/xz_dec_stream.c: Likewise. * grub-core/lib/xzembed/xz_lzma2.h: Likewise. * grub-core/lib/xzembed/xz_private.h: Likewise. * grub-core/lib/xzembed/xz_stream.h: Likewise. * include/grub/file.h (grub_file_filter_id): New compression filter GRUB_FILE_FILTER_XZIO.
-