diff options
author | Tianjie Xu <xunchang@google.com> | 2019-03-27 19:21:01 +0100 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-03-27 19:21:01 +0100 |
commit | 3de9ee62b84586523d1fa78129d36661d7d09a2b (patch) | |
tree | 2be8560dae4dfc7cf748d295d7c57da9a8973de7 /verifier.h | |
parent | Merge "Move out the code to parse block map in MemMap" (diff) | |
parent | Merge "Allow RSA 4096 key in package verification" (diff) | |
download | android_bootable_recovery-3de9ee62b84586523d1fa78129d36661d7d09a2b.tar android_bootable_recovery-3de9ee62b84586523d1fa78129d36661d7d09a2b.tar.gz android_bootable_recovery-3de9ee62b84586523d1fa78129d36661d7d09a2b.tar.bz2 android_bootable_recovery-3de9ee62b84586523d1fa78129d36661d7d09a2b.tar.lz android_bootable_recovery-3de9ee62b84586523d1fa78129d36661d7d09a2b.tar.xz android_bootable_recovery-3de9ee62b84586523d1fa78129d36661d7d09a2b.tar.zst android_bootable_recovery-3de9ee62b84586523d1fa78129d36661d7d09a2b.zip |
Diffstat (limited to '')
-rw-r--r-- | verifier.h | 3 |
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. |