mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Merge "Purge unsupported RSA key sizes from VTS tests" into oc-dev
am: bc970b089f
Change-Id: Id5c16a9a8a2ff95e18254da4b8568d68e15e5834
This commit is contained in:
@@ -1373,7 +1373,7 @@ typedef KeymasterHidlTest GetKeyCharacteristicsTest;
|
||||
*/
|
||||
TEST_F(GetKeyCharacteristicsTest, SimpleRsa) {
|
||||
ASSERT_EQ(ErrorCode::OK, GenerateKey(AuthorizationSetBuilder()
|
||||
.RsaSigningKey(256, 3)
|
||||
.RsaSigningKey(1024, 3)
|
||||
.Digest(Digest::NONE)
|
||||
.Padding(PaddingMode::NONE)));
|
||||
|
||||
@@ -2245,7 +2245,7 @@ typedef KeymasterHidlTest ExportKeyTest;
|
||||
*/
|
||||
TEST_F(ExportKeyTest, RsaUnsupportedKeyFormat) {
|
||||
ASSERT_EQ(ErrorCode::OK, GenerateKey(AuthorizationSetBuilder()
|
||||
.RsaSigningKey(256, 3)
|
||||
.RsaSigningKey(1024, 3)
|
||||
.Digest(Digest::NONE)
|
||||
.Padding(PaddingMode::NONE)));
|
||||
HidlBuf export_data;
|
||||
@@ -2262,7 +2262,7 @@ TEST_F(ExportKeyTest, RsaUnsupportedKeyFormat) {
|
||||
TEST_F(ExportKeyTest, DISABLED_RsaCorruptedKeyBlob) {
|
||||
ASSERT_EQ(ErrorCode::OK, GenerateKey(AuthorizationSetBuilder()
|
||||
.Authorization(TAG_NO_AUTH_REQUIRED)
|
||||
.RsaSigningKey(256, 3)
|
||||
.RsaSigningKey(1024, 3)
|
||||
.Digest(Digest::NONE)
|
||||
.Padding(PaddingMode::NONE)));
|
||||
for (size_t i = 0; i < key_blob_.size(); ++i) {
|
||||
|
||||
Reference in New Issue
Block a user