Gambin Dejan wrote:
> Hi,
> 
> I have got the apdu logging using apduview. Do you maybe know what can
> be the reason that I get "Invalid parameter" errors in my PKCS11.log and
> apdu command seem to return the correct values? For example:
> 
> if (MSC_ERROR(msc_GetCapabilities(&slot->conn,
> MSC_TAG_SUPPORT_CRYPTOALG, (MSCUChar8 *)&crypto_alg, &len))) in
> p11x_msc.c returns invalid parameter and the apdu log says something
> like:
> 
> SCardTransmit (handle 0xEA010000):
>  transmitted:
>   B1 3D 23 8E 00
>  received:
>   00 15 90 00
> 
> ...but the returned crypto_alg variable is 0? Is it the problem with
> msc_GetCapabilities function that needs to be changed?

Yes. I had begun to change something to report the correct capabilities.
Maybe this is contained. See PKCS11:

web.inf.tu-dresden.de/~ko189283/MuscleCard/

See at file p11x_slot.c slot_UpdateMechanisms() is changed.

File p11x_msc.c is changed.

Karsten

> 
> thanks, dejan
> 
> _______________________________________________
> Muscle mailing list
> [email protected]
> http://lists.drizzle.com/mailman/listinfo/muscle

_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to