Skip to content
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

Argument names in the HPKE decryption function do not match the intended use. #639

Open
kokukuma opened this issue Jun 11, 2024 · 0 comments

Comments

@kokukuma
Copy link

The fourth argument of this hpkeDecrypt function, written as additional authenticated data (aad), is used as the second argument of decryptor.decrypt, contextInfo. The name of the hpkeDecrypt argument may be incorrect.

https://github.com/openwallet-foundation-labs/identity-credential/blob/main/identity/src/main/java/com/android/identity/crypto/Crypto.kt#L779

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant