Home
last modified time | relevance | path

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

/external/openssh/
Dpoly1305.c17 #define mul32x32_64(a,b) ((uint64_t)(a) * (b)) macro
91 …t[0] = mul32x32_64(h0,r0) + mul32x32_64(h1,s4) + mul32x32_64(h2,s3) + mul32x32_64(h3,s2) + mul32x… in poly1305_auth()
92 …t[1] = mul32x32_64(h0,r1) + mul32x32_64(h1,r0) + mul32x32_64(h2,s4) + mul32x32_64(h3,s3) + mul32x… in poly1305_auth()
93 …t[2] = mul32x32_64(h0,r2) + mul32x32_64(h1,r1) + mul32x32_64(h2,r0) + mul32x32_64(h3,s4) + mul32x… in poly1305_auth()
94 …t[3] = mul32x32_64(h0,r3) + mul32x32_64(h1,r2) + mul32x32_64(h2,r1) + mul32x32_64(h3,r0) + mul32x… in poly1305_auth()
95 …t[4] = mul32x32_64(h0,r4) + mul32x32_64(h1,r3) + mul32x32_64(h2,r2) + mul32x32_64(h3,r1) + mul32x… in poly1305_auth()
/external/boringssl/src/crypto/poly1305/
Dpoly1305.c42 static uint64_t mul32x32_64(uint32_t a, uint32_t b) { return (uint64_t)a * b; } in mul32x32_64() function
90 t[0] = mul32x32_64(state->h0, state->r0) + mul32x32_64(state->h1, state->s4) + in poly1305_update()
91 mul32x32_64(state->h2, state->s3) + mul32x32_64(state->h3, state->s2) + in poly1305_update()
92 mul32x32_64(state->h4, state->s1); in poly1305_update()
93 t[1] = mul32x32_64(state->h0, state->r1) + mul32x32_64(state->h1, state->r0) + in poly1305_update()
94 mul32x32_64(state->h2, state->s4) + mul32x32_64(state->h3, state->s3) + in poly1305_update()
95 mul32x32_64(state->h4, state->s2); in poly1305_update()
96 t[2] = mul32x32_64(state->h0, state->r2) + mul32x32_64(state->h1, state->r1) + in poly1305_update()
97 mul32x32_64(state->h2, state->r0) + mul32x32_64(state->h3, state->s4) + in poly1305_update()
98 mul32x32_64(state->h4, state->s3); in poly1305_update()
[all …]