From 37304f3cc920804c97d52df929b9871c057c55e0 Mon Sep 17 00:00:00 2001 From: xunchang Date: Tue, 12 Mar 2019 12:40:14 -0700 Subject: Implement FilePackage class This is another implementation of the Package class. And we will later need it when reading the package from FUSE. Bug: 127071893 Test: unit tests pass, sideload a file package on sailfish Change-Id: I3de5d5ef60b29c8b73517d6de3498459d7d95975 --- verifier.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'verifier.h') diff --git a/verifier.h b/verifier.h index b80096d41..106b86b85 100644 --- a/verifier.h +++ b/verifier.h @@ -27,6 +27,8 @@ #include #include +constexpr size_t MiB = 1024 * 1024; + using HasherUpdateCallback = std::function; struct RSADeleter { -- cgit v1.2.3