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

Commit a0b9b396 authored by Shawn Willden's avatar Shawn Willden Committed by Keun Soo Yim
Browse files

Reduce max keymaster message size to 2K

Bug: 63745895
Test: VtsHalKeymasterV3_0TargetTest
Merged-In: I9b8c2e551f04bd2124462095f232bd08ff1f63c6
Change-Id: I9b8c2e551f04bd2124462095f232bd08ff1f63c6
(cherry picked from commit 703c2423)
parent 6753a9be
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1730,7 +1730,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));
}

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

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