Thank you. This helped me a little, but I still have few questions.

> Make sure that when you did the 3DES/CDC encryption, you used the proper 
> padding. For the symmetric cipher, it's ISO 10126, even if the assymetric 
> uses PKCS1 :
> http://www.w3.org/TR/xmlenc-core/#sec-Padding

So, I don't need ISO 10126 padding if I use CKM_DES3_CBC_PAD flag, but I 
need it if I use CKM_DES3_CBC or CKM_AES_CBC? There is no CKM_AES_CBC_PAD, 
right?

Do you have any example of PKCS1 padding? 


_______________________________________________
mozilla-crypto mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-crypto

Reply via email to