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.c60 static uint64_t mul32x32_64(uint32_t a, uint32_t b) { return (uint64_t)a * b; } in mul32x32_64() function
103 t[0] = mul32x32_64(state->h0, state->r0) + mul32x32_64(state->h1, state->s4) + in poly1305_update()
104 mul32x32_64(state->h2, state->s3) + mul32x32_64(state->h3, state->s2) + in poly1305_update()
105 mul32x32_64(state->h4, state->s1); in poly1305_update()
106 t[1] = mul32x32_64(state->h0, state->r1) + mul32x32_64(state->h1, state->r0) + in poly1305_update()
107 mul32x32_64(state->h2, state->s4) + mul32x32_64(state->h3, state->s3) + in poly1305_update()
108 mul32x32_64(state->h4, state->s2); in poly1305_update()
109 t[2] = mul32x32_64(state->h0, state->r2) + mul32x32_64(state->h1, state->r1) + in poly1305_update()
110 mul32x32_64(state->h2, state->r0) + mul32x32_64(state->h3, state->s4) + in poly1305_update()
111 mul32x32_64(state->h4, state->s3); in poly1305_update()
[all …]