platform_bootable_recovery/minzip
Doug Zongker 99916f0496 do verification and extraction on memory, not files
Changes minzip and recovery's file signature verification to work on
memory regions, rather than files.

For packages which are regular files, install.cpp now mmap()s them
into memory and then passes the mapped memory to the verifier and to
the minzip library.

Support for files which are raw block maps (which will be used when we
have packages written to encrypted data partitions) is present but
largely untested so far.

Bug: 12188746
Change-Id: I12cc3e809834745a489dd9d4ceb558cbccdc3f71
2014-01-16 13:29:28 -08:00
..
Android.mk Remove HAVE_SELINUX guards 2012-10-16 12:57:26 -07:00
Bits.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00
DirUtil.c updater: Delete dead code 2013-09-11 11:37:10 -07:00
DirUtil.h updater: Delete dead code 2013-09-11 11:37:10 -07:00
Hash.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00
Hash.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00
inline_magic.h Fix multiple defined symbol errors 2012-08-21 16:04:21 -04:00
Inlines.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00
Log.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00
SysUtil.c do verification and extraction on memory, not files 2014-01-16 13:29:28 -08:00
SysUtil.h do verification and extraction on memory, not files 2014-01-16 13:29:28 -08:00
Zip.c do verification and extraction on memory, not files 2014-01-16 13:29:28 -08:00
Zip.h do verification and extraction on memory, not files 2014-01-16 13:29:28 -08:00