Re: [PATCH] cit_encrypt_iv/cit_decrypt_iv for ECB mode

2006-08-21 Thread Solar Designer
On Mon, Aug 21, 2006 at 08:58:30AM +1000, Herbert Xu wrote: > On Sun, Aug 20, 2006 at 06:49:08PM +0400, Solar Designer wrote: > > > > Can we maybe define working but IV-ignoring functions for ECB (like I > > did), but use memory-clearing nocrypt*() for CFB and CTR (as long

Re: [PATCH] cit_encrypt_iv/cit_decrypt_iv for ECB mode

2006-08-20 Thread Solar Designer
On Sun, Aug 20, 2006 at 06:13:46PM +0200, Willy Tarreau wrote: > On Sun, Aug 20, 2006 at 06:49:08PM +0400, Solar Designer wrote: > > Can we maybe define working but IV-ignoring functions for ECB (like I > > did), but use memory-clearing nocrypt*() for CFB and CTR (as long as &g

Re: [PATCH] cit_encrypt_iv/cit_decrypt_iv for ECB mode

2006-08-20 Thread Solar Designer
On Sun, Aug 20, 2006 at 10:04:03AM +0200, Willy Tarreau wrote: > On Sun, Aug 20, 2006 at 04:23:46AM +0400, Solar Designer wrote: > > The attached patch actually defines ecb_encrypt_iv() and > > ecb_decrypt_iv() functions that perform ECB encryption/decryption > > ignori