Home
last modified time | relevance | path

Searched refs:wnaf (Results 1 – 3 of 3) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
DWNafUtil.java78 int[] wnaf = new int[k.bitLength() / width + 1]; in generateCompactWindowNaf() local
111 wnaf[length++] = (digit << 16) | zeroes; in generateCompactWindowNaf()
116 if (wnaf.length > length) in generateCompactWindowNaf()
118 wnaf = trim(wnaf, length); in generateCompactWindowNaf()
121 return wnaf; in generateCompactWindowNaf()
241 byte[] wnaf = new byte[k.bitLength() + 1]; in generateWindowNaf()
274 wnaf[length++] = (byte)digit; in generateWindowNaf()
279 if (wnaf.length > length) in generateWindowNaf()
281 wnaf = trim(wnaf, length); in generateWindowNaf()
284 return wnaf; in generateWindowNaf()
DWNafL2RMultiplier.java27 int[] wnaf = WNafUtil.generateCompactWindowNaf(width, k); in multiplyPositive() local
31 int i = wnaf.length; in multiplyPositive()
39 int wi = wnaf[--i]; in multiplyPositive()
72 int wi = wnaf[--i]; in multiplyPositive()
DECAlgorithms.java457 byte[] wnaf = wnafs[j];
458 int wi = i < wnaf.length ? wnaf[i] : 0;