Re: [PATCH 1/1]: CTR mode implementation

2007-09-21 Thread Herbert Xu
On Fri, Sep 21, 2007 at 07:15:02PM -0500, Joy Latten wrote: > > > I suggest that you make these parameters to your CTR template. > > So instead of requesting for "ctr(aes)", you could request for > > "ctr(aes, 4, 8)" where 4 is the length of the nonce in the > > counter block and 8 is the length of

Re: [PATCH 1/1]: CTR mode implementation

2007-09-21 Thread Joy Latten
On Thu, 2007-09-20 at 16:19 +0800, Herbert Xu wrote: > On Wed, Sep 19, 2007 at 05:51:15PM -0500, Joy Latten wrote: > > > > predictability into my sessions? I could truncate the salt > > in my counter block to 2 bytes and put 2 bytes of the IV for > > blocksizes of 8... does that sound, ok? > > Or a