Re: [PATCH] camellia: simplify key setup and CAMELLIA_ROUNDSM macro

2012-03-14 Thread Herbert Xu
On Sat, Mar 03, 2012 at 01:59:00PM +0200, Jussi Kivilinna wrote: > camellia_setup_tail() applies 'inverse of the last half of P-function' to > subkeys, which is unneeded if keys are applied directly to yl/yr in > CAMELLIA_ROUNDSM. > > Patch speeds up key setup and should speed up CAMELLIA_ROUNDSM

[PATCH] camellia: simplify key setup and CAMELLIA_ROUNDSM macro

2012-03-03 Thread Jussi Kivilinna
camellia_setup_tail() applies 'inverse of the last half of P-function' to subkeys, which is unneeded if keys are applied directly to yl/yr in CAMELLIA_ROUNDSM. Patch speeds up key setup and should speed up CAMELLIA_ROUNDSM as applying key to yl/yr early has less register dependencies. Quick tcryp