Start adding KDF-DO of OpenPGPcard v3.

This commit is contained in:
NIIBE Yutaka
2017-11-01 16:52:58 +09:00
parent 660aaeb04b
commit 6b4f3c9934
3 changed files with 72 additions and 1 deletions

View File

@@ -334,7 +334,8 @@ extern uint8_t admin_authorized;
#define NR_DO_KEYSTRING_PW1 0x11
#define NR_DO_KEYSTRING_RC 0x12
#define NR_DO_KEYSTRING_PW3 0x13
#define NR_DO__LAST__ 20 /* == 0x14 */
#define NR_DO_KDF 0x14
#define NR_DO__LAST__ 21 /* == 0x15 */
/* 14-bit counter for DS: Recorded in flash memory by 1-halfword (2-byte). */
/*
* Representation of 14-bit counter: