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 | 115 size_t digests_length; in add_digests() local 117 dev->get_supported_digests(dev, algorithm, purpose, &digests, &digests_length); in add_digests() 124 auto digest_vec = make_vector(digests, digests_length); in add_digests() 473 size_t* digests_length) { in get_supported_digests() argument 476 if (!digests || !digests_length) return KM_ERROR_OUTPUT_PARAMETER_NULL; in get_supported_digests() 480 return km1_dev->get_supported_digests(km1_dev, algorithm, purpose, digests, digests_length); in get_supported_digests() 494 *digests_length = response.results_length; in get_supported_digests() 495 *digests = reinterpret_cast<keymaster_digest_t*>(malloc(*digests_length * sizeof(**digests))); in get_supported_digests()
|
/system/keymaster/tests/ |
D | android_keymaster_test_utils.cpp | 830 size_t* digests_length) { in get_supported_digests() argument 832 unwrap(dev), algorithm, purpose, digests, digests_length); in get_supported_digests() 836 std::copy_if(*digests, *digests + *digests_length, std::back_inserter(filtered_digests), in get_supported_digests() 840 *digests_length = filtered_digests.size(); in get_supported_digests() 842 malloc(*digests_length * sizeof(keymaster_digest_t))); in get_supported_digests()
|
/system/keymaster/include/keymaster/ |
D | soft_keymaster_device.h | 118 size_t* digests_length);
|