Home
last modified time | relevance | path

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

/external/libchrome/crypto/
Dp224.cc118 static const uint32_t kBottom28Bits = 0xfffffff; variable
149 (*out)[i] = static_cast<uint32_t>(in[i] & kBottom28Bits); in ReduceLarge()
161 (*out)[0] = static_cast<uint32_t>(in[0] & kBottom28Bits); in ReduceLarge()
162 (*out)[1] += static_cast<uint32_t>((in[0] >> 28) & kBottom28Bits); in ReduceLarge()
217 a[i] &= kBottom28Bits; in Reduce()
220 a[7] &= kBottom28Bits; in Reduce()
303 out[i] &= kBottom28Bits; in Contract()
306 out[7] &= kBottom28Bits; in Contract()
325 out[i] &= kBottom28Bits; in Contract()
328 out[7] &= kBottom28Bits; in Contract()
[all …]
/external/libconstrainedcrypto/
Dp256_ec.c68 static const limb kBottom28Bits = 0xfffffff; variable
235 out[i] &= kBottom28Bits; in felem_sum()
275 out[i] &= kBottom28Bits; in felem_diff()
312 tmp2[1] |= (((limb)(tmp[0] >> 32)) << 3) & kBottom28Bits; in felem_reduce_degree()
313 tmp2[1] += ((limb) tmp[1]) & kBottom28Bits; in felem_reduce_degree()
315 tmp2[1] &= kBottom28Bits; in felem_reduce_degree()
331 tmp2[i] += (((limb)(tmp[i - 1] >> 32)) << 3) & kBottom28Bits; in felem_reduce_degree()
332 tmp2[i] += ((limb) tmp[i]) & kBottom28Bits; in felem_reduce_degree()
335 tmp2[i] &= kBottom28Bits; in felem_reduce_degree()
402 tmp2[i + 3] += (x << 10) & kBottom28Bits; in felem_reduce_degree()
[all …]