Home
last modified time | relevance | path

Searched refs:formats_length (Results 1 – 3 of 3) sorted by relevance

/system/keymaster/include/keymaster/
Dsoft_keymaster_device.h130 size_t* formats_length);
134 size_t* formats_length);
/system/keymaster/contexts/
Dsoft_keymaster_device.cpp551 keymaster_key_format_t** formats, size_t* formats_length) { in get_supported_import_formats() argument
555 if (!formats || !formats_length) in get_supported_import_formats()
560 return km1_dev->get_supported_import_formats(km1_dev, algorithm, formats, formats_length); in get_supported_import_formats()
572 *formats_length = response.results_length; in get_supported_import_formats()
574 reinterpret_cast<keymaster_key_format_t*>(malloc(*formats_length * sizeof(**formats))); in get_supported_import_formats()
584 keymaster_key_format_t** formats, size_t* formats_length) { in get_supported_export_formats() argument
588 if (!formats || !formats_length) in get_supported_export_formats()
593 return km1_dev->get_supported_export_formats(km1_dev, algorithm, formats, formats_length); in get_supported_export_formats()
605 *formats_length = response.results_length; in get_supported_export_formats()
607 reinterpret_cast<keymaster_key_format_t*>(malloc(*formats_length * sizeof(**formats))); in get_supported_export_formats()
[all …]
/system/keymaster/tests/
Dandroid_keymaster_test_utils.cpp817 size_t* formats_length) { in get_supported_import_formats() argument
819 formats_length); in get_supported_import_formats()
824 size_t* formats_length) { in get_supported_export_formats() argument
826 formats_length); in get_supported_export_formats()