• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/ec/

Lines Matching defs:limb

102  * apart, but are 128-bits wide, the most significant bits of each limb overlap
114 typedef uint128_t limb;
115 typedef limb felem[NLIMBS];
116 typedef limb longfelem[NLIMBS * 2];
258 # define two105m41m9 (((limb)1) << 105) - (((limb)1) << 41) - (((limb)1) << 9)
259 # define two105 (((limb)1) << 105)
260 # define two105m41p9 (((limb)1) << 105) - (((limb)1) << 41) + (((limb)1) << 9)
303 # define two107m43m11 (((limb)1) << 107) - (((limb)1) << 43) - (((limb)1) << 11)
304 # define two107 (((limb)1) << 107)
305 # define two107m43p11 (((limb)1) << 107) - (((limb)1) << 43) + (((limb)1) << 11)
344 static const limb two70m8p6 =
345 (((limb) 1) << 70) - (((limb) 1) << 8) + (((limb) 1) << 6);
346 static const limb two70p40 = (((limb) 1) << 70) + (((limb) 1) << 40);
347 static const limb two70 = (((limb) 1) << 70);
348 static const limb two70m40m38p6 =
349 (((limb) 1) << 70) - (((limb) 1) << 40) - (((limb) 1) << 38) +
350 (((limb) 1) << 6);
351 static const limb two70m6 = (((limb) 1) << 70) - (((limb) 1) << 6);
374 # define two64m0 (((limb)1) << 64) - 1
375 # define two110p32m0 (((limb)1) << 110) + (((limb)1) << 32) - 1
376 # define two64m46 (((limb)1) << 64) - (((limb)1) << 46)
377 # define two64m32 (((limb)1) << 64) - (((limb)1) << 32)
414 tmp[3] += ((limb) a) << 32;
422 tmp[3] += ((limb) a) << 32;
430 tmp[1] -= (((limb) b) << 32);
498 limb a;
593 limb a;
725 # define two100m36m4 (((limb)1) << 100) - (((limb)1) << 36) - (((limb)1) << 4)
726 # define two100 (((limb)1) << 100)
727 # define two100m36p4 (((limb)1) << 100) - (((limb)1) << 36) + (((limb)1) << 4)
941 * felem_is_zero returns a limb with all bits set if |in| == 0 (mod p) and 0
946 static limb smallfelem_is_zero(const smallfelem small)
948 limb result;
976 result |= ((limb) is_zero) << 64;
982 return (int)(smallfelem_is_zero(small) & ((limb) 1));
1215 static void copy_conditional(felem out, const felem in, limb mask)
1219 const limb tmp = mask & (in[i] ^ out[i]);
1225 static void copy_small_conditional(felem out, const smallfelem in, limb mask)
1230 out[i] = ((limb) (in[i] & mask64)) | (out[i] & ~mask);
1254 limb x_equal, y_equal, z1_is_zero, z2_is_zero;
1741 copy_small_conditional(ftmp, tmp[1], (((limb) sign) - 1));