Add ykpiv_util_(get/set)_cccid(), and use in yubico-piv-tool

This commit is contained in:
Trevor Bentley
2017-09-25 16:03:48 +02:00
parent 13e02f998d
commit 2e818dd914
4 changed files with 135 additions and 77 deletions
-6
View File
@@ -73,8 +73,6 @@ extern "C"
#define CB_ATR_MAX 33
#define CB_CARDID 16
#define CHREF_ACT_CHANGE_PIN 0
#define CHREF_ACT_UNBLOCK_PIN 1
#define CHREF_ACT_CHANGE_PUK 2
@@ -97,10 +95,6 @@ extern "C"
#define TAG_RSA_EXP 0x82
#define TAG_ECC_POINT 0x86
#define CCC_ID_OFFS 9
#define CB_CCC_ID 14
#define CB_ECC_POINTP256 65
#define CB_ECC_POINTP384 97