Home
last modified time | relevance | path

Searched refs:modes_length (Results 1 – 2 of 2) sorted by relevance

/system/keymaster/include/keymaster/
Dsoft_keymaster_device.h108 size_t* modes_length);
113 size_t* modes_length);
/system/keymaster/contexts/
Dsoft_keymaster_device.cpp407 size_t* modes_length) { in get_supported_block_modes() argument
410 if (!modes || !modes_length) return KM_ERROR_OUTPUT_PARAMETER_NULL; in get_supported_block_modes()
414 return km1_dev->get_supported_block_modes(km1_dev, algorithm, purpose, modes, modes_length); in get_supported_block_modes()
429 *modes_length = response.results_length; in get_supported_block_modes()
430 *modes = reinterpret_cast<keymaster_block_mode_t*>(malloc(*modes_length * sizeof(**modes))); in get_supported_block_modes()
441 size_t* modes_length) { in get_supported_padding_modes() argument
444 if (!modes || !modes_length) return KM_ERROR_OUTPUT_PARAMETER_NULL; in get_supported_padding_modes()
449 modes_length); in get_supported_padding_modes()
463 *modes_length = response.results_length; in get_supported_padding_modes()
464 *modes = reinterpret_cast<keymaster_padding_t*>(malloc(*modes_length * sizeof(**modes))); in get_supported_padding_modes()