Searched refs:digests_length (Results 1 – 4 of 4) sorted by relevance
/system/keymaster/legacy_support/ |
D | keymaster1_legacy_support.cpp | 63 size_t digests_length; in add_digests() local 65 dev->get_supported_digests(dev, algorithm, purpose, &digests, &digests_length); in add_digests() 72 auto digest_vec = make_vector(digests, digests_length); in add_digests()
|
/system/keymaster/contexts/ |
D | soft_keymaster_device.cpp | 116 size_t digests_length; in add_digests() local 118 dev->get_supported_digests(dev, algorithm, purpose, &digests, &digests_length); in add_digests() 125 auto digest_vec = make_vector(digests, digests_length); in add_digests() 518 size_t* digests_length) { 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() 540 *digests_length = response.results_length; in get_supported_digests() 541 *digests = reinterpret_cast<keymaster_digest_t*>(malloc(*digests_length * sizeof(**digests))); in get_supported_digests()
|
/system/keymaster/tests/ |
D | android_keymaster_test_utils.cpp | 795 size_t* digests_length) { 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() 806 *digests_length = filtered_digests.size(); in get_supported_digests() 808 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);
|