Lines Matching defs:rp
44 private BigInteger rp;
59 this.rp = null;
67 * on <code>rp</code> whose i-th bit correspondes to
77 * @param rp the BigInteger whose i-th bit corresponds to
79 * @exception NullPointerException if <code>rp</code> is null.
81 * is not positive, or <code>rp</code> does not represent
84 public ECFieldF2m(int m, BigInteger rp) {
85 // check m and rp
87 this.rp = rp;
91 int bitCount = this.rp.bitCount();
92 if (!this.rp.testBit(0) || !this.rp.testBit(m) ||
95 ("rp does not represent a valid reduction polynomial");
97 // convert rp into ks
98 BigInteger temp = this.rp.clearBit(0).clearBit(m);
154 // convert ks into rp
155 this.rp = BigInteger.ONE;
156 this.rp = rp.setBit(m);
158 rp = rp.setBit(this.ks[j]);
190 return rp;
221 // no need to compare rp here since ks and rp
236 value += (rp==null? 0:rp.hashCode());
237 // no need to involve ks here since ks and rp