Home
last modified time | relevance | path

Searched refs:actual_z (Results 1 – 3 of 3) sorted by relevance

/external/boringssl/src/crypto/ecdh_extra/
Decdh_test.cc103 std::vector<uint8_t> actual_z; in TEST() local
106 actual_z.resize(z.size() + 1); in TEST()
107 int ret = ECDH_compute_key(actual_z.data(), actual_z.size(), in TEST()
110 EXPECT_EQ(Bytes(z), Bytes(actual_z.data(), static_cast<size_t>(ret))); in TEST()
113 actual_z.resize(z.size() - 1); in TEST()
114 ret = ECDH_compute_key(actual_z.data(), actual_z.size(), peer_pub_key.get(), in TEST()
118 Bytes(actual_z.data(), static_cast<size_t>(ret))); in TEST()
/external/rust/crates/quiche/deps/boringssl/src/crypto/ecdh_extra/
Decdh_test.cc103 std::vector<uint8_t> actual_z; in TEST() local
106 actual_z.resize(z.size() + 1); in TEST()
107 int ret = ECDH_compute_key(actual_z.data(), actual_z.size(), in TEST()
110 EXPECT_EQ(Bytes(z), Bytes(actual_z.data(), static_cast<size_t>(ret))); in TEST()
113 actual_z.resize(z.size() - 1); in TEST()
114 ret = ECDH_compute_key(actual_z.data(), actual_z.size(), peer_pub_key.get(), in TEST()
118 Bytes(actual_z.data(), static_cast<size_t>(ret))); in TEST()
/external/rust/crates/ring/src/ec/suite_b/
Dops.rs1015 let actual_z = &cops.point_z(&actual_point); in assert_point_actual_equals_expected() localVariable
1019 assert_elems_are_equal(cops, &actual_z, &zero); in assert_point_actual_equals_expected()
1022 let zz_inv = ops.elem_inverse_squared(&actual_z); in assert_point_actual_equals_expected()
1026 let zzz_inv = cops.elem_product(&actual_z, &zzzz_inv); in assert_point_actual_equals_expected()