Searched refs:digests (Results 1 – 8 of 8) sorted by relevance
/system/keymaster/legacy_support/ |
D | keymaster1_legacy_support.cpp | 62 keymaster_digest_t* digests; in add_digests() local 65 dev->get_supported_digests(dev, algorithm, purpose, &digests, &digests_length); in add_digests() 70 std::unique_ptr<keymaster_digest_t, Malloc_Delete> digests_deleter(digests); in add_digests() 72 auto digest_vec = make_vector(digests, digests_length); in add_digests()
|
/system/keymaster/contexts/ |
D | soft_keymaster_device.cpp | 115 keymaster_digest_t* digests; in add_digests() local 118 dev->get_supported_digests(dev, algorithm, purpose, &digests, &digests_length); in add_digests() 123 std::unique_ptr<keymaster_digest_t, Malloc_Delete> digests_deleter(digests); in add_digests() 125 auto digest_vec = make_vector(digests, digests_length); in add_digests() 517 keymaster_digest_t** digests, in get_supported_digests() argument 522 if (!digests || !digests_length) in get_supported_digests() 527 return km1_dev->get_supported_digests(km1_dev, algorithm, purpose, digests, digests_length); in get_supported_digests() 541 *digests = reinterpret_cast<keymaster_digest_t*>(malloc(*digests_length * sizeof(**digests))); in get_supported_digests() 542 if (!*digests) in get_supported_digests() 544 std::copy(response.results, response.results + response.results_length, *digests); in get_supported_digests()
|
/system/keymaster/tests/ |
D | android_keymaster_test_utils.cpp | 794 keymaster_digest_t** digests, in get_supported_digests() argument 797 unwrap(dev), algorithm, purpose, digests, digests_length); in get_supported_digests() 802 std::copy_if(*digests, *digests + *digests_length, std::back_inserter(filtered_digests), in get_supported_digests() 805 free(*digests); in get_supported_digests() 807 *digests = reinterpret_cast<keymaster_digest_t*>( in get_supported_digests() 809 std::copy(filtered_digests.begin(), filtered_digests.end(), *digests); in get_supported_digests()
|
D | android_keymaster_messages_test.cpp | 109 keymaster_digest_t digests[] = {KM_DIGEST_NONE, KM_DIGEST_MD5, KM_DIGEST_SHA1}; in TEST() local 111 rsp.SetResults(digests); in TEST() 114 EXPECT_EQ(array_length(digests), deserialized->results_length); in TEST() 115 EXPECT_EQ(0, memcmp(deserialized->results, digests, array_size(digests))); in TEST()
|
D | android_keymaster_test.cpp | 738 vector<keymaster_digest_t> digests = { in TEST_P() local 744 for (keymaster_digest_t digest : digests) { in TEST_P() 758 EXPECT_EQ(digests.size() * key_sizes.size() * 3, in TEST_P() 1263 vector<keymaster_digest_t> digests = { in TEST_P() local 1274 for (keymaster_digest_t digest : digests) { in TEST_P() 1442 keymaster_digest_t digests[] = { in TEST_P() local 1455 for (auto digest : digests) in TEST_P() 1459 for (auto digest : digests) { in TEST_P() 1467 EXPECT_EQ(static_cast<int>(array_length(key_sizes) * (1 + 3 * array_length(digests))), in TEST_P() 2399 keymaster_digest_t digests[] = { in TEST_P() local [all …]
|
/system/security/keystore/ |
D | key_config.proto | 45 // Track which digests this key supports
|
/system/keymaster/include/keymaster/ |
D | soft_keymaster_device.h | 125 keymaster_digest_t** digests,
|
/system/libhidl/transport/base/1.0/ |
D | IBase.hal | 138 * @return hashchain a vector of SHA-1 digests
|