diff options
author | David Drysdale <drysdale@google.com> | 2021-11-25 16:08:29 +0000 |
---|---|---|
committer | David Drysdale <drysdale@google.com> | 2021-11-29 16:17:11 +0000 |
commit | 4c1f6ac496dbf96f9649c04aaa0dcf4089be1234 (patch) | |
tree | e78096e0f5147e06b3493872f72f1341bc63cacc /security/keymint/aidl/vts/functional/KeyMintTest.cpp | |
parent | f665b8fa862e55c76ada5eee8bdc20eac9aa0734 (diff) |
Fix flaky corrupted padding tests
Transfer the fix in http://aosp/1745035 from the KeyMint VTS test back
into the keymaster VTS test.
Bug: 189261752
Test: VtsHalKeymasterV4_0TargetTest
Change-Id: I5f0a69255cfe980dd6e71fa29ff06a84cb668f6d
Diffstat (limited to 'security/keymint/aidl/vts/functional/KeyMintTest.cpp')
-rw-r--r-- | security/keymint/aidl/vts/functional/KeyMintTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/keymint/aidl/vts/functional/KeyMintTest.cpp b/security/keymint/aidl/vts/functional/KeyMintTest.cpp index 92aa2ac64b..53a5490cce 100644 --- a/security/keymint/aidl/vts/functional/KeyMintTest.cpp +++ b/security/keymint/aidl/vts/functional/KeyMintTest.cpp @@ -70,7 +70,7 @@ namespace aidl::android::hardware::security::keymint::test { namespace { // The maximum number of times we'll attempt to verify that corruption -// of an ecrypted blob results in an error. Retries are necessary as there +// of an encrypted blob results in an error. Retries are necessary as there // is a small (roughly 1/256) chance that corrupting ciphertext still results // in valid PKCS7 padding. constexpr size_t kMaxPaddingCorruptionRetries = 8; |