summaryrefslogtreecommitdiffstats
path: root/verifier.h
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2019-03-15 19:07:10 +0100
committerandroid-build-merger <android-build-merger@google.com>2019-03-15 19:07:10 +0100
commitb44a9463808dc8523aa1ef7ba6fe625d578ba191 (patch)
treefe161893ac9aa59913a4d11ff75f5d983b0b7ca3 /verifier.h
parentMerge "Start charger at /system/bin/charger." am: d5bbec7750 am: 37b1520682 (diff)
parentMerge "Implement FilePackage class" am: 698dc08561 (diff)
downloadandroid_bootable_recovery-b44a9463808dc8523aa1ef7ba6fe625d578ba191.tar
android_bootable_recovery-b44a9463808dc8523aa1ef7ba6fe625d578ba191.tar.gz
android_bootable_recovery-b44a9463808dc8523aa1ef7ba6fe625d578ba191.tar.bz2
android_bootable_recovery-b44a9463808dc8523aa1ef7ba6fe625d578ba191.tar.lz
android_bootable_recovery-b44a9463808dc8523aa1ef7ba6fe625d578ba191.tar.xz
android_bootable_recovery-b44a9463808dc8523aa1ef7ba6fe625d578ba191.tar.zst
android_bootable_recovery-b44a9463808dc8523aa1ef7ba6fe625d578ba191.zip
Diffstat (limited to 'verifier.h')
-rw-r--r--verifier.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/verifier.h b/verifier.h
index b80096d41..106b86b85 100644
--- a/verifier.h
+++ b/verifier.h
@@ -27,6 +27,8 @@
#include <openssl/rsa.h>
#include <openssl/sha.h>
+constexpr size_t MiB = 1024 * 1024;
+
using HasherUpdateCallback = std::function<void(const uint8_t* addr, uint64_t size)>;
struct RSADeleter {