switch out the pkcs11 headers for the SCUTE pkcs11 header from opensc

create pkcs11y.h for our additional things
This commit is contained in:
Klas Lindfors
2016-08-12 13:46:37 +02:00
parent fead011e71
commit e7b4fc6ccf
13 changed files with 1430 additions and 2448 deletions
+1 -1
View File
@@ -428,7 +428,7 @@ CK_RV check_pubkey_template(op_info_t *op_info, CK_ATTRIBUTE_PTR templ, CK_ULONG
case CKA_EC_PARAMS:
// Only support PRIME256V1
if (templ[i].ulValueLen != 10 || memcmp((CK_BYTE_PTR)templ[i].pValue, PRIME256V1, 10) != 0)
return CKR_CURVE_NOT_SUPPORTED;
return CKR_FUNCTION_FAILED;
op_info->op.gen.key_len = 256;
break;