Searched refs:g2 (Results 1 – 3 of 3) sorted by relevance
/optee_os-3.20.0/core/lib/libtomcrypt/src/ciphers/ |
A D | skipjack.c | 106 unsigned char g1,g2; in g_func() local 108 g1 = (w >> 8) & 255; g2 = w & 255; in g_func() 109 g1 ^= sbox[g2^key[*kp]]; *kp = keystep[*kp]; in g_func() 110 g2 ^= sbox[g1^key[*kp]]; *kp = keystep[*kp]; in g_func() 111 g1 ^= sbox[g2^key[*kp]]; *kp = keystep[*kp]; in g_func() 112 g2 ^= sbox[g1^key[*kp]]; *kp = keystep[*kp]; in g_func() 113 return ((unsigned)g1<<8)|(unsigned)g2; in g_func() 118 unsigned char g1,g2; in ig_func() local 120 g1 = (w >> 8) & 255; g2 = w & 255; in ig_func() 121 *kp = ikeystep[*kp]; g2 ^= sbox[g1^key[*kp]]; in ig_func() [all …]
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/mac/poly1305/ |
A D | poly1305.c | 168 ulong32 g0,g1,g2,g3,g4; in poly1305_done() local 203 g2 = h2 + c; c = g2 >> 26; g2 &= 0x3ffffff; in poly1305_done() 211 g2 &= mask; in poly1305_done() 217 h2 = (h2 & mask) | g2; in poly1305_done()
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/ |
A D | poly1305.c | 206 uint32_t g0, g1, g2, g3, g4; in poly1305_compute_mac() local 228 g2 = (uint32_t) d; in poly1305_compute_mac() 240 acc2 = ( acc2 & mask_inv ) | ( g2 & mask ); in poly1305_compute_mac()
|
Completed in 5 milliseconds