Home
last modified time | relevance | path

Searched refs:expected_key (Results 1 – 14 of 14) sorted by relevance

/external/python/cryptography/src/cryptography/hazmat/primitives/kdf/
Dhkdf.py49 def verify(self, key_material, expected_key): argument
50 if not constant_time.bytes_eq(self.derive(key_material), expected_key):
108 def verify(self, key_material, expected_key): argument
109 if not constant_time.bytes_eq(self.derive(key_material), expected_key):
Dconcatkdf.py81 def verify(self, key_material, expected_key): argument
82 if not constant_time.bytes_eq(self.derive(key_material), expected_key):
122 def verify(self, key_material, expected_key): argument
123 if not constant_time.bytes_eq(self.derive(key_material), expected_key):
Dpbkdf2.py53 def verify(self, key_material, expected_key): argument
55 if not constant_time.bytes_eq(derived_key, expected_key):
Dscrypt.py60 def verify(self, key_material, expected_key): argument
62 if not constant_time.bytes_eq(derived_key, expected_key):
Dx963kdf.py66 def verify(self, key_material, expected_key): argument
67 if not constant_time.bytes_eq(self.derive(key_material), expected_key):
Dkbkdf.py143 def verify(self, key_material, expected_key): argument
144 if not constant_time.bytes_eq(self.derive(key_material), expected_key):
D__init__.py22 def verify(self, key_material, expected_key): argument
/external/python/cryptography/docs/hazmat/primitives/
Dkey-derivation-functions.rst110 .. method:: verify(key_material, expected_key)
114 :param bytes expected_key: The expected result of deriving a new key,
127 ``key_material`` generates the same key as the ``expected_key``, and
212 .. method:: verify(key_material, expected_key)
216 :param bytes expected_key: The expected result of deriving a new key,
229 ``key_material`` generates the same key as the ``expected_key``, and
300 .. method:: verify(key_material, expected_key)
304 :param bytes expected_key: The expected result of deriving a new key,
319 ``key_material`` generates the same key as the ``expected_key``, and
388 .. method:: verify(key_material, expected_key)
[all …]
/external/python/apitools/apitools/base/py/testing/
Dmock.py75 expected_key, expected_request = expected_call
89 if expected_key != received_key:
95 expected_key=expected_key,
108 key=expected_key,
/external/usrsctp/usrsctplib/netinet/
Dsctp_auth.c2224 sctp_key_t *expected_key) argument
2232 sctp_show_key(expected_key, "\nExpected");
2234 if (memcmp(key, expected_key, expected_key->keylen) != 0) {
2243 sctp_free_key(expected_key);
2252 sctp_key_t *key1, *key2, *expected_key; local
2258 expected_key = sctp_set_key("\x01\x01\x01\x01\x01\x02\x03\x04", 8);
2259 if (sctp_test_key_concatenation(key1, key2, expected_key) < 0)
2265 expected_key = sctp_set_key("\x00\x00\x00\x01\x02", 5);
2266 if (sctp_test_key_concatenation(key1, key2, expected_key) < 0)
2272 expected_key = sctp_set_key("\x01\x00\x00\x00\x02", 5);
[all …]
/external/llvm-project/lldb/test/API/tools/lldb-server/
DTestGdbRemoteProcessInfo.py129 for expected_key in expected_key_set:
130 if expected_key not in process_info:
131 missing_key_set.add(expected_key)
/external/libchrome/components/policy/core/common/
Dschema_unittest.cc409 const char* expected_key; in TEST() member
435 EXPECT_STREQ(kExpectedProperties[i].expected_key, it.key()); in TEST()
487 const char* expected_key; in TEST() member
497 Schema sub = schema.GetKnownProperty(kExpectedKeys[i].expected_key); in TEST()
/external/protobuf/src/google/protobuf/
Dmap_test.cc2282 int expected_key = 0; in TEST() local
2291 if (is_key) expected_key = static_cast<int>(c); in TEST()
2303 ASSERT_EQ(expected_key, message.map_int32_int32().begin()->first); in TEST()
/external/rust/crates/grpcio-sys/grpc/test/core/security/
Dcredentials_test.cc976 absl::string_view expected_key, in assert_query_parameters() argument
978 const auto it = uri.query_parameter_map().find(expected_key); in assert_query_parameters()