Home
last modified time | relevance | path

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

/external/ukey2/src/main/java/com/google/security/cryptauth/lib/securemessage/
DPublicKeyProtoUtil.java130 public static final BigInteger DH_P = new BigInteger( field in PublicKeyProtoUtil
336 new DHPublicKeySpec(y, DH_P, DH_G)); in parseDh2048PublicKey()
365 DHParameterSpec spec = new DHParameterSpec(DH_P, DH_G); in generateDh2048KeyPair()
368 DHPublicKey publicKey = new DHPublicKeyShim(DH_G.modPow(x, DH_P), spec); in generateDh2048KeyPair()
396 return new DHPrivateKeyShim(x, new DHParameterSpec(DH_P, DH_G)); in parseDh2048PrivateKey()
465 if ((y.compareTo(ONE) < 1) || (y.compareTo(DH_P.subtract(ONE)) > -1)) { in validateDhGroupElement()
555 keygen.initialize(new DHParameterSpec(DH_P, DH_G, DH_LEN)); in getDhKeyGen()