Add YKPIV_ALGO_TAG
Replace the magic constant 0x80 when sending a packet to the key
This commit is contained in:
committed by
Michael Scherer
parent
1a525f7ed7
commit
6e4266c886
@@ -110,6 +110,7 @@ extern "C"
|
||||
const unsigned char *ec_data, unsigned char ec_data_len,
|
||||
const unsigned char pin_policy, const unsigned char touch_policy);
|
||||
|
||||
#define YKPIV_ALGO_TAG 0x80
|
||||
#define YKPIV_ALGO_3DES 0x03
|
||||
#define YKPIV_ALGO_RSA1024 0x06
|
||||
#define YKPIV_ALGO_RSA2048 0x07
|
||||
|
||||
Reference in New Issue
Block a user