Re: Block Cipher Applications



Jean-Luc Cooke <jlcooke@xxxxxxxxxx> wrote:
Agreed - not to mention it's so easy to:
enckey = HMAC(key, 0);
intkey = HMAC(key, 1);

I think, since we are talking about block cipher modes here, that

enckey = AES_key(0) || AES_key(1),
intkey = AES_key(2)

should be mentioned as an option. (Truncate the key to appropriate
length.)

--
Kristian Gjøsteen
.