Skip to content
This repository was archived by the owner on May 24, 2026. It is now read-only.
This repository was archived by the owner on May 24, 2026. It is now read-only.

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

Description

@maxting83

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions