Searched refs:shared_secret (Results 1 – 3 of 3) sorted by relevance
90 Buffer shared_secret; in Encrypt() local92 &shared_secret)) { in Encrypt()109 Buffer actual_secret(z.available_read() + shared_secret.available_read()); in Encrypt()111 actual_secret.write(shared_secret.peek_read(), shared_secret.available_read()); in Encrypt()144 Buffer shared_secret; in Decrypt() local145 if (!key_exchange_->CalculateSharedKey(encrypted_key, encrypted_key_len, &shared_secret)) { in Decrypt()164 Buffer actual_secret(z.available_read() + shared_secret.available_read()); in Decrypt()166 actual_secret.write(shared_secret.peek_read(), shared_secret.available_read()); in Decrypt()
133 const char* shared_secret; member187 string shared_secret = hex2str(test.shared_secret); in TEST() local204 EXPECT_EQ(shared_secret.size(), computed_shared_secret.available_read()); in TEST()205 EXPECT_EQ(0, memcmp(shared_secret.data(), computed_shared_secret.peek_read(), in TEST()206 shared_secret.size())); in TEST()
365 let shared_secret = match compat_service.getSharedSecret(SecurityLevel::TRUSTED_ENVIRONMENT) in test_shared_secret() localVariable371 let result = shared_secret.getSharedSecretParameters(); in test_shared_secret()375 let result = shared_secret.computeSharedSecret(&[params]); in test_shared_secret()