Home
last modified time | relevance | path

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

/external/ukey2/src/main/java/com/google/security/cryptauth/lib/securemessage/
DPublicKeyProtoUtil.java147 public static final BigInteger DH_G = TWO; 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()
555 keygen.initialize(new DHParameterSpec(DH_P, DH_G, DH_LEN)); in getDhKeyGen()