[EMAIL PROTECTED] wrote:
Is it possible to use AES in CFB128 mode using NSS? If yes, how? :)
(if no, why not? :) )
No, CFB128 mode is not implemented. You can only use
AES in ECB or CBC mode.
Nobody asked for CFB mode support before. Why would you
like to use the CFB mode?
To use AES with say CBC mode, I believe you need to
start with PK11_CreateContextBySymKey, using the CKM_AES_CBC
or CKM_AES_CBC_PAD mechanism type. Follow that by PK11_CipherOp
calls, and end with a PK11_DestroyContext call. You can click
the link below for some sample code.
http://lxr.mozilla.org/security/ident?i=PK11_CreateContextBySymKey
Wan-Teh
_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto