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

/system/keymaster/
H A Dsoft_keymaster_device.cpp591 keymaster_key_format_t** formats, size_t* formats_length) {
595 if (!formats || !formats_length)
608 *formats_length = response.results_length;
610 reinterpret_cast<keymaster_key_format_t*>(malloc(*formats_length * sizeof(**formats)));
620 keymaster_key_format_t** formats, size_t* formats_length) {
624 if (!formats || !formats_length)
637 *formats_length = response.results_length;
639 reinterpret_cast<keymaster_key_format_t*>(malloc(*formats_length * sizeof(**formats)));
642 std::copy(response.results, response.results + *formats_length, *formats);
589 get_supported_import_formats( const keymaster1_device_t* dev, keymaster_algorithm_t algorithm, keymaster_key_format_t** formats, size_t* formats_length) argument
618 get_supported_export_formats( const keymaster1_device_t* dev, keymaster_algorithm_t algorithm, keymaster_key_format_t** formats, size_t* formats_length) argument

Completed in 421 milliseconds