summaryrefslogtreecommitdiffstats
path: root/minzip/SysUtil.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* do verification and extraction on memory, not filesDoug Zongker2014-01-161-15/+23
| | | | | | | | | | | | | | | | 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
* remove dead code from minzipDoug Zongker2014-01-131-17/+0
| | | | | | | | minzip had some features that were used when reading APKs, but APK handling now uses libziparchive instead of minzip. Remove these unused functions. Change-Id: Iead89209a716bfe9e3d339bf85b3e97e33a41f35
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-041-0/+61
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-041-61/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+61