summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceUtils.cpp
diff options
context:
space:
mode:
author Prashant Patil <patilprashant@google.com> 2022-08-03 12:12:01 +0000
committer Prashant Patil <patilprashant@google.com> 2022-11-14 14:51:15 +0000
commit25c8f48a8dd430dc14644a773bf39b0c5b8ee3c7 (patch)
tree94eb9eea31ffa0429b3d0d891efc96217b5f0899 /libs/androidfw/ResourceUtils.cpp
parent1c4bb0ec589c51dbe2a9d49448ff8a7124f52135 (diff)
KeyStore: X25519 key import
Added a KeyAgreement algorithm for X25519(XDH) in KeyProperties. KM_ALGORITHM_EC is used for XDH because Keymint uses KM_ALGORITHM_EC along with Curve25519 to differentiate X25519 and other EC keys. Algorithm name XDH is set for X25519 private key. Consilidated methods of Keymaster specific conversions of EC_CURVE into KeymasterUtil. Bug: 240682299 Test: run cts -m CtsKeystoreTestCases -t android.keystore.cts.Curve25519Test#x25519KeyImportAndAgreementTest Change-Id: I3f95738194e62be0f1d821b1eb467ed810a5a175
Diffstat (limited to 'libs/androidfw/ResourceUtils.cpp')
0 files changed, 0 insertions, 0 deletions