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
@@ -67,7 +67,7 @@ static CK_RV COMMON_token_generate_key(ykpiv_state *state, CK_BBOOL rsa,
|
||||
|
||||
*in_ptr++ = 0xac;
|
||||
*in_ptr++ = 3;
|
||||
*in_ptr++ = 0x80;
|
||||
*in_ptr++ = YKPIV_ALGO_TAG;
|
||||
*in_ptr++ = 1;
|
||||
|
||||
switch(key_len) {
|
||||
|
||||
Reference in New Issue
Block a user