Updating a public exponent check
This is updating the public exponent being checked from 3 to 65537. The test was updated to use the latter public exponent without the check also being updated Test: atest VtsHalKeymasterV4_0TargetTest Change-Id: I55fa2e67c94f0c52a1d65644f16b5f703a661e00
This commit is contained in:
parent
0291d3fcd3
commit
444468b3dd
1 changed files with 1 additions and 1 deletions
|
@ -546,7 +546,7 @@ TEST_P(NewKeyGenerationTest, Rsa) {
|
|||
EXPECT_TRUE(crypto_params.Contains(TAG_ALGORITHM, Algorithm::RSA));
|
||||
EXPECT_TRUE(crypto_params.Contains(TAG_KEY_SIZE, key_size))
|
||||
<< "Key size " << key_size << "missing";
|
||||
EXPECT_TRUE(crypto_params.Contains(TAG_RSA_PUBLIC_EXPONENT, 3U));
|
||||
EXPECT_TRUE(crypto_params.Contains(TAG_RSA_PUBLIC_EXPONENT, 65537U));
|
||||
|
||||
CheckedDeleteKey(&key_blob);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue