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

AES_GCM_AUTH_TAG_LENGTH = 12; is not aligned with JC TCK expectation of 16 bytes #14

Open
maxting83 opened this issue Dec 2, 2020 · 0 comments

Comments

@maxting83
Copy link

maxting83 commented Dec 2, 2020

https://github.com/divegeek/JavaCardKeymaster/blob/master/Applet/src/com/android/javacard/keymaster/KMKeymasterApplet.java

Is this AES_GCM_AUTH_TAG_LENGTH = 12 expected from the AES-GCM from the JavaCard eSE?

Also, in the https://developer.android.com/training/articles/keystore, it's mentioned only for AES/GCM/NoPadding "Only 12-byte long IVs supported." but not Tag length.

mdwivedi pushed a commit that referenced this issue Jan 14, 2022
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