Home
last modified time | relevance | path

Searched refs:WNafUtil (Results 1 – 9 of 9) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
DECAlgorithms.java238 byte[] jsf = WNafUtil.generateJSF(k, l); in implShamirsTrickJsf()
265 int widthP = Math.max(2, Math.min(16, WNafUtil.getWindowSize(k.bitLength()))); in implShamirsTrickWNaf()
266 int widthQ = Math.max(2, Math.min(16, WNafUtil.getWindowSize(l.bitLength()))); in implShamirsTrickWNaf()
268 WNafPreCompInfo infoP = WNafUtil.precompute(P, widthP, true); in implShamirsTrickWNaf()
269 WNafPreCompInfo infoQ = WNafUtil.precompute(Q, widthQ, true); in implShamirsTrickWNaf()
276 byte[] wnafP = WNafUtil.generateWindowNaf(widthP, k); in implShamirsTrickWNaf()
277 byte[] wnafQ = WNafUtil.generateWindowNaf(widthQ, l); in implShamirsTrickWNaf()
289 …int width = Math.max(2, Math.min(16, WNafUtil.getWindowSize(Math.max(k.bitLength(), l.bitLength())…
291 ECPoint Q = WNafUtil.mapPointWithPrecomp(P, width, true, pointMapQ);
292 WNafPreCompInfo infoP = WNafUtil.getWNafPreCompInfo(P);
[all …]
DWNafL2RMultiplier.java23 WNafPreCompInfo wnafPreCompInfo = WNafUtil.precompute(p, width, true); in multiplyPositive()
27 int[] wnaf = WNafUtil.generateCompactWindowNaf(width, k); in multiplyPositive()
94 return WNafUtil.getWindowSize(bits); in getWindowSize()
DWNafUtil.java5 public abstract class WNafUtil class
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
DDHKeyGeneratorHelper.java7 import org.bouncycastle.math.ec.WNafUtil;
31 if (WNafUtil.getNafWeight(x) >= minWeight) in calculatePrivate()
56 if (WNafUtil.getNafWeight(x) >= minWeight) in calculatePrivate()
DDHParametersHelper.java9 import org.bouncycastle.math.ec.WNafUtil;
63 if (WNafUtil.getNafWeight(p) < minWeight) in generateSafePrimes()
DECKeyPairGenerator.java17 import org.bouncycastle.math.ec.WNafUtil;
59 if (WNafUtil.getNafWeight(d) < minWeight) in generateKeyPair()
DDSAKeyPairGenerator.java13 import org.bouncycastle.math.ec.WNafUtil;
58 if (WNafUtil.getNafWeight(x) >= minWeight) in generatePrivateKey()
DRSAKeyPairGenerator.java12 import org.bouncycastle.math.ec.WNafUtil;
99 if (WNafUtil.getNafWeight(n) < minWeight) in generateKeyPair()
/external/bouncycastle/patches/
Dbcprov.patch896 import org.bouncycastle.math.ec.WNafUtil;