Home
last modified time | relevance | path

Searched refs:array_length (Results 1 – 17 of 17) sorted by relevance

/system/keymaster/
Dandroid_keymaster_messages_test.cpp114 EXPECT_EQ(array_length(digests), deserialized->results_length); in TEST()
133 req.key_description.Reinitialize(params, array_length(params)); in TEST()
144 rsp.key_blob.key_material_size = array_length(TEST_DATA); in TEST()
145 rsp.enforced.Reinitialize(params, array_length(params)); in TEST()
159 rsp.key_blob.key_material_size = array_length(TEST_DATA); in TEST()
160 rsp.enforced.Reinitialize(params, array_length(params)); in TEST()
173 req.additional_params.Reinitialize(params, array_length(params)); in TEST()
187 msg.enforced.Reinitialize(params, array_length(params)); in TEST()
188 msg.unenforced.Reinitialize(params, array_length(params)); in TEST()
201 msg.additional_params.Reinitialize(params, array_length(params)); in TEST()
[all …]
Dasymmetric_key_factory.cpp30 *format_count = array_length(supported_import_formats); in SupportedImportFormats()
37 *format_count = array_length(supported_export_formats); in SupportedExportFormats()
Dkeymaster_enforcement_test.cpp100 AuthorizationSet single_auth_set(params, array_length(params)); in TEST_F()
112 AuthorizationSet auth_set(params, array_length(params)); in TEST_F()
126 AuthorizationSet auth_set(params, array_length(params)); in TEST_F()
138 AuthorizationSet auth_set(params, array_length(params)); in TEST_F()
152 AuthorizationSet auth_set(params, array_length(params)); in TEST_F()
165 AuthorizationSet auth_set(params, array_length(params)); in TEST_F()
179 AuthorizationSet auth_set(params, array_length(params)); in TEST_F()
193 AuthorizationSet auth_set(params, array_length(params)); in TEST_F()
207 AuthorizationSet auth_set(params, array_length(params)); in TEST_F()
220 AuthorizationSet auth_set(params, array_length(params)); in TEST_F()
[all …]
Dkey_blob_test.cpp43 : master_key_(master_key_data, array_length(master_key_data)), in KeyBlobTest()
44 key_material_(key_data, array_length(key_data)) { in KeyBlobTest()
193 KeymasterKeyBlob wrong_master(wrong_master_data, array_length(wrong_master_data)); in TEST_F()
Dauthorization_set_test.cpp36 AuthorizationSet set(params, array_length(params)); in TEST()
48 AuthorizationSet set(params, array_length(params)); in TEST()
62 AuthorizationSet set2(reinterpret_cast<keymaster_key_param_t*>(NULL), array_length(params)); in TEST()
216 AuthorizationSet deserialized(buf, array_length(buf)); in TEST()
220 EXPECT_FALSE(deserialized.Deserialize(&p, p + array_length(buf))); in TEST()
Dsymmetric_key.cpp106 *format_count = array_length(supported_import_formats); in SupportedImportFormats()
Drsa_operation.cpp62 *digest_count = array_length(supported_digests); in SupportedDigests()
98 *padding_mode_count = array_length(supported_sig_padding); in SupportedPaddingModes()
135 *padding_mode_count = array_length(supported_crypt_padding); in SupportedPaddingModes()
Dhmac_operation.cpp87 *digest_count = array_length(supported_digests); in SupportedDigests()
Dsoft_keymaster_context.cpp47 const KeymasterKeyBlob MASTER_KEY(master_key_bytes, array_length(master_key_bytes));
79 *algorithms_count = array_length(supported_algorithms); in GetSupportedAlgorithms()
Decdsa_operation.cpp58 *digest_count = array_length(supported_digests); in SupportedDigests()
Dandroid_keymaster_test_utils.cpp364 AuthorizationSet input_params(AuthorizationSet(client_params_, array_length(client_params_))); in SignMessage()
376 AuthorizationSet input_params(AuthorizationSet(client_params_, array_length(client_params_))); in SignMessage()
388 AuthorizationSet input_params(AuthorizationSet(client_params_, array_length(client_params_))); in MacMessage()
Daes_operation.cpp158 *block_mode_count = array_length(supported_block_modes); in SupportedBlockModes()
165 *padding_mode_count = array_length(supported_padding_modes); in SupportedPaddingModes()
/system/bt/osi/include/
Darray.h43 size_t array_length(const array_t *array);
/system/gatekeeper/include/gatekeeper/
Dgatekeeper_utils.h43 template <typename T, size_t N> inline size_t array_length(const T (&)[N]) { in array_length() function
/system/bt/osi/src/
Darray.c76 size_t array_length(const array_t *array) { in array_length() function
/system/gatekeeper/tests/
Dgatekeeper_messages_test.cpp297 uint32_t array_length = sizeof(msgbuf) / sizeof(msgbuf[0]); in parse_garbage() local
298 const uint8_t* end = msgbuf + array_length; in parse_garbage()
299 for (uint32_t i = 0; i < array_length; ++i) { in parse_garbage()
/system/keymaster/include/keymaster/
Dandroid_keymaster_utils.h60 template <typename T, size_t N> inline size_t array_length(const T(&)[N]) { in array_length() function