summaryrefslogtreecommitdiffstats
path: root/verifier.h
diff options
context:
space:
mode:
authorxunchang <xunchang@google.com>2019-03-26 17:54:34 +0100
committerxunchang <xunchang@google.com>2019-03-26 20:28:23 +0100
commit908ad77af8731c0e8a7645575ea71fbbdd404d41 (patch)
treee348ee403e9305962978ec7e326245a8e3b1d8da /verifier.h
parentMerge "Move librecovery_ui to a sub-directory" (diff)
downloadandroid_bootable_recovery-908ad77af8731c0e8a7645575ea71fbbdd404d41.tar
android_bootable_recovery-908ad77af8731c0e8a7645575ea71fbbdd404d41.tar.gz
android_bootable_recovery-908ad77af8731c0e8a7645575ea71fbbdd404d41.tar.bz2
android_bootable_recovery-908ad77af8731c0e8a7645575ea71fbbdd404d41.tar.lz
android_bootable_recovery-908ad77af8731c0e8a7645575ea71fbbdd404d41.tar.xz
android_bootable_recovery-908ad77af8731c0e8a7645575ea71fbbdd404d41.tar.zst
android_bootable_recovery-908ad77af8731c0e8a7645575ea71fbbdd404d41.zip
Diffstat (limited to 'verifier.h')
-rw-r--r--verifier.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/verifier.h b/verifier.h
index 106b86b85..ef9feaff0 100644
--- a/verifier.h
+++ b/verifier.h
@@ -88,7 +88,8 @@ class VerifierInterface {
// VERIFY_FAILURE (if any error is encountered or no key matches the signature).
int verify_file(VerifierInterface* package, const std::vector<Certificate>& keys);
-// Checks that the RSA key has a modulus of 2048 bits long, and public exponent is 3 or 65537.
+// Checks that the RSA key has a modulus of 2048 or 4096 bits long, and public exponent is 3 or
+// 65537.
bool CheckRSAKey(const std::unique_ptr<RSA, RSADeleter>& rsa);
// Checks that the field size of the curve for the EC key is 256 bits.