From: Klas Lindfors Date: Tue, 27 Mar 2012 06:06:08 +0000 (+0200) Subject: add 2.3 commands to ykdef X-Git-Tag: v1.7.0~1^2~64 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1af6707094e033045720865d969f0146a907e40a;p=yubikey-personalization add 2.3 commands to ykdef --- diff --git a/ykcore/ykdef.h b/ykcore/ykdef.h index e0ca3a3..4282587 100644 --- a/ykcore/ykdef.h +++ b/ykcore/ykdef.h @@ -28,9 +28,12 @@ /* Slot entries */ -#define SLOT_CONFIG 1 /* First (default / V1) configuration */ -#define SLOT_NAV 2 /* V1 only */ -#define SLOT_CONFIG2 3 /* Second (V2) configuration */ +#define SLOT_CONFIG 0x01 /* First (default / V1) configuration */ +#define SLOT_NAV 0x02 /* V1 only */ +#define SLOT_CONFIG2 0x03 /* Second (V2) configuration */ +#define SLOT_UPDATE1 0x04 /* update first configuration */ +#define SLOT_UPDATE2 0x05 /* update second configuration */ +#define SLOT_SWAP 0x06 /* swap the two slots */ #define SLOT_DEVICE_SERIAL 0x10 /* Device serial number */