/external/boringssl/src/crypto/hrss/ |
D | hrss_test.cc | 190 uint8_t shared_key[HRSS_KEY_BYTES]; in TEST() local 191 HRSS_encap(ciphertext, shared_key, &pub2, encap_entropy); in TEST() 196 EXPECT_EQ(Bytes(shared_key), Bytes(shared_key2)); in TEST() 215 uint8_t shared_key[HRSS_KEY_BYTES]; in TEST() local 216 HRSS_encap(ciphertext, shared_key, &pub, encap_entropy); in TEST() 220 EXPECT_EQ(Bytes(shared_key), Bytes(shared_key2)); in TEST() 228 EXPECT_NE(Bytes(shared_key), Bytes(shared_key2)); in TEST() 358 uint8_t shared_key[HRSS_KEY_BYTES]; in TEST() local 359 HRSS_encap(ciphertext, shared_key, &pub, encap_entropy); in TEST() 465 EXPECT_EQ(Bytes(shared_key), Bytes(kExpectedSharedKey)); in TEST() [all …]
|
D | hrss.c | 2172 uint8_t shared_key[32]; in HRSS_decap() local 2178 SHA256_Final(shared_key, &hash_ctx); in HRSS_decap() 2180 for (unsigned i = 0; i < sizeof(shared_key); i++) { in HRSS_decap() 2182 constant_time_select_8(ok, shared_key[i], out_shared_key[i]); in HRSS_decap()
|
/external/openssh/ |
D | kexc25519.c | 66 u_char shared_key[CURVE25519_SIZE]; in kexc25519_shared_key() local 70 explicit_bzero(shared_key, CURVE25519_SIZE); in kexc25519_shared_key() 71 if (timingsafe_bcmp(pub, shared_key, CURVE25519_SIZE) == 0) in kexc25519_shared_key() 74 crypto_scalarmult_curve25519(shared_key, key, pub); in kexc25519_shared_key() 76 dump_digest("shared secret", shared_key, CURVE25519_SIZE); in kexc25519_shared_key() 79 r = sshbuf_put_bignum2_bytes(out, shared_key, CURVE25519_SIZE); in kexc25519_shared_key() 80 explicit_bzero(shared_key, CURVE25519_SIZE); in kexc25519_shared_key()
|
/external/autotest/server/cros/ap_configurators/ |
D | asus_qis_ap_configurator.py | 150 def set_security_wpapsk(self, security, shared_key, update_interval=1800): argument 154 (security, shared_key, update_interval), 158 def _set_security_wpapsk(self, security, shared_key, update_interval): argument 168 self.set_content_of_text_field_by_xpath(shared_key, key_field)
|
D | asus_rtac68u_ap_configurator.py | 292 def set_security_wpapsk(self, security, shared_key, update_interval=None): argument 300 (security, shared_key, update_interval), 304 def _set_security_wpapsk(self, security, shared_key, update_interval=None): argument 323 self.set_content_of_text_field_by_xpath(shared_key, passphrase,
|
D | asus_ap_configurator.py | 231 def set_security_wpapsk(self, security, shared_key, update_interval=1800): argument 235 (security, shared_key, update_interval), 239 def _set_security_wpapsk(self, security, shared_key, update_interval): argument 251 self.set_content_of_text_field_by_xpath(shared_key, key_field)
|
/external/boringssl/src/crypto/dh/ |
D | dh.c | 381 BIGNUM *shared_key; in DH_compute_key() local 395 shared_key = BN_CTX_get(ctx); in DH_compute_key() 396 if (shared_key == NULL) { in DH_compute_key() 415 if (!BN_mod_exp_mont_consttime(shared_key, peers_key, dh->priv_key, dh->p, in DH_compute_key() 421 ret = BN_bn2bin(shared_key, out); in DH_compute_key()
|
/external/python/cryptography/tests/hazmat/primitives/ |
D | test_x448.py | 56 shared_key = binascii.unhexlify(vector["output_u"]) 60 assert computed_shared_key == shared_key 67 shared_key = binascii.unhexlify( 81 assert computed_shared_key == shared_key
|
D | test_x25519.py | 57 shared_key = binascii.unhexlify(vector["output_u"]) 61 assert computed_shared_key == shared_key 68 shared_key = binascii.unhexlify( 82 assert computed_shared_key == shared_key
|
/external/python/cryptography/docs/hazmat/primitives/asymmetric/ |
D | x25519.rst | 17 For most applications the ``shared_key`` should be passed to a key 35 >>> shared_key = private_key.exchange(peer_public_key) 43 ... ).derive(shared_key)
|
D | x448.rst | 17 For most applications the ``shared_key`` should be passed to a key 35 >>> shared_key = private_key.exchange(peer_public_key) 43 ... ).derive(shared_key)
|
D | dh.rst | 21 For most applications the ``shared_key`` should be passed to a key 47 >>> shared_key = server_private_key.exchange(peer_private_key.public_key()) 55 ... ).derive(shared_key) 92 >>> shared_key = private_key.exchange(peer_public_key) 100 ... ).derive(shared_key)
|
D | ec.rst | 247 For most applications the ``shared_key`` should be passed to a key 273 >>> shared_key = server_private_key.exchange( 282 ... ).derive(shared_key) 320 >>> shared_key = private_key.exchange(ec.ECDH(), peer_public_key) 328 ... ).derive(shared_key) 573 For most applications the ``shared_key`` should be passed to a key
|
/external/boringssl/src/tool/ |
D | speed.cc | 920 uint8_t shared_key[HRSS_KEY_BYTES]; in SpeedHRSS() local 922 HRSS_encap(ciphertext, shared_key, &pub, entropy); in SpeedHRSS() 932 uint8_t shared_key[HRSS_KEY_BYTES]; in SpeedHRSS() local 933 HRSS_decap(shared_key, &priv, ciphertext, sizeof(ciphertext)); in SpeedHRSS()
|
/external/v8/src/wasm/ |
D | wasm-js.cc | 1158 Local<String> shared_key = v8_str(isolate, "shared"); in WebAssemblyMemory() local 1160 descriptor->Get(context, shared_key); in WebAssemblyMemory()
|