|
IAIK ECC version 2.18 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object iaik.security.ecc.math.algorithms.SquareRoot
Find a square root
Method Summary | |
static FieldElement |
calcSQRT(FieldElement g)
performs the squre root calculation |
static java.math.BigInteger[] |
lucasSeq(java.math.BigInteger p,
java.math.BigInteger q,
java.math.BigInteger k,
java.math.BigInteger n)
Generates Lucas sequences according to algorithm A.2.4 of the P1363 standard. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static FieldElement calcSQRT(FieldElement g) throws AlgorithmException
g
- the already modulo reduced field element
null
if no such square root exists
AlgorithmException
public static java.math.BigInteger[] lucasSeq(java.math.BigInteger p, java.math.BigInteger q, java.math.BigInteger k, java.math.BigInteger n) throws AlgorithmException
p
- the parameter p of the lucas sequenceq
- the parameter q of the lucas sequencek
- the index k of the sequencen
- the modulus
AlgorithmException
|
IAIK ECC version 2.18 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |