IASECC/CPX: enable calls thru pkcs15-iasecc.c
Same than Gemalto's IASECC, the CPX cards need a workaround since
the PrKey does not have its Algo_regs.
We get:
pkcs15-tool -k --verify-pin --pin 1234
Using reader with a card: ACS ACR33U-A1 3SAM ICC Reader 00 00
Private RSA Key [CPS_PRIV_SIG]
Object Flags : [0x01], private
Usage : [0x200], nonRepudiation
Access Flags : [0x0D], sensitive, alwaysSensitive, neverExtract
Algo_refs : 0
Access Rules : pso_cds:01;
ModLength : 2048
Key ref : 129 (0x81)
Native : yes
Path : e828bd080f8025000001ff0010::
Auth ID : 01
ID : e828bd080f8025000001ff001001
MD:guid : e7aab727-f2af-e673-37bb-7d43867a6349
Private RSA Key [CPS_PRIV_AUT]
Object Flags : [0x07], private, modifiable
Usage : [0x06], decrypt, sign
Access Flags : [0x0D], sensitive, alwaysSensitive, neverExtract
Algo_refs : 0
Access Rules : pso_decrypt:01; int_auth:01;
ModLength : 2048
Key ref : 130 (0x82)
Native : yes
Path : e828bd080f8025000001ff0010::
Auth ID : 01
ID : e828bd080f8025000001ff001002
MD:guid : 2b6bf284-225c-80bc-8cbe-1c791db33543
We need to get Algo_regs to be set to something that is not 0.
Fix: issue #2267