/external/linux-kselftest/tools/testing/selftests/wireguard/ |
D | netns.sh | 84 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/ |
D | eaytest.c | 930 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/ |
D | internal.h | 52 EC_AFFINE pub1; member 65 EC_AFFINE pub1; member
|
D | pmbtoken.c | 216 !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/ |
D | pmbtoken.c | 275 !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()
|
D | internal.h | 52 EC_AFFINE pub1; member 65 EC_AFFINE pub1; member
|
/external/cronet/third_party/boringssl/src/crypto/trust_token/ |
D | pmbtoken.c | 275 !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()
|
D | internal.h | 52 EC_AFFINE pub1; member 65 EC_AFFINE pub1; member
|
/external/wycheproof/keystore-cts/java/com/google/security/wycheproof/testcases/ |
D | EcdhTest.java | 815 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/ |
D | ec_test.cc | 561 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/ |
D | ec_test.cc | 616 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/ |
D | ec_test.cc | 616 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/ |
D | test_serialization.py | 1995 pub1 = private_key.public_key().public_bytes( 2014 assert pub1 == pub2 2023 assert pub1 == pub2 2033 assert pub1 == pub2 2042 assert pub1 == pub2
|
D | test_rsa.py | 2098 pub1 = RSAPublicNumbers(3, 17) 2102 assert hash(pub1) == hash(pub2) 2103 assert hash(pub1) != hash(pub3)
|
/external/hyphenation-patterns/en-GB/ |
D | hyph-en-gb.pat.txt | 6166 pub1
|