Home
last modified time | relevance | path

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

/external/libwebsockets/plugins/ssh-base/crypto/
Dpoly1305.c11 #define mul32x32_64(a,b) ((uint64_t)(a) * (b)) macro
89 t[0] = mul32x32_64(h0,r0) + mul32x32_64(h1,s4) + in poly1305_auth()
90 mul32x32_64(h2,s3) + mul32x32_64(h3,s2) + in poly1305_auth()
91 mul32x32_64(h4,s1); in poly1305_auth()
92 t[1] = mul32x32_64(h0,r1) + mul32x32_64(h1,r0) + in poly1305_auth()
93 mul32x32_64(h2,s4) + mul32x32_64(h3,s3) + in poly1305_auth()
94 mul32x32_64(h4,s2); in poly1305_auth()
95 t[2] = mul32x32_64(h0,r2) + mul32x32_64(h1,r1) + in poly1305_auth()
96 mul32x32_64(h2,r0) + mul32x32_64(h3,s4) + in poly1305_auth()
97 mul32x32_64(h4,s3); in poly1305_auth()
[all …]
/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/rust/crates/quiche/deps/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 …]
/external/rust/crates/ring/crypto/poly1305/
Dpoly1305.c43 static uint64_t mul32x32_64(uint32_t a, uint32_t b) { return (uint64_t)a * b; } in mul32x32_64() function
95 t[0] = mul32x32_64(state->h0, state->r0) + mul32x32_64(state->h1, state->s4) + in poly1305_update()
96 mul32x32_64(state->h2, state->s3) + mul32x32_64(state->h3, state->s2) + in poly1305_update()
97 mul32x32_64(state->h4, state->s1); in poly1305_update()
98 t[1] = mul32x32_64(state->h0, state->r1) + mul32x32_64(state->h1, state->r0) + in poly1305_update()
99 mul32x32_64(state->h2, state->s4) + mul32x32_64(state->h3, state->s3) + in poly1305_update()
100 mul32x32_64(state->h4, state->s2); in poly1305_update()
101 t[2] = mul32x32_64(state->h0, state->r2) + mul32x32_64(state->h1, state->r1) + in poly1305_update()
102 mul32x32_64(state->h2, state->r0) + mul32x32_64(state->h3, state->s4) + in poly1305_update()
103 mul32x32_64(state->h4, state->s3); in poly1305_update()
[all …]
/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
94 t[0] = mul32x32_64(state->h0, state->r0) + mul32x32_64(state->h1, state->s4) + in poly1305_update()
95 mul32x32_64(state->h2, state->s3) + mul32x32_64(state->h3, state->s2) + in poly1305_update()
96 mul32x32_64(state->h4, state->s1); in poly1305_update()
97 t[1] = mul32x32_64(state->h0, state->r1) + mul32x32_64(state->h1, state->r0) + in poly1305_update()
98 mul32x32_64(state->h2, state->s4) + mul32x32_64(state->h3, state->s3) + in poly1305_update()
99 mul32x32_64(state->h4, state->s2); in poly1305_update()
100 t[2] = mul32x32_64(state->h0, state->r2) + mul32x32_64(state->h1, state->r1) + in poly1305_update()
101 mul32x32_64(state->h2, state->r0) + mul32x32_64(state->h3, state->s4) + in poly1305_update()
102 mul32x32_64(state->h4, state->s3); in poly1305_update()
[all …]