Re: opencrypto and rijndael/AES
Jason Thorpe <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.crypto |
|---|---|
| Message-ID | <[email protected]> |
On Tuesday, August 26, 2003, at 07:55 PM, Jun-ichiro itojun Hagino
wrote:
> this basically is for CFB1 mode, which uses rijndael encryption for
> decryption. that's why esp_rijndael.c did not use rijndael_ctx
> (but from API pov it was a bad practice). we of course could ditch
> modes we don't need and shrink the size of rijndael_ctx.
It's for CFB1 mode if you use the keyInstance (rk for
encrypt-or-decrypt and ek for CFB1), but if use the rijndael_ctx,
there's an ek (encrypt key) and dk (decrypt key).
-- Jason R. Thorpe <[email protected]>