Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/wireguard/
Dnetns.sh84 pub1="$(pp wg pubkey <<<"$key1")"
107 peer "$pub1" \
164 n2 wg set wg0 peer "$pub1" endpoint 127.0.0.1:1
188 n2 wg set wg0 peer "$pub1" endpoint [::1]:1
198 n2 wg set wg0 peer "$pub1" endpoint 127.0.0.1:1
216 [[ $(n2 wg show wg0 endpoints) == "$pub1 127.212.121.99:9999" ]]
222 [[ $(n2 wg show wg0 endpoints) == "$pub1 [::1]:9998" ]]
246 n2 wg set wg0 private-key <(echo "$key2") listen-port 2 peer "$pub1" preshared-key <(echo "$psk") a…
249 n2 wg set wg0 peer "$pub3" preshared-key <(echo "$psk") allowed-ips 192.168.241.1/32 peer "$pub1" r…
259 n2 wg set wg0 private-key <(echo "$key2") listen-port 2 peer "$pub1" preshared-key <(echo "$psk") a…
[all …]
/external/ipsec-tools/src/racoon/
Deaytest.c930 vchar_t p1, *pub1, *priv1, *gxy1; local
943 if (eay_dh_generate(&p1, 2, 96, &pub1, &priv1) < 0) {
948 printf("public key for user 1 = \n"); PVDUMP(pub1);
960 eay_dh_compute(&p1, 2, pub1, priv1, pub2, &gxy1);
966 eay_dh_compute(&p2, 2, pub2, priv2, pub1, &gxy2);
974 vfree(pub1);
/external/rust/crates/quiche/deps/boringssl/src/crypto/trust_token/
Dinternal.h52 EC_AFFINE pub1; member
65 EC_AFFINE pub1; member
Dpmbtoken.c216 !cbs_get_prefixed_point(&cbs, method->group, &key->pub1, in pmbtoken_client_key_from_bytes()
263 key->pub1 = pub_affine[1]; in pmbtoken_issuer_key_from_bytes()
546 !hash_c_dleqor(method, &c, &priv->pub0, &priv->pub1, &affines[idx_T], in dleq_generate()
675 EC_RAW_POINT pub0, pub1; in dleq_verify() local
677 ec_affine_to_jacobian(group, &pub1, &pub->pub1); in dleq_verify()
686 !mul_public_3(group, &jacobians[idx_K10], g, &u1, &method->h, &v1, &pub1, in dleq_verify()
716 if (!hash_c_dleqor(method, &calculated, &pub->pub0, &pub->pub1, in dleq_verify()
766 !point_to_cbb(&batch_cbb, method->group, &key->pub1)) { in pmbtoken_sign()
915 !point_to_cbb(&batch_cbb, method->group, &key->pub1)) { in STACK_OF()
/external/boringssl/src/crypto/trust_token/
Dpmbtoken.c275 !cbs_get_prefixed_point(&cbs, method->group, &key->pub1, in pmbtoken_client_key_from_bytes()
322 key->pub1 = pub_affine[1]; in pmbtoken_issuer_key_from_bytes()
610 !hash_c_dleqor(method, &c, &priv->pub0, &priv->pub1, &affines[idx_T], in dleq_generate()
737 EC_RAW_POINT pub0, pub1; in dleq_verify() local
739 ec_affine_to_jacobian(group, &pub1, &pub->pub1); in dleq_verify()
748 !mul_public_3(group, &jacobians[idx_K10], g, &u1, &method->h, &v1, &pub1, in dleq_verify()
778 if (!hash_c_dleqor(method, &calculated, &pub->pub0, &pub->pub1, in dleq_verify()
828 !point_to_cbb(&batch_cbb, method->group, &key->pub1)) { in pmbtoken_sign()
971 !point_to_cbb(&batch_cbb, method->group, &key->pub1)) { in STACK_OF()
Dinternal.h52 EC_AFFINE pub1; member
65 EC_AFFINE pub1; member
/external/cronet/third_party/boringssl/src/crypto/trust_token/
Dpmbtoken.c275 !cbs_get_prefixed_point(&cbs, method->group, &key->pub1, in pmbtoken_client_key_from_bytes()
322 key->pub1 = pub_affine[1]; in pmbtoken_issuer_key_from_bytes()
610 !hash_c_dleqor(method, &c, &priv->pub0, &priv->pub1, &affines[idx_T], in dleq_generate()
737 EC_RAW_POINT pub0, pub1; in dleq_verify() local
739 ec_affine_to_jacobian(group, &pub1, &pub->pub1); in dleq_verify()
748 !mul_public_3(group, &jacobians[idx_K10], g, &u1, &method->h, &v1, &pub1, in dleq_verify()
778 if (!hash_c_dleqor(method, &calculated, &pub->pub0, &pub->pub1, in dleq_verify()
828 !point_to_cbb(&batch_cbb, method->group, &key->pub1)) { in pmbtoken_sign()
971 !point_to_cbb(&batch_cbb, method->group, &key->pub1)) { in STACK_OF()
Dinternal.h52 EC_AFFINE pub1; member
65 EC_AFFINE pub1; member
/external/wycheproof/keystore-cts/java/com/google/security/wycheproof/testcases/
DEcdhTest.java815 PublicKey pub1 = kf.generatePublic(EC_VALID_PUBLIC_KEY.getX509EncodedKeySpec()); in testLargePrivateKey() local
816 ka.init(getKeystorePrivateKey(pub1, priv1, isStrongBox)); in testLargePrivateKey()
820 ka.init(getKeystorePrivateKey(pub1, priv2, isStrongBox)); in testLargePrivateKey()
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/ec/
Dec_test.cc561 const EC_POINT *pub1 = EC_KEY_get0_public_key(key1.get()); in TEST_P() local
569 EXPECT_EQ(1, EC_POINT_cmp(group(), pub1, pub2, nullptr)); in TEST_P()
575 EncodeECPoint(&serialized, group(), pub1, POINT_CONVERSION_UNCOMPRESSED)); in TEST_P()
582 EXPECT_EQ(0, EC_POINT_cmp(group(), p.get(), pub1, nullptr)); in TEST_P()
586 EXPECT_EQ(1, EC_POINT_cmp(group(), p.get(), pub1, nullptr)); in TEST_P()
598 EXPECT_EQ(0, EC_POINT_cmp(group(), p.get(), pub1, nullptr)); in TEST_P()
/external/boringssl/src/crypto/fipsmodule/ec/
Dec_test.cc616 const EC_POINT *pub1 = EC_KEY_get0_public_key(key1.get()); in TEST_P() local
624 EXPECT_EQ(1, EC_POINT_cmp(group(), pub1, pub2, nullptr)); in TEST_P()
630 EncodeECPoint(&serialized, group(), pub1, POINT_CONVERSION_UNCOMPRESSED)); in TEST_P()
637 EXPECT_EQ(0, EC_POINT_cmp(group(), p.get(), pub1, nullptr)); in TEST_P()
641 EXPECT_EQ(1, EC_POINT_cmp(group(), p.get(), pub1, nullptr)); in TEST_P()
653 EXPECT_EQ(0, EC_POINT_cmp(group(), p.get(), pub1, nullptr)); in TEST_P()
/external/cronet/third_party/boringssl/src/crypto/fipsmodule/ec/
Dec_test.cc616 const EC_POINT *pub1 = EC_KEY_get0_public_key(key1.get()); in TEST_P() local
624 EXPECT_EQ(1, EC_POINT_cmp(group(), pub1, pub2, nullptr)); in TEST_P()
630 EncodeECPoint(&serialized, group(), pub1, POINT_CONVERSION_UNCOMPRESSED)); in TEST_P()
637 EXPECT_EQ(0, EC_POINT_cmp(group(), p.get(), pub1, nullptr)); in TEST_P()
641 EXPECT_EQ(1, EC_POINT_cmp(group(), p.get(), pub1, nullptr)); in TEST_P()
653 EXPECT_EQ(0, EC_POINT_cmp(group(), p.get(), pub1, nullptr)); in TEST_P()
/external/python/cryptography/tests/hazmat/primitives/
Dtest_serialization.py1995 pub1 = private_key.public_key().public_bytes(
2014 assert pub1 == pub2
2023 assert pub1 == pub2
2033 assert pub1 == pub2
2042 assert pub1 == pub2
Dtest_rsa.py2098 pub1 = RSAPublicNumbers(3, 17)
2102 assert hash(pub1) == hash(pub2)
2103 assert hash(pub1) != hash(pub3)
/external/hyphenation-patterns/en-GB/
Dhyph-en-gb.pat.txt6166 pub1