Home
last modified time | relevance | path

Searched refs:results_length (Results 1 – 4 of 4) sorted by relevance

/system/keymaster/contexts/
Dsoft_keymaster_device.cpp432 *algorithms_length = response.results_length; in get_supported_algorithms()
437 std::copy(response.results, response.results + response.results_length, *algorithms); in get_supported_algorithms()
469 *modes_length = response.results_length; in get_supported_block_modes()
473 std::copy(response.results, response.results + response.results_length, *modes); in get_supported_block_modes()
505 *modes_length = response.results_length; in get_supported_padding_modes()
509 std::copy(response.results, response.results + response.results_length, *modes); in get_supported_padding_modes()
540 *digests_length = response.results_length; in get_supported_digests()
544 std::copy(response.results, response.results + response.results_length, *digests); in get_supported_digests()
572 *formats_length = response.results_length; in get_supported_import_formats()
577 std::copy(response.results, response.results + response.results_length, *formats); in get_supported_import_formats()
[all …]
/system/keymaster/include/keymaster/
Dandroid_keymaster_messages.h203 : KeymasterResponse(ver), results(nullptr), results_length(0) {} in SupportedResponse()
210 results_length = 0; in SetResults()
215 results_length = n; in SetResults()
221 return sizeof(uint32_t) + results_length * sizeof(uint32_t); in NonErrorSerializedSize()
224 return append_uint32_array_to_buf(buf, end, results, results_length); in NonErrorSerialize()
230 if (!copy_uint32_array_from_buf(buf_ptr, end, &tmp, &results_length)) return false; in NonErrorDeserialize()
236 size_t results_length; member
/system/keymaster/android_keymaster/
Dandroid_keymaster.cpp108 response->results_length = algorithm_count; in SupportedAlgorithms()
/system/keymaster/tests/
Dandroid_keymaster_messages_test.cpp114 EXPECT_EQ(array_length(digests), deserialized->results_length); in TEST()