Home
last modified time | relevance | path

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

/external/boringssl/src/ssl/test/runner/ed25519/
Ded25519_test.go40 var pub2 [32]byte
41 A.ToBytes(&pub2)
43 if pubBytes != pub2 {
44 t.Errorf("FromBytes(%v)->ToBytes does not round-trip, got %x\n", pubBytes, pub2)
/external/ipsec-tools/src/racoon/
Deaytest.c931 vchar_t p2, *pub2, *priv2, *gxy2; local
950 if (eay_dh_generate(&p2, 2, 96, &pub2, &priv2) < 0) {
955 printf("public key for user 2 = \n"); PVDUMP(pub2);
960 eay_dh_compute(&p1, 2, pub1, priv1, pub2, &gxy1);
966 eay_dh_compute(&p2, 2, pub2, priv2, pub1, &gxy2);
975 vfree(pub2);
Dcrypto_openssl.c2511 eay_dh_compute(prime, g, pub, priv, pub2, key) in eay_dh_compute() argument
2512 vchar_t *prime, *pub, *priv, *pub2, **key; in eay_dh_compute()
2522 if (eay_v2bn(&dh_pub, pub2) < 0)
2535 dh->priv_length = pub2->l * 8;
2537 dh->length = pub2->l * 8;
/external/boringssl/src/crypto/hrss/
Dhrss_test.cc184 HRSS_public_key pub2; in TEST() local
187 ASSERT_TRUE(HRSS_parse_public_key(&pub2, pub_bytes)); in TEST()
191 HRSS_encap(ciphertext, shared_key, &pub2, encap_entropy); in TEST()