- calculateA
Calculate A as done in round 2.
- calculateGA
Calculate ga as done in round 2.
- calculateGx
Calculate g^x mod p as done in round 1.
- calculateHashForZeroKnowledgeProof
- calculateKeyingMaterial
Calculates the keying material, which can be done after round 2 has completed. A
session key must be
- calculateMacKey
Calculates the MacKey (i.e. the key to use when calculating the MagTag for key
confirmation).
MacKe
- calculateMacTag
Calculates the MacTag (to be used for key confirmation), as defined byNIST SP
800-56A Revision 1
[ht
- calculateS
Converts the given password to a BigIntegerfor use in arithmetic calculations.
- calculateX2s
Calculate x2 * s as done in round 2.
- calculateZeroKnowledgeProof
Calculate a zero knowledge proof of x using Schnorr's signature. The returned
array has two elements
- generateX1
Return a value that can be used as x1 or x3 during round 1. The returned value
is a random value in
- generateX2
Return a value that can be used as x2 or x4 during round 1. The returned value
is a random value in