Skip to content

Commit

Permalink
Vendor specific Instructions
Browse files Browse the repository at this point in the history
Instruction values from 0xCD to 0xFF are reserved for vendors to use. Total 50 Commands.
  • Loading branch information
subrahmanyaman authored Aug 5, 2022
1 parent 9867879 commit ce4cc82
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,10 @@ public class KMKeymasterApplet extends Applet implements AppletEvent, ExtendedLe
private static final byte INS_SEND_ROT_DATA_CMD = KEYMINT_CMD_APDU_START + 47; // 0x4F
private static final byte KEYMINT_CMD_APDU_END = KEYMINT_CMD_APDU_START + 48; //0x50
private static final byte INS_END_KM_CMD = 0x7F;
// Instruction values from 0xCD to 0xFF are completely reserved for Vendors to use and
// will never be used by the base line code in future.
private static final byte INS_KM_VENDOR_START_CMD = 0xCD;
private static final byte INS_KM_VENDOR_END_CMD = 0xFF;

// Data Dictionary items
public static final byte DATA_ARRAY_SIZE = 40;
Expand Down

0 comments on commit ce4cc82

Please sign in to comment.