Searched refs:g2 (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 210 g2 = h2 + c; c = g2 >> 26; g2 &= 0x3ffffff; in poly1305_done() 218 g2 &= mask; in poly1305_done() 224 h2 = (h2 & mask) | g2; 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 235 g2 = (uint32_t) d; in poly1305_compute_mac() 247 acc2 = ( acc2 & mask_inv ) | ( g2 & mask ); in poly1305_compute_mac()
|
Completed in 6 milliseconds