mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-02 06:22:53 +00:00
Strongbox may not support 1024 bit key size for RSA.
Strongbox may not support 1024 bit key size for RSA. So in NoUserConfirmation test updated the key size to 2048 so that the test works for both TEE and Strongbox. Bug: 280117495 Test: run VtsAidlKeyMintTarget (cherry picked from https://android-review.googlesource.com/q/commit:ce2bebdd79cf7536b06c2d67cdee8867475a3b10) Merged-In: I32bb28001aca9b69eedb1bd3d0bcff43052d06e4 Change-Id: I32bb28001aca9b69eedb1bd3d0bcff43052d06e4
This commit is contained in:
committed by
Cherrypicker Worker
parent
8df44ecf83
commit
9d1d8b7327
@@ -3119,7 +3119,7 @@ TEST_P(SigningOperationsTest, RsaPaddingNoneDoesNotAllowOther) {
|
||||
*/
|
||||
TEST_P(SigningOperationsTest, NoUserConfirmation) {
|
||||
ASSERT_EQ(ErrorCode::OK, GenerateKey(AuthorizationSetBuilder()
|
||||
.RsaSigningKey(1024, 65537)
|
||||
.RsaSigningKey(2048, 65537)
|
||||
.Digest(Digest::NONE)
|
||||
.Padding(PaddingMode::NONE)
|
||||
.Authorization(TAG_NO_AUTH_REQUIRED)
|
||||
|
||||
Reference in New Issue
Block a user