summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Eran Messeri <eranm@google.com> 2022-05-10 10:19:39 +0100
committer Eran Messeri <eranm@google.com> 2022-05-10 10:19:39 +0100
commit51d7088287a4f7a3f20308b86e1efcb59c8dc4da (patch)
tree93170cc94d34625bc1424c275549574cd8b35257 /libs/androidfw/StringPool.cpp
parent0d0729a62fd8a9c38b708b51f9813e199c9082ea (diff)
Keystore: Support Ed25519 keys
Implement support for Ed25519 signing keys in Android Keystore. Because Conscrypt does not yet handle those keys, the Keystore classes implement EdECPublicKey directly and parse the keys. Specifically, AndroidKeyStoreEdECPublicKey can take an encoded X.509 key specification, validate the encoding is of an Ed25519 key, then parse the oddity and Y point on the curve. RFC8032 describes EdDSA signature scheme, particularly Ed25519. RFC8410, Section 3, defines the OID for Ed25519 keys (1.3.101.112). RFC8410, Section 4, describes the encoding of the public key. Bug: 195309719 Bug: 194359292 Bug: 214203951 Test: atest android.security.keystore2.AndroidKeyStoreEdECPublicKeyTest Merged-In: I07b793cbd5029630768368ad4a863bbc1c828ced Change-Id: I477e87658b98bc3340da9a062d81508aad041c07
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions