Home
last modified time | relevance | path

Searched refs:modes_length (Results 1 – 3 of 3) 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.cpp405 size_t* modes_length) { in get_supported_block_modes() argument
408 if (!modes || !modes_length) return KM_ERROR_OUTPUT_PARAMETER_NULL; in get_supported_block_modes()
412 return km1_dev->get_supported_block_modes(km1_dev, algorithm, purpose, modes, modes_length); in get_supported_block_modes()
427 *modes_length = response.results_length; in get_supported_block_modes()
428 *modes = reinterpret_cast<keymaster_block_mode_t*>(malloc(*modes_length * sizeof(**modes))); in get_supported_block_modes()
439 size_t* modes_length) { in get_supported_padding_modes() argument
442 if (!modes || !modes_length) return KM_ERROR_OUTPUT_PARAMETER_NULL; in get_supported_padding_modes()
447 modes_length); in get_supported_padding_modes()
461 *modes_length = response.results_length; in get_supported_padding_modes()
462 *modes = reinterpret_cast<keymaster_padding_t*>(malloc(*modes_length * sizeof(**modes))); in get_supported_padding_modes()
/system/keymaster/tests/
Dandroid_keymaster_test_utils.cpp813 size_t* modes_length) { in get_supported_block_modes() argument
815 modes_length); in get_supported_block_modes()
821 size_t* modes_length) { in get_supported_padding_modes() argument
823 modes_length); in get_supported_padding_modes()