Home
last modified time | relevance | path

Searched refs:modp (Results 1 – 10 of 10) sorted by relevance

/system/bt/gd/security/ecc/
Dp_256_ecc_pp.cc35 const uint32_t* modp = curve_p256.p; variable
69 multiprecision_mersenns_squa_mod(t1, z1, modp); // t1=z1^2 in ECC_Double()
70 multiprecision_sub_mod(t2, x1, t1, modp); // t2=x1-t1 in ECC_Double()
71 multiprecision_add_mod(t1, x1, t1, modp); // t1=x1+t1 in ECC_Double()
72 multiprecision_mersenns_mult_mod(t2, t1, t2, modp); // t2=t2*t1 in ECC_Double()
73 multiprecision_lshift_mod(t3, t2, modp); in ECC_Double()
74 multiprecision_add_mod(t2, t3, t2, modp); // t2=3t2 in ECC_Double()
76 multiprecision_mersenns_mult_mod(z3, y1, z1, modp); // z3=y1*z1 in ECC_Double()
77 multiprecision_lshift_mod(z3, z3, modp); in ECC_Double()
79 multiprecision_mersenns_squa_mod(y3, y1, modp); // y3=y1^2 in ECC_Double()
[all …]
Dmultprecision.h41 void multiprecision_inv_mod(uint32_t* aminus, uint32_t* a, const uint32_t* modp);
43 void multiprecision_add_mod(uint32_t* c, const uint32_t* a, const uint32_t* b, const uint32_t* modp
45 void multiprecision_sub_mod(uint32_t* c, const uint32_t* a, const uint32_t* b, const uint32_t* modp
47 void multiprecision_lshift_mod(uint32_t* c, const uint32_t* a, const uint32_t* modp); // c=a<<b, r…
50 …ecision_mersenns_mult_mod(uint32_t* c, const uint32_t* a, const uint32_t* b, const uint32_t* modp);
51 void multiprecision_mersenns_squa_mod(uint32_t* c, const uint32_t* a, const uint32_t* modp);
52 void multiprecision_fast_mod_P256(uint32_t* c, const uint32_t* a, const uint32_t* modp);
Dmultprecision.cc116 void multiprecision_lshift_mod(uint32_t* c, const uint32_t* a, const uint32_t* modp) { in multiprecision_lshift_mod() argument
119 multiprecision_sub(c, c, modp); in multiprecision_lshift_mod()
120 } else if (multiprecision_compare(c, modp) >= 0) { in multiprecision_lshift_mod()
121 multiprecision_sub(c, c, modp); in multiprecision_lshift_mod()
143 …cision_mersenns_mult_mod(uint32_t* c, const uint32_t* a, const uint32_t* b, const uint32_t* modp) { in multiprecision_mersenns_mult_mod() argument
147 multiprecision_fast_mod_P256(c, cc, modp); in multiprecision_mersenns_mult_mod()
151 void multiprecision_mersenns_squa_mod(uint32_t* c, const uint32_t* a, const uint32_t* modp) { in multiprecision_mersenns_squa_mod() argument
152 multiprecision_mersenns_mult_mod(c, a, a, modp); in multiprecision_mersenns_squa_mod()
156 void multiprecision_add_mod(uint32_t* c, const uint32_t* a, const uint32_t* b, const uint32_t* modp in multiprecision_add_mod() argument
159 multiprecision_sub(c, c, modp); in multiprecision_add_mod()
[all …]
/system/bt/stack/smp/
Dp_256_multprecision.cc113 uint32_t* modp = curve_p256.p; in multiprecision_lshift_mod() local
117 multiprecision_sub(c, c, modp); in multiprecision_lshift_mod()
118 } else if (multiprecision_compare(c, modp) >= 0) { in multiprecision_lshift_mod()
119 multiprecision_sub(c, c, modp); in multiprecision_lshift_mod()
156 uint32_t* modp = curve_p256.p; in multiprecision_add_mod() local
160 multiprecision_sub(c, c, modp); in multiprecision_add_mod()
161 } else if (multiprecision_compare(c, modp) >= 0) { in multiprecision_add_mod()
162 multiprecision_sub(c, c, modp); in multiprecision_add_mod()
169 uint32_t* modp = curve_p256.p; in multiprecision_sub_mod() local
172 if (borrow) multiprecision_add(c, c, modp); in multiprecision_sub_mod()
[all …]
Dp_256_ecc_pp.cc200 uint32_t* modp; in ECC_PointMult_Bin_NAF() local
202 modp = curve_p256.p; in ECC_PointMult_Bin_NAF()
213 multiprecision_sub(minus_p.y, modp, p->y); in ECC_PointMult_Bin_NAF()
/system/bt/build/dpkg/modp_b64/debian/
Dcontrol1 Source: modp-b64
14 Package: modp-b64
18 Description: modp base64 decoder
DREADME.Debian1 modp-b64 for Debian
Dchangelog1 modp-b64 (0.0.1-1) buster; urgency=low
/system/bt/build/dpkg/modp_b64/
Dgen-src-pkg.sh10 pkgdir=modp-b64-0.0.1
11 origtar=modp-b64_0.0.1.orig.tar.gz
/system/bt/build/dpkg/
DREADME.txt21 $ sudo dpkg -i /tmp/modp_b64/modp-b64_0.0.1-1_amd64.deb