Home
last modified time | relevance | path

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

/optee_os/core/lib/libtomcrypt/src/ciphers/
A Dkasumi.c23 #define ROL16(x, y) ((((x)<<(y)) | ((x)>>(16-(y)))) & 0xFFFF) macro
132 r ^= ROL16(a,1); in FL()
134 l ^= ROL16(b,1); in FL()
223 skey->kasumi.KLi1[n] = ROL16(ukey[n],1); in kasumi_setup()
225 skey->kasumi.KOi1[n] = ROL16(ukey[(n+1)&0x7],5); in kasumi_setup()
226 skey->kasumi.KOi2[n] = ROL16(ukey[(n+5)&0x7],8); in kasumi_setup()
227 skey->kasumi.KOi3[n] = ROL16(ukey[(n+6)&0x7],13); in kasumi_setup()

Completed in 2 milliseconds