/system/keymaster/tests/ |
D | android_keymaster_messages_test.cpp | 114 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 …]
|
D | keymaster_enforcement_test.cpp | 101 AuthorizationSet single_auth_set(params, array_length(params)); in TEST_F() 114 AuthorizationSet auth_set(params, array_length(params)); in TEST_F() 129 AuthorizationSet auth_set(params, array_length(params)); in TEST_F() 142 AuthorizationSet auth_set(params, array_length(params)); in TEST_F() 158 AuthorizationSet auth_set(params, array_length(params)); in TEST_F() 171 AuthorizationSet auth_set(params, array_length(params)); in TEST_F() 185 AuthorizationSet auth_set(params, array_length(params)); in TEST_F() 199 AuthorizationSet auth_set(params, array_length(params)); in TEST_F() 213 AuthorizationSet auth_set(params, array_length(params)); in TEST_F() 226 AuthorizationSet auth_set(params, array_length(params)); in TEST_F() [all …]
|
D | authorization_set_test.cpp | 36 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() 252 AuthorizationSet deserialized(buf, array_length(buf)); in TEST()
|
D | key_blob_test.cpp | 43 : 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()
|
D | android_keymaster_test_utils.cpp | 403 AuthorizationSet input_params(AuthorizationSet(client_params_, array_length(client_params_))); in SignMessage() 415 AuthorizationSet input_params(AuthorizationSet(client_params_, array_length(client_params_))); in SignMessage() 427 AuthorizationSet input_params(AuthorizationSet(client_params_, array_length(client_params_))); in MacMessage()
|
/system/keymaster/km_openssl/ |
D | asymmetric_key_factory.cpp | 30 *format_count = array_length(supported_import_formats); in SupportedImportFormats() 37 *format_count = array_length(supported_export_formats); in SupportedExportFormats()
|
D | triple_des_operation.cpp | 25 *block_mode_count = array_length(supported_block_modes); in SupportedBlockModes()
|
D | aes_operation.cpp | 26 *block_mode_count = array_length(supported_block_modes); in SupportedBlockModes()
|
D | symmetric_key.cpp | 100 *format_count = array_length(supported_import_formats); in SupportedImportFormats()
|
D | rsa_operation.cpp | 58 *digest_count = array_length(supported_digests); in SupportedDigests() 87 *padding_mode_count = array_length(supported_sig_padding); in SupportedPaddingModes() 125 *padding_mode_count = array_length(supported_crypt_padding); in SupportedPaddingModes()
|
D | hmac_operation.cpp | 84 *digest_count = array_length(supported_digests); in SupportedDigests()
|
D | ecdsa_operation.cpp | 52 *digest_count = array_length(supported_digests); in SupportedDigests()
|
D | block_cipher_operation.cpp | 140 *padding_mode_count = array_length(supported_padding_modes); in SupportedPaddingModes()
|
/system/keymaster/legacy_support/ |
D | rsa_keymaster1_operation.cpp | 155 *digest_count = array_length(supported_digests); in SupportedDigests() 171 *padding_mode_count = array_length(supported_sig_padding); in SupportedPaddingModes() 175 *padding_mode_count = array_length(supported_crypt_padding); in SupportedPaddingModes()
|
D | ecdsa_keymaster1_operation.cpp | 127 *digest_count = array_length(supported_digests); in SupportedDigests()
|
/system/bt/osi/include/ |
D | array.h | 44 size_t array_length(const array_t* array);
|
/system/gatekeeper/include/gatekeeper/ |
D | gatekeeper_utils.h | 43 template <typename T, size_t N> inline size_t array_length(const T (&)[N]) { in array_length() function
|
/system/core/property_service/libpropertyinfoparser/ |
D | property_info_parser.cpp | 33 int Find(uint32_t array_length, F&& f) { in Find() argument 35 int top = array_length - 1; in Find()
|
/system/bt/osi/src/ |
D | array.cc | 70 size_t array_length(const array_t* array) { in array_length() function
|
/system/gatekeeper/tests/ |
D | gatekeeper_messages_test.cpp | 297 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/key_blob_utils/ |
D | software_keyblobs.cpp | 241 const KeymasterKeyBlob MASTER_KEY(master_key_bytes, array_length(master_key_bytes));
|
/system/keymaster/contexts/ |
D | pure_soft_keymaster_context.cpp | 96 *algorithms_count = array_length(supported_algorithms); in GetSupportedAlgorithms()
|
D | soft_keymaster_context.cpp | 131 *algorithms_count = array_length(supported_algorithms); in GetSupportedAlgorithms()
|
/system/keymaster/include/keymaster/ |
D | android_keymaster_utils.h | 83 template <typename T, size_t N> inline size_t array_length(const T (&)[N]) { in array_length() function
|
/system/vold/ |
D | cryptfs.cpp | 335 constexpr size_t array_length(T (&)[N]) { in array_length() function 340 return (index >= array_length(supported_crypto_types)); in indexOutOfBoundsForCryptoTypes()
|