Hi all,

I am struggling to understand the relationship between a CK_MECHANISM_TYPE and a SECOidTag and how they relate to one another.

For example, CKM_AES_ECB and SEC_OID_AES_[128|192|256]_ECB constants seem to be related to one another.

Another thing I don't fully understand is that in the case of CK_MECHANISM_TYPE, some types support padding, like CKM_DES3_CBC_PAD, while other types don't, like CKM_DES3_ECB.

Is there an external way to specify padding without using the _PAD variation?

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