summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Eran Messeri <eranm@google.com> 2022-05-10 15:53:34 +0100
committer Eran Messeri <eranm@google.com> 2022-05-12 10:56:30 +0100
commit4c20e224f60a2c86d79db4dc0b3fb3b923c92491 (patch)
tree2235c2f0f78dbe89c45229844ec70e223f814406 /libs/androidfw/StringPool.cpp
parentdfada27e9f882954ec7cfba4441b202f3ccfb464 (diff)
Keystore: Wire X25519 key agreement
Implement support for the X25519 key agreement functionality. Similar to Ed25519, two new classes are added: * AndroidKeyStoreXDHPrivateKey * AndroidKeyStoreXDHPublicKey The private key class is simply a handle to the KeyMint key. The public key class implements XECPublicKey, the interface needed for using this key in a platform-backed key agreement. Because of Conscrypt API boundaries, the functionality of Conscrypt's OpenSSLX25519PublicKey is duplicated here - namely, matching the prefix of the encoded key. Bug: 194359292 Test: atest android.keystore.cts.Curve25519Test Change-Id: Ifc12be528ab544fd6909bb0dd6224a0a4dd400c6
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions