/system/keymaster/tests/ |
D | android_keymaster_messages_test.cpp | 81 req.key_description.Reinitialize(params, array_length(params)); in TEST() 84 req.attest_key_params.Reinitialize(params, array_length(params)); in TEST() 108 rsp.key_blob.key_material_size = array_length(TEST_DATA); in TEST() 109 rsp.enforced.Reinitialize(params, array_length(params)); in TEST() 148 rsp.key_blob.key_material_size = array_length(TEST_DATA); in TEST() 149 rsp.enforced.Reinitialize(params, array_length(params)); in TEST() 174 rsp.key_blob.key_material_size = array_length(TEST_DATA); in TEST() 176 rsp.maced_public_key.data_length = array_length(TEST_DATA); in TEST() 198 req.SetKeyToSign(i, dup_array(TEST_DATA), array_length(TEST_DATA)); in TEST() 200 req.SetEndpointEncCertChain(dup_array(TEST_DATA), array_length(TEST_DATA)); in TEST() [all …]
|
D | keymaster_enforcement_test.cpp | 101 AuthorizationSet single_auth_set(params, array_length(params)); in TEST_F() 116 AuthorizationSet auth_set(params, array_length(params)); in TEST_F() 132 AuthorizationSet auth_set(params, array_length(params)); in TEST_F() 146 AuthorizationSet auth_set(params, array_length(params)); in TEST_F() 162 AuthorizationSet auth_set(params, array_length(params)); in TEST_F() 175 AuthorizationSet auth_set(params, array_length(params)); in TEST_F() 189 AuthorizationSet auth_set(params, array_length(params)); in TEST_F() 203 AuthorizationSet auth_set(params, array_length(params)); in TEST_F() 217 AuthorizationSet auth_set(params, array_length(params)); in TEST_F() 230 AuthorizationSet auth_set(params, array_length(params)); in TEST_F() [all …]
|
D | authorization_set_test.cpp | 39 AuthorizationSet set(params, array_length(params)); in TEST() 54 AuthorizationSet set(params, array_length(params)); in TEST() 69 AuthorizationSet set2(reinterpret_cast<keymaster_key_param_t*>(NULL), array_length(params)); in TEST() 223 AuthorizationSet deserialized(buf, array_length(buf)); in TEST() 227 EXPECT_FALSE(deserialized.Deserialize(&p, p + array_length(buf))); in TEST() 259 AuthorizationSet deserialized(buf, array_length(buf)); in TEST()
|
D | key_blob_test.cpp | 49 : key_material_(key_data, array_length(key_data)), in KeyBlobTest() 50 master_key_(master_key_data, array_length(master_key_data)), in KeyBlobTest() 217 KeymasterKeyBlob wrong_master(wrong_master_data, array_length(wrong_master_data)); in TEST_P()
|
/system/keymaster/km_openssl/ |
D | asymmetric_key_factory.cpp | 32 *format_count = array_length(supported_import_formats); in SupportedImportFormats() 39 *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 | 104 *format_count = array_length(supported_import_formats); in SupportedImportFormats()
|
D | rsa_operation.cpp | 59 *digest_count = array_length(supported_digests); in SupportedDigests() 91 *padding_mode_count = array_length(supported_sig_padding); in SupportedPaddingModes() 163 *padding_mode_count = array_length(supported_crypt_padding); in SupportedPaddingModes()
|
D | hmac_operation.cpp | 89 *digest_count = array_length(supported_digests); in SupportedDigests()
|
D | ecdsa_operation.cpp | 58 *digest_count = array_length(supported_digests); in SupportedDigests()
|
D | block_cipher_operation.cpp | 141 *padding_mode_count = array_length(supported_padding_modes); in SupportedPaddingModes()
|
/system/keymaster/legacy_support/ |
D | rsa_keymaster1_operation.cpp | 152 *digest_count = array_length(supported_digests); in SupportedDigests() 172 *padding_mode_count = array_length(supported_sig_padding); in SupportedPaddingModes() 176 *padding_mode_count = array_length(supported_crypt_padding); in SupportedPaddingModes()
|
D | ecdsa_keymaster1_operation.cpp | 124 *digest_count = array_length(supported_digests); in SupportedDigests()
|
/system/vold/ |
D | cryptfs.cpp | 59 array_length(supported_crypto_types)), 68 lookup_crypto_algorithm(supported_crypto_types, array_length(supported_crypto_types), in get_crypto_type()
|
D | CryptoType.h | 81 constexpr size_t array_length(T (&)[N]) { in array_length() function
|
D | MetadataCrypt.cpp | 72 array_length(supported_crypto_types)), 210 for (size_t i = 0; i < array_length(supported_crypto_types); i++) { in lookup_cipher()
|
/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/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/gatekeeper/tests/ |
D | gatekeeper_messages_test.cpp | 284 uint32_t array_length = sizeof(msgbuf) / sizeof(msgbuf[0]); in parse_garbage() local 285 const uint8_t* end = msgbuf + array_length; in parse_garbage() 286 for (uint32_t i = 0; i < array_length; ++i) { in parse_garbage()
|
/system/keymaster/include/keymaster/ |
D | mem.h | 39 template <typename T, size_t N> inline size_t array_length(const T (&)[N]) { in array_length() function
|
/system/keymaster/contexts/ |
D | soft_keymaster_context.cpp | 119 *algorithms_count = array_length(supported_algorithms); in GetSupportedAlgorithms()
|
D | pure_soft_keymaster_context.cpp | 166 *algorithms_count = array_length(supported_algorithms); in GetSupportedAlgorithms()
|
/system/keymaster/key_blob_utils/ |
D | software_keyblobs.cpp | 234 const KeymasterKeyBlob MASTER_KEY(master_key_bytes, array_length(master_key_bytes));
|
/system/keymaster/android_keymaster/ |
D | android_keymaster.cpp | 385 array_length(kKeyMintEcdsaP256Params)); in GenerateRkpKey()
|