JavaCardKeymaster icon indicating copy to clipboard operation
JavaCardKeymaster copied to clipboard

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

Open maxting83 opened this issue 4 years ago • 0 comments

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.

maxting83 avatar Dec 02 '20 15:12 maxting83