Re: opencrypto and rijndael/AES

[email protected]
Newsgroups gmane.os.netbsd.devel.crypto
Message-ID <[email protected]>
>> 	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).

	true.  i'm not 100% sure what is the intent of the author of
	rijndael_set_key().  we could simplify it to always setup key for
	both dir... where did the code come from?

itojun
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.