Home
last modified time | relevance | path

Searched refs:ROL16 (Results 1 – 1 of 1) sorted by relevance

/external/dropbear/libtomcrypt/src/ciphers/
Dkasumi.c24 #define ROL16(x, y) ((((x)<<(y)) | ((x)>>(16-(y)))) & 0xFFFF) macro
133 r ^= ROL16(a,1); in FL()
135 l ^= ROL16(b,1); in FL()
224 skey->kasumi.KLi1[n] = ROL16(ukey[n],1); in kasumi_setup()
226 skey->kasumi.KOi1[n] = ROL16(ukey[(n+1)&0x7],5); in kasumi_setup()
227 skey->kasumi.KOi2[n] = ROL16(ukey[(n+5)&0x7],8); in kasumi_setup()
228 skey->kasumi.KOi3[n] = ROL16(ukey[(n+6)&0x7],13); in kasumi_setup()