Searched refs:g1 (Results 1 – 3 of 3) sorted by relevance
/optee_os/core/lib/libtomcrypt/src/ciphers/ |
A D | skipjack.c | 113 unsigned char g1,g2; in g_func() local 115 g1 = (w >> 8) & 255; g2 = w & 255; in g_func() 116 g1 ^= sbox[g2^key[*kp]]; *kp = keystep[*kp]; in g_func() 117 g2 ^= sbox[g1^key[*kp]]; *kp = keystep[*kp]; in g_func() 118 g1 ^= sbox[g2^key[*kp]]; *kp = keystep[*kp]; in g_func() 119 g2 ^= sbox[g1^key[*kp]]; *kp = keystep[*kp]; in g_func() 120 return ((unsigned)g1<<8)|(unsigned)g2; in g_func() 125 unsigned char g1,g2; in ig_func() local 127 g1 = (w >> 8) & 255; g2 = w & 255; in ig_func() 128 *kp = ikeystep[*kp]; g2 ^= sbox[g1^key[*kp]]; in ig_func() [all …]
|
/optee_os/core/lib/libtomcrypt/src/mac/poly1305/ |
A D | poly1305.c | 175 ulong32 g0,g1,g2,g3,g4; in poly1305_done() local 209 g1 = h1 + c; c = g1 >> 26; g1 &= 0x3ffffff; in poly1305_done() 217 g1 &= mask; in poly1305_done() 223 h1 = (h1 & mask) | g1; in poly1305_done()
|
/optee_os/lib/libmbedtls/mbedtls/library/ |
A D | poly1305.c | 213 uint32_t g0, g1, g2, g3, g4; in poly1305_compute_mac() local 233 g1 = (uint32_t) d; in poly1305_compute_mac() 246 acc1 = ( acc1 & mask_inv ) | ( g1 & mask ); in poly1305_compute_mac()
|
Completed in 4 milliseconds