/external/libchrome/crypto/ |
curve25519-donna.c | 30 typedef int64_t limb; typedef 42 static void fsum(limb *output, const limb *in) { 53 static void fdifference(limb *output, const limb *in) { 61 static void fscalar_product(limb *output, const limb *in, const limb scalar) { 73 static void fproduct(limb *output, const limb *in2, const limb *in) [all...] |
/external/boringssl/src/crypto/ec/ |
p224-64.c | 43 * 2^336*b_6 using 128-bit coefficients called 'widelimbs'. A 4-limb 52 typedef uint64_t limb; typedef 55 typedef limb felem[4]; 286 static const limb two58p2 = (((limb)1) << 58) + (((limb)1) << 2); 287 static const limb two58m2 = (((limb)1) << 58) - (((limb)1) << 2); 288 static const limb two58m42m2 [all...] |
p256-64.c | 78 * apart, but are 128-bits wide, the most significant bits of each limb overlap 89 typedef uint128_t limb; typedef 90 typedef limb felem[NLIMBS]; 91 typedef limb longfelem[NLIMBS * 2]; 215 #define two105m41m9 (((limb)1) << 105) - (((limb)1) << 41) - (((limb)1) << 9) 216 #define two105 (((limb)1) << 105) 217 #define two105m41p9 (((limb)1) << 105) - (((limb)1) << 41) + (((limb)1) << 9 [all...] |
/system/core/libmincrypt/ |
p256_ec.c | 53 * That is, each limb is alternately 29 or 28-bits wide in little-endian 58 * when multiplying as terms end up one bit short of a limb which would require 64 typedef u32 limb; typedef 66 typedef limb felem[NLIMBS]; 68 static const limb kBottom28Bits = 0xfffffff; 69 static const limb kBottom29Bits = 0x1fffffff; 118 static const limb kPrecomputed[NLIMBS * 2 * 15 * 2] = { 188 * x must be a u32 or an equivalent type such as limb. */ 196 static void felem_reduce_carry(felem inout, limb carry) { 219 limb carry = 0 [all...] |
/external/pdfium/xfa/src/fxfa/src/app/ |
xfa_ffwidget.cpp | 906 FX_DWORD limb;
local 908 for (i = 0, j = 0, limb = 0; i + 2 < buf_len; i += 3, j += 4) {
909 limb = ((FX_DWORD)buf[i] << 16) | ((FX_DWORD)buf[i + 1] << 8) |
911 out[j] = g_base64_chars[(limb >> 18) & 63];
912 out[j + 1] = g_base64_chars[(limb >> 12) & 63];
913 out[j + 2] = g_base64_chars[(limb >> 6) & 63];
914 out[j + 3] = g_base64_chars[(limb)&63];
920 limb = ((FX_DWORD)buf[i]);
921 out[j++] = g_base64_chars[(limb >> 2) & 63];
922 out[j++] = g_base64_chars[(limb << 4) & 63]; [all...] |