Le lundi 5 septembre 2011 16:14:31 UTC+2, florent ainardi a écrit : > hi > i have this error when i try to use the algorythm CKM_AES_ECB_PAD > > => error : 'CKM_AES_ECB_PAD' undeclared ( first use in this function ) > > if i use CKM_AES_ECB it works !!! > > do you know if the AES_ECB_PAD is implemented in the nss libs
"Anything_ECB" has no "_PAD" counterpart. You *must* provide block-aligned data, and you won't have any padding. That's how ECB works. -- dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto