Searched refs:U8TOU32 (Results 1 – 3 of 3) sorted by relevance
70 # define U8TOU32(p) (*(const u32 *)(p)) macro80 #ifndef U8TOU32160 r0.u = EXP(52+0) | (U8TOU32(&key[0]) & 0x0fffffff); in poly1305_init()295 in0.u = EXP(52+0) | U8TOU32(&inp[0]); in poly1305_blocks()296 in1.u = EXP(52+32) | U8TOU32(&inp[4]); in poly1305_blocks()297 in2.u = EXP(52+64) | U8TOU32(&inp[8]); in poly1305_blocks()298 in3.u = EXP(52+96) | U8TOU32(&inp[12]) | pad; in poly1305_blocks()314 in0.u = EXP(52+0) | U8TOU32(&inp[0]); in poly1305_blocks()315 in1.u = EXP(52+32) | U8TOU32(&inp[4]); in poly1305_blocks()316 in2.u = EXP(52+64) | U8TOU32(&inp[8]); in poly1305_blocks()[all …]
22 static unsigned int U8TOU32(const unsigned char *p) in U8TOU32() function283 st->r[0] = U8TOU32(&key[0]) & 0x0fffffff; in poly1305_init()284 st->r[1] = U8TOU32(&key[4]) & 0x0ffffffc; in poly1305_init()285 st->r[2] = U8TOU32(&key[8]) & 0x0ffffffc; in poly1305_init()286 st->r[3] = U8TOU32(&key[12]) & 0x0ffffffc; in poly1305_init()315 h0 = (u32)(d0 = (u64)h0 + U8TOU32(inp + 0)); in poly1305_blocks()316 h1 = (u32)(d1 = (u64)h1 + (d0 >> 32) + U8TOU32(inp + 4)); in poly1305_blocks()435 ctx->nonce[0] = U8TOU32(&key[16]); in Poly1305_Init()436 ctx->nonce[1] = U8TOU32(&key[20]); in Poly1305_Init()437 ctx->nonce[2] = U8TOU32(&key[24]); in Poly1305_Init()[all …]
24 static unsigned int U8TOU32(const unsigned char *p) in U8TOU32() function51 ctx->nonce[0] = U8TOU32(&key[16]); in Poly1305_Init()52 ctx->nonce[1] = U8TOU32(&key[20]); in Poly1305_Init()53 ctx->nonce[2] = U8TOU32(&key[24]); in Poly1305_Init()54 ctx->nonce[3] = U8TOU32(&key[28]); in Poly1305_Init()