diff options
| author | 2022-05-10 15:53:34 +0100 | |
|---|---|---|
| committer | 2022-05-12 23:00:16 +0100 | |
| commit | 16882a2ac3085dbdff0750ed2e9b55c902a71d39 (patch) | |
| tree | 7520f056875b1592b76cfe9ecc4884aba7471c85 /libs/androidfw/StringPool.cpp | |
| parent | fe5f2423603bd5efcbf942ce70112a33bbd2ca18 (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
Merged-In: Ifc12be528ab544fd6909bb0dd6224a0a4dd400c6
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions