Hi all,

Using PK11_GetPadMechanism(), and passing it a cipher mechanism, it as I understand returns a variation of the mechanism capable of supporting padding.

Is this understanding correct?

I have noticed that when CKM_AES_ECB is passed to PK11_GetPadMechanism, I get the same mechanism in return.

Does this mean that CKM_AES_ECB does not support padding?

Or does this mean that CKM_AES_ECB already supports padding and there is no need to switch it on?

Regards,
Graham
--

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to