summaryrefslogtreecommitdiffstats
path: root/verifier.h
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2018-10-20 02:23:21 +0200
committerTianjie Xu <xunchang@google.com>2018-10-25 01:26:59 +0200
commitcbe93e6506df0d89007d504f47d60a7a37e02475 (patch)
tree54c10bcce50375435831e8d2e8f6e0ca509ec3ce /verifier.h
parentAdd sanity check when loading public keys for OTA package (diff)
downloadandroid_bootable_recovery-cbe93e6506df0d89007d504f47d60a7a37e02475.tar
android_bootable_recovery-cbe93e6506df0d89007d504f47d60a7a37e02475.tar.gz
android_bootable_recovery-cbe93e6506df0d89007d504f47d60a7a37e02475.tar.bz2
android_bootable_recovery-cbe93e6506df0d89007d504f47d60a7a37e02475.tar.lz
android_bootable_recovery-cbe93e6506df0d89007d504f47d60a7a37e02475.tar.xz
android_bootable_recovery-cbe93e6506df0d89007d504f47d60a7a37e02475.tar.zst
android_bootable_recovery-cbe93e6506df0d89007d504f47d60a7a37e02475.zip
Diffstat (limited to '')
-rw-r--r--verifier.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/verifier.h b/verifier.h
index 944823293..df9a4b648 100644
--- a/verifier.h
+++ b/verifier.h
@@ -70,8 +70,6 @@ struct Certificate {
int verify_file(const unsigned char* addr, size_t length, const std::vector<Certificate>& keys,
const std::function<void(float)>& set_progress = nullptr);
-bool load_keys(const char* filename, std::vector<Certificate>& certs);
-
// Checks that the RSA key has a modulus of 2048 bits long, and public exponent is 3 or 65537.
bool CheckRSAKey(const std::unique_ptr<RSA, RSADeleter>& rsa);