-
Notifications
You must be signed in to change notification settings - Fork 274
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding HPKE support for crypto operations per RFC-9180 #1146
Conversation
Supported cryptographic schemes: KEM (key encapsulation mechanism) - 0x0020: DHKEM(X25519, HKDF-SHA256) KDF (key derivation function) - 0x0001: HKDF-SHA256 AEAD (Authenticated Encryption with Associated Data) - 0x0001: AES-128-GCM - 0x0002: AES-256-GCM - 0x0003: ChaCha20Poly1305
LGTM and tests pass under Gradle+OpenJDK... I haven't really reviewed the JNI code, hoping @davidben can do the honours. David: The public APIs here are for OpenJDK only, on Android there will be a delegating API from a different namespace... Jorge can point you at the CL for that if needed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM if Pete is also happy!
Thanks for all your help, David! |
Supported cryptographic schemes:
KEM (key encapsulation mechanism)
KDF (key derivation function)
AEAD (Authenticated Encryption with Associated Data)