summaryrefslogtreecommitdiff
path: root/opengl/java/Android.bp
diff options
context:
space:
mode:
author Prashant Patil <patilprashant@google.com> 2022-08-04 10:13:42 +0000
committer Prashant Patil <patilprashant@google.com> 2022-09-22 11:40:59 +0100
commit0ee5912b753abbb6eacaec4d6b4a548ffc9ec6a3 (patch)
tree674a400c5a3c819eb2037f4913052c49dc05d953 /opengl/java/Android.bp
parent11cf8289841456115d8abc9b15bb7ed7f1d60da7 (diff)
Keystore:Expected exception for invalid Keys
If EC curves of Public and Private keys are different, an InvalidKeyException is expected. But the current implementation does not throw exception from doPhase method and fails in generateSecret method. The fix is in AndroidKeyStoreECPublicKey to provide correct ECParameterSpec while creating a PrivateKey object. Bug: 215175472 Test: run cts -m CtsKeystoreWycheproofTestCases -t com.google.security.wycheproof.JsonEcdhTest#testSecp224r1 Test: run cts -m CtsKeystoreWycheproofTestCases -t com.google.security.wycheproof.JsonEcdhTest#testSecp256r1 Test: run cts -m CtsKeystoreWycheproofTestCases -t com.google.security.wycheproof.JsonEcdhTest#testSecp384r1 Test: run cts -m CtsKeystoreWycheproofTestCases -t com.google.security.wycheproof.JsonEcdhTest#testSecp521r1 Test: run cts -m CtsKeystoreTestCases -t android.keystore.cts.KeyAgreementTest#testDoPhase_withDifferentCurveKey_fails Change-Id: Ie221926d8a3be3fe6679e723575c5021cafba98e
Diffstat (limited to 'opengl/java/Android.bp')
0 files changed, 0 insertions, 0 deletions