Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ed37a0a1 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Reduce max keymaster message size to 2K"

parents b07803b4 cf1f4870
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1774,7 +1774,7 @@ TEST_F(SigningOperationsTest, EcdsaNoDigestHugeData) {
                                             .Authorization(TAG_NO_AUTH_REQUIRED)
                                             .EcdsaSigningKey(224)
                                             .Digest(Digest::NONE)));
    string message(64 * 1024, 'a');
    string message(2 * 1024, 'a');
    SignMessage(message, AuthorizationSetBuilder().Digest(Digest::NONE));
}

@@ -2605,7 +2605,7 @@ TEST_F(EncryptionOperationsTest, RsaNoPaddingTooLong) {
}

/*
 * EncryptionOperationsTest.RsaNoPaddingTooLong
 * EncryptionOperationsTest.RsaNoPaddingTooLarge
 *
 * Verifies that raw RSA encryption of too-large (numerically) messages fails in the expected way.
 */