Lines Matching +refs:SP +refs:ll
29 #define SLOW_ROUND(lh, ll, rh, rl, kh, kl) { \ in NAMESPACE_BEGIN() argument
30 word32 zr = ll ^ kl; \ in NAMESPACE_BEGIN()
49 #define ROUND(lh, ll, rh, rl, kh, kl) { \ argument
51 word32 tl = ll ^ kl; \
52 …word32 d = SP[0][GETBYTE(tl,0)] ^ SP[1][GETBYTE(tl,3)] ^ SP[2][GETBYTE(tl,2)] ^ SP[3][GETBYTE(tl,1…
53 …word32 u = SP[0][GETBYTE(th,3)] ^ SP[1][GETBYTE(th,2)] ^ SP[2][GETBYTE(th,1)] ^ SP[3][GETBYTE(th,0…
59 #define DOUBLE_ROUND(lh, ll, rh, rl, k0, k1, k2, k3) \ argument
60 ROUND(lh, ll, rh, rl, k0, k1) \
61 ROUND(rh, rl, lh, ll, k2, k3)
205 ll ^= rotlConstant<1>(lh & klh);\ in ProcessAndXorBlock()
206 lh ^= (ll | kll); \ in ProcessAndXorBlock()
210 word32 lh, ll, rh, rl; in ProcessAndXorBlock() local
212 Block::Get(inBlock)(lh)(ll)(rh)(rl); in ProcessAndXorBlock()
215 ll ^= KS(0,1); in ProcessAndXorBlock()
228 lh |= u; ll |= u; in ProcessAndXorBlock()
230 SLOW_ROUND(lh, ll, rh, rl, KS(1,0), KS(1,1)) in ProcessAndXorBlock()
231 SLOW_ROUND(rh, rl, lh, ll, KS(1,2), KS(1,3)) in ProcessAndXorBlock()
234 DOUBLE_ROUND(lh, ll, rh, rl, KS(2,0), KS(2,1), KS(2,2), KS(2,3)) in ProcessAndXorBlock()
235 DOUBLE_ROUND(lh, ll, rh, rl, KS(3,0), KS(3,1), KS(3,2), KS(3,3)) in ProcessAndXorBlock()
237 DOUBLE_ROUND(lh, ll, rh, rl, KS(5,0), KS(5,1), KS(5,2), KS(5,3)) in ProcessAndXorBlock()
240 DOUBLE_ROUND(lh, ll, rh, rl, KS(2,0), KS(2,1), KS(2,2), KS(2,3)) in ProcessAndXorBlock()
241 ROUND(lh, ll, rh, rl, KS(3,0), KS(3,1)) in ProcessAndXorBlock()
242 SLOW_ROUND(rh, rl, lh, ll, KS(3,2), KS(3,3)) in ProcessAndXorBlock()
244 ll ^= KS(4,1); in ProcessAndXorBlock()
247 Block::Put(xorBlock, outBlock)(rh)(rl)(lh)(ll); in ProcessAndXorBlock()
273 const word32 Camellia::Base::SP[4][256] = { member in Camellia::Base