Searched defs:digests_length (Results 1 - 2 of 2) sorted by relevance

/system/keymaster/
H A Dandroid_keymaster_test_utils.cpp766 size_t* digests_length) {
768 unwrap(dev), algorithm, purpose, digests, digests_length);
773 std::copy_if(*digests, *digests + *digests_length, std::back_inserter(filtered_digests),
777 *digests_length = filtered_digests.size();
779 malloc(*digests_length * sizeof(keymaster_digest_t)));
762 get_supported_digests(const keymaster1_device_t* dev, keymaster_algorithm_t algorithm, keymaster_purpose_t purpose, keymaster_digest_t** digests, size_t* digests_length) argument
H A Dsoft_keymaster_device.cpp114 size_t digests_length; local
116 dev->get_supported_digests(dev, algorithm, purpose, &digests, &digests_length);
123 auto digest_vec = make_vector(digests, digests_length);
518 size_t* digests_length) {
522 if (!digests || !digests_length)
527 return km1_dev->get_supported_digests(km1_dev, algorithm, purpose, digests, digests_length);
540 *digests_length = response.results_length;
541 *digests = reinterpret_cast<keymaster_digest_t*>(malloc(*digests_length * sizeof(**digests)));
514 get_supported_digests(const keymaster1_device_t* dev, keymaster_algorithm_t algorithm, keymaster_purpose_t purpose, keymaster_digest_t** digests, size_t* digests_length) argument

Completed in 193 milliseconds