HomeSort by relevance Sort by last modified time
    Searched refs:BN_MASK2 (Results 1 - 11 of 11) sorted by null

  /external/boringssl/src/crypto/bn/
add.c 137 t2 = (t1 + 1) & BN_MASK2;
166 w &= BN_MASK2;
189 a->d[i] = l = (a->d[i] + w) & BN_MASK2;
290 t1 = (t1 - t2 - 1) & BN_MASK2;
293 t1 = (t1 - t2) & BN_MASK2;
295 *(rp++) = t1 & BN_MASK2;
308 t2 = (t1 - 1) & BN_MASK2;
330 w &= BN_MASK2;
366 a->d[i] = (a->d[i] - w) & BN_MASK2;
generic.c 135 #define L2HBITS(a) (((a) << BN_BITS4) & BN_MASK2)
151 m = (m + m1) & BN_MASK2; \
156 lt = (lt + m1) & BN_MASK2; \
175 l = (l + m) & BN_MASK2; \
192 l = (l + (c)) & BN_MASK2; \
196 l = (l + (c)) & BN_MASK2; \
199 (c) = h & BN_MASK2; \
214 if ((l & BN_MASK2) < (c)) \
216 (c) = h & BN_MASK2; \
217 (r) = l & BN_MASK2; \
    [all...]
shift.c 93 t[nw + i + 1] |= (l >> rb) & BN_MASK2;
94 t[nw + i] = (l << lb) & BN_MASK2;
124 *(rp++) = ((t << 1) | c) & BN_MASK2;
176 tmp = (l >> rb) & BN_MASK2;
178 *(t++) = (tmp | (l << lb)) & BN_MASK2;
180 if ((l = (l >> rb) & BN_MASK2)) {
213 rp[i] = ((t >> 1) & BN_MASK2) | c;
294 a->d[w] &= ~(BN_MASK2 << b);
internal.h 153 #define BN_MASK2 (0xffffffffffffffffUL)
168 #define BN_MASK2 (0xffffffffUL)
197 #define Lw(t) (((BN_ULONG)(t))&BN_MASK2)
198 #define Hw(t) (((BN_ULONG)((t)>>BN_BITS2))&BN_MASK2)
230 #define L2HBITS(a) (((a) << BN_BITS4) & BN_MASK2)
246 m = (m + m1) & BN_MASK2; \
251 lt = (lt + m1) & BN_MASK2; \
div.c 260 q = BN_MASK2;
275 rem = (n1 - q * d0) & BN_MASK2;
301 rem = (n1 - q * d0) & BN_MASK2;
568 w &= BN_MASK2;
591 ret = (l - ((d * w) & BN_MASK2)) & BN_MASK2;
615 w &= BN_MASK2;
montgomery.c 228 Ri->d[0] = BN_MASK2;
229 Ri->d[1] = BN_MASK2;
262 if (!BN_set_word(Ri, BN_MASK2)) {
361 v = bn_mul_add_words(rp, np, nl, (rp[0] * n0) & BN_MASK2);
362 v = (v + carry + rp[nl]) & BN_MASK2;
448 v=bn_mul_add_words(rp,np,nl,(rp[0]*n0)&BN_MASK2);
449 v = (v+carry+rp[nl])&BN_MASK2;
mul.c 164 r[0] = (0 - t - c) & BN_MASK2;
173 r[1] = (0 - t - c) & BN_MASK2;
182 r[2] = (0 - t - c) & BN_MASK2;
191 r[3] = (0 - t - c) & BN_MASK2;
206 r[0] = (t - c) & BN_MASK2;
215 r[1] = (t - c) & BN_MASK2;
224 r[2] = (t - c) & BN_MASK2;
233 r[3] = (t - c) & BN_MASK2;
429 ln = (lo + c1) & BN_MASK2;
438 ln = (lo + 1) & BN_MASK2;
    [all...]
exponentiation.c 707 r->d[0] = (0 - m->d[0]) & BN_MASK2;
709 r->d[i] = (~m->d[i]) & BN_MASK2;
984 tmp.d[0] = (0 - m->d[0]) & BN_MASK2;
986 tmp.d[i] = (~m->d[i]) & BN_MASK2;
    [all...]
convert.c 523 return BN_MASK2;
prime.c 646 BN_ULONG maxdelta = BN_MASK2 - primes[NUMPRIMES - 1];
    [all...]
  /external/boringssl/src/crypto/bn/asm/
x86_64-gcc.c 251 #define BN_MASK2 0xffffffffffffffffL
263 r[0] = (t1 - t2 - c) & BN_MASK2;
273 r[1] = (t1 - t2 - c) & BN_MASK2;
283 r[2] = (t1 - t2 - c) & BN_MASK2;
293 r[3] = (t1 - t2 - c) & BN_MASK2;

Completed in 83 milliseconds