Home
last modified time | relevance | path

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

/trusty/user/app/sample/hwcrypto-unittest/
Dmain.c144 uint8_t dest2[sizeof(dest)]; in TEST_F() local
156 memset(dest2, 0, size); in TEST_F()
166 rc = hwkey_derive(_state->hwkey_session, &kdf_version, src_data, dest2, in TEST_F()
171 rc = memcmp(dest, dest2, size); in TEST_F()
177 memset(dest2, 0, size); in TEST_F()
178 versioned_args.key = dest2; in TEST_F()
184 rc = memcmp(dest, dest2, size); in TEST_F()
188 memset(dest2, 0, size); in TEST_F()
193 rc = memcmp(dest, dest2, size); in TEST_F()
195 EXPECT_EQ(true, keys_are_sufficiently_distinct(dest, size, dest2, size), in TEST_F()
[all …]