/external/rust/crates/ring/src/ |
D | agreement.rs | 78 peer_public_key: untrusted::Input, 257 peer_public_key: &UnparsedPublicKey<B>, in agree_ephemeral() 264 let peer_public_key = UnparsedPublicKey { in agree_ephemeral() localVariable 265 algorithm: peer_public_key.algorithm, in agree_ephemeral() 266 bytes: peer_public_key.bytes.as_ref(), in agree_ephemeral() 268 agree_ephemeral_(my_private_key, peer_public_key, error_value, kdf) in agree_ephemeral() 273 peer_public_key: UnparsedPublicKey<&[u8]>, in agree_ephemeral_() 285 if peer_public_key.algorithm != my_private_key.algorithm { in agree_ephemeral_() 311 untrusted::Input::from(peer_public_key.bytes), in agree_ephemeral_()
|
/external/rust/crates/ring/src/ec/suite_b/ |
D | ecdh.rs | 49 peer_public_key: untrusted::Input, 56 peer_public_key, 85 peer_public_key: untrusted::Input, in ecdh() 101 let peer_public_key = parse_uncompressed_point(public_key_ops, peer_public_key)?; in ecdh() localVariable 124 let product = private_key_ops.point_mul(&my_private_key, &peer_public_key); in ecdh()
|
/external/rust/crates/ring/src/ec/curve25519/ |
D | x25519.rs | 95 peer_public_key: untrusted::Input, in x25519_ecdh() 100 let peer_public_key: &[u8; PUBLIC_KEY_LEN] = peer_public_key.as_slice_less_safe().try_into()?; in x25519_ecdh() localVariable 134 peer_public_key, in x25519_ecdh()
|
/external/python/cryptography/src/cryptography/hazmat/backends/openssl/ |
D | x448.py | 78 def exchange(self, peer_public_key): argument 79 if not isinstance(peer_public_key, X448PublicKey): 83 self._backend, self._evp_pkey, peer_public_key
|
D | x25519.py | 98 def exchange(self, peer_public_key): argument 99 if not isinstance(peer_public_key, X25519PublicKey): 103 self._backend, self._evp_pkey, peer_public_key
|
D | utils.py | 14 def _evp_pkey_derive(backend, evp_pkey, peer_public_key): argument 21 ctx, peer_public_key._evp_pkey
|
D | ec.py | 151 def exchange(self, algorithm, peer_public_key): argument 162 if peer_public_key.curve.name != self.curve.name: 172 peer_public_key._ec_key
|
D | dh.py | 146 def exchange(self, peer_public_key): argument 150 self._backend._lib.DH_get0_key(peer_public_key._dh_cdata, pub_key,
|
/external/python/cryptography/docs/hazmat/primitives/asymmetric/ |
D | x25519.rst | 30 >>> # In a real handshake the peer_public_key will be received from the 34 >>> peer_public_key = X25519PrivateKey.generate().public_key() 35 >>> shared_key = private_key.exchange(peer_public_key) 96 .. method:: exchange(peer_public_key) 98 :param X25519PublicKey peer_public_key: The public key for the
|
D | x448.rst | 30 >>> # In a real handshake the peer_public_key will be received from the 34 >>> peer_public_key = X448PrivateKey.generate().public_key() 35 >>> shared_key = private_key.exchange(peer_public_key) 92 .. method:: exchange(peer_public_key) 94 :param X448PublicKey peer_public_key: The public key for the
|
D | dh.rst | 87 >>> # In a real handshake the peer_public_key will be received from the 91 >>> peer_public_key = parameters.generate_private_key().public_key() 92 >>> shared_key = private_key.exchange(peer_public_key) 123 peer_public_key = peer_public_numbers.public_key(default_backend()) 225 .. method:: exchange(peer_public_key) 229 :param DHPublicKey peer_public_key: The public key for
|
D | ec.rst | 314 >>> # In a real handshake the peer_public_key will be received from the 317 >>> peer_public_key = ec.generate_private_key( 320 >>> shared_key = private_key.exchange(ec.ECDH(), peer_public_key) 566 .. method:: exchange(algorithm, peer_public_key) 581 :param EllipticCurvePublicKey peer_public_key: The public key for the
|
/external/boringssl/src/ssl/ |
D | ssl_key_share.cc | 249 HRSS_public_key peer_public_key; in Accept() local 251 !HRSS_parse_public_key(&peer_public_key, peer_key.data() + 32) || in Accept() 261 HRSS_encap(ciphertext, secret.data() + 32, &peer_public_key, entropy); in Accept()
|
/external/rust/crates/quiche/deps/boringssl/src/ssl/ |
D | ssl_key_share.cc | 249 HRSS_public_key peer_public_key; in Accept() local 251 !HRSS_parse_public_key(&peer_public_key, peer_key.data() + 32) || in Accept() 261 HRSS_encap(ciphertext, secret.data() + 32, &peer_public_key, entropy); in Accept()
|
/external/python/cryptography/src/cryptography/hazmat/primitives/asymmetric/ |
D | x448.py | 70 def exchange(self, peer_public_key): argument
|
D | x25519.py | 70 def exchange(self, peer_public_key): argument
|
D | dh.py | 163 def exchange(self, peer_public_key): argument
|
D | ec.py | 71 def exchange(self, algorithm, peer_public_key): argument
|