Hello,

looking at mcardapplet ComputeCrypt() function I found this piece of code.
At first glance it seems confuse as ALG_RSA_NOPAD is used in DSA or DES
key case. Is this correct?

case KEY_DSA_PUBLIC:
case KEY_DSA_PRIVATE:
case KEY_DES:
if (ciph_mode == CM_RSA_NOPAD)
{
    ciph_alg_id = Cipher.ALG_RSA_NOPAD;
    break;
}
...


Thanks
Luiz Torro

Attachment: smime.p7s
Description: S/MIME cryptographic signature

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

Reply via email to