Searched refs:digests_length (Results 1 – 3 of 3) sorted by relevance
/system/keymaster/ |
D | soft_keymaster_device.cpp | 89 size_t digests_length; in add_digests() local 91 dev->get_supported_digests(dev, algorithm, purpose, &digests, &digests_length); in add_digests() 98 (*map)[key] = make_vector(digests, digests_length); in add_digests() 508 size_t* digests_length) { in get_supported_digests() argument 512 if (!digests || !digests_length) in get_supported_digests() 517 return km1_dev->get_supported_digests(km1_dev, algorithm, purpose, digests, digests_length); in get_supported_digests() 530 *digests_length = response.results_length; in get_supported_digests() 531 *digests = reinterpret_cast<keymaster_digest_t*>(malloc(*digests_length * sizeof(**digests))); in get_supported_digests()
|
D | android_keymaster_test_utils.cpp | 770 size_t* digests_length) { in get_supported_digests() argument 772 unwrap(dev), algorithm, purpose, digests, digests_length); in get_supported_digests() 777 std::copy_if(*digests, *digests + *digests_length, std::back_inserter(filtered_digests), in get_supported_digests() 781 *digests_length = filtered_digests.size(); in get_supported_digests() 783 malloc(*digests_length * sizeof(keymaster_digest_t))); in get_supported_digests()
|
/system/keymaster/include/keymaster/ |
D | soft_keymaster_device.h | 126 size_t* digests_length);
|