Lines Matching refs:lambda

75      * Computes the norm of an element <code>&lambda;</code> of
78 * @param lambda The element <code>&lambda;</code> of
80 * @return The norm of <code>&lambda;</code>.
82 public static BigInteger norm(final byte mu, ZTauElement lambda)
87 BigInteger s1 = lambda.u.multiply(lambda.u);
90 BigInteger s2 = lambda.u.multiply(lambda.v);
93 BigInteger s3 = lambda.v.multiply(lambda.v).shiftLeft(1);
112 * Computes the norm of an element <code>&lambda;</code> of
113 * <code><b>R</b>[&tau;]</code>, where <code>&lambda; = u + v&tau;</code>
117 * @param u The real part of the element <code>&lambda;</code> of
120 * <code>&lambda;</code> of <code><b>R</b>[&tau;]</code>.
121 * @return The norm of <code>&lambda;</code>.
154 * Rounds an element <code>&lambda;</code> of <code><b>R</b>[&tau;]</code>
156 * has minimal norm. <code>&lambda;</code> is given as
157 * <code>&lambda; = &lambda;<sub>0</sub> + &lambda;<sub>1</sub>&tau;</code>.
158 * @param lambda0 The component <code>&lambda;<sub>0</sub></code>.
159 * @param lambda1 The component <code>&lambda;<sub>1</sub></code>.
269 * <code>k</code>, the value <code>&lambda; = s k / n</code> is
280 * @return The value <code>&lambda; = s k / n</code> computed to
308 * element <code>&lambda;</code> of <code><b>Z</b>[&tau;]</code>.
310 * @param lambda The element <code>&lambda;</code> of
312 * @return The <code>&tau;</code>-adic NAF of <code>&lambda;</code>.
314 public static byte[] tauAdicNaf(byte mu, ZTauElement lambda)
321 BigInteger norm = norm(mu, lambda);
336 BigInteger r0 = lambda.u;
337 BigInteger r1 = lambda.v;
663 * by an element <code>&lambda;</code> of <code><b>Z</b>[&tau;]</code>
666 * @param lambda The element <code>&lambda;</code> of
668 * @return <code>&lambda; * p</code>
670 public static ECPoint.F2m multiplyTnaf(ECPoint.F2m p, ZTauElement lambda)
674 byte[] u = tauAdicNaf(mu, lambda);
683 * by an element <code>&lambda;</code> of <code><b>Z</b>[&tau;]</code>
685 * of <code>&lambda;</code>.
687 * @param u The the TNAF of <code>&lambda;</code>..
688 * @return <code>&lambda; * p</code>
711 * <code>&lambda;</code> of <code><b>Z</b>[&tau;]</code>.
713 * @param lambda The element <code>&lambda;</code> of
721 * <code>&lambda;</code>.
723 public static byte[] tauAdicWNaf(byte mu, ZTauElement lambda,
731 BigInteger norm = norm(mu, lambda);
745 // Split lambda into two BigIntegers to simplify calculations
746 BigInteger r0 = lambda.u;
747 BigInteger r1 = lambda.v;
750 // while lambda <> (0, 0)