/system/security/keystore2/src/ |
D | metrics_store.rs | 26 Algorithm::Algorithm, BlockMode::BlockMode, Digest::Digest, EcCurve::EcCurve, 272 KsKeyParamValue::BlockMode(b) => { in process_key_creation_event_stats() 400 KsKeyParamValue::BlockMode(b) => { in process_key_operation_event_stats() 482 fn compute_block_mode_bitmap(block_mode_bitmap: &mut i32, block_mode: BlockMode) { in compute_block_mode_bitmap() argument 484 BlockMode::ECB => { in compute_block_mode_bitmap() 487 BlockMode::CBC => { in compute_block_mode_bitmap() 490 BlockMode::CTR => { in compute_block_mode_bitmap() 493 BlockMode::GCM => { in compute_block_mode_bitmap()
|
D | key_parameter.rs | 100 Algorithm::Algorithm, BlockMode::BlockMode, Digest::Digest, EcCurve::EcCurve, 164 implement_associate_primitive_for_aidl_enum! {BlockMode} 795 #[key_param(tag = BLOCK_MODE, field = BlockMode)] 796 BlockMode(BlockMode), 1045 Tag::BLOCK_MODE => return KmKeyParameterValue::BlockMode(Default::default()), in get_field_by_tag_type() 1080 | (&KmKeyParameterValue::BlockMode(_), KmKeyParameterValue::BlockMode(_)) in check_field_matches_tag_type()
|
D | super_key.rs | 36 Algorithm::Algorithm, BlockMode::BlockMode, HardwareAuthToken::HardwareAuthToken, 207 KeyParameterValue::BlockMode(BlockMode::GCM), in decrypt() 944 KeyParameterValue::BlockMode(BlockMode::GCM), in lock_screen_lock_bound_key()
|
D | database.rs | 3217 Algorithm, BlockMode, Digest, EcCurve, HardwareAuthenticatorType, KeyOrigin, KeyParameter, 5032 KeyParameterValue::BlockMode(BlockMode::ECB), in make_test_params() 5036 KeyParameterValue::BlockMode(BlockMode::GCM), in make_test_params()
|
/system/security/keystore2/src/km_compat/ |
D | parameter_conversion_test.cpp | 47 TEST_ENUM_CONVERSION(BlockMode, ECB); in TEST() 48 TEST_ENUM_CONVERSION(BlockMode, CBC); in TEST() 49 TEST_ENUM_CONVERSION(BlockMode, CTR); in TEST() 50 TEST_ENUM_CONVERSION(BlockMode, GCM); in TEST()
|
D | km_compat_type_conversion.h | 307 static V4_0::BlockMode convert(KMV1::BlockMode b) { in convert() 309 case KMV1::BlockMode::ECB: in convert() 310 return V4_0::BlockMode::ECB; in convert() 311 case KMV1::BlockMode::CBC: in convert() 312 return V4_0::BlockMode::CBC; in convert() 313 case KMV1::BlockMode::CTR: in convert() 314 return V4_0::BlockMode::CTR; in convert() 315 case KMV1::BlockMode::GCM: in convert() 316 return V4_0::BlockMode::GCM; in convert() 320 static KMV1::BlockMode convert(V4_0::BlockMode b) { in convert() [all …]
|
D | lib.rs | 32 Algorithm::Algorithm, BeginResult::BeginResult, BlockMode::BlockMode, Digest::Digest, 223 value: KeyParameterValue::BlockMode(BlockMode::CBC), in generate_aes_key() 253 value: KeyParameterValue::BlockMode(BlockMode::CBC), in begin()
|
D | slot_test.cpp | 26 using ::aidl::android::hardware::security::keymint::BlockMode; 42 KMV1::makeKeyParameter(KMV1::TAG_BLOCK_MODE, BlockMode::CBC), in generateAESKey() 61 kps.push_back(KMV1::makeKeyParameter(KMV1::TAG_BLOCK_MODE, BlockMode::CBC)); in begin()
|
D | certificate_test.cpp | 37 using ::aidl::android::hardware::security::keymint::BlockMode; 118 KMV1::makeKeyParameter(KMV1::TAG_BLOCK_MODE, BlockMode::CBC), in TEST()
|
/system/security/keystore/ |
D | keystore_cli_v2.cpp | 171 keymint::BlockMode::CBC); in verifyEncryptionKeyAttributes() 250 .Authorization(keymint::TAG_BLOCK_MODE, keymint::BlockMode::CBC) in loadOrCreateAndVerifyEncryptionKey() 359 .Authorization(keymint::TAG_BLOCK_MODE, keymint::BlockMode::CBC); in encryptWithAuthentication() 511 .Authorization(keymint::TAG_BLOCK_MODE, keymint::BlockMode::CBC); in decryptWithAuthentication() 636 parameters.Authorization(keymint::TAG_BLOCK_MODE, keymint::BlockMode::GCM) in GetAESParameters() 639 parameters.Authorization(keymint::TAG_BLOCK_MODE, keymint::BlockMode::ECB); in GetAESParameters() 640 parameters.Authorization(keymint::TAG_BLOCK_MODE, keymint::BlockMode::CBC); in GetAESParameters() 641 parameters.Authorization(keymint::TAG_BLOCK_MODE, keymint::BlockMode::CTR); in GetAESParameters()
|
/system/security/keystore/include/keystore/ |
D | keymaster_types.h | 51 using keymaster::BlockMode;
|
/system/keymaster/ng/ |
D | KeyMintUtils.cpp | 38 static_cast<BlockMode>(param.enumerated))}; in kmEnumParam2Aidl()
|
/system/keymaster/ng/include/ |
D | authorization_set.h | 319 return Authorization(TAG_BLOCK_MODE, BlockMode::ECB); in EcbMode()
|
D | keymaster_tags.h | 68 using ::android::hardware::keymaster::V3_0::BlockMode;
|
/system/hardware/interfaces/wifi/keystore/1.0/vts/functional/ |
D | VtsHalWifiKeystoreV1_0TargetTest.cpp | 161 .Authorization(keymint::TAG_BLOCK_MODE, keymint::BlockMode::CBC) in generateKey()
|
/system/keymaster/include/keymaster/ |
D | authorization_set.h | 544 AuthorizationSetBuilder& BlockMode(keymaster_block_mode_t mode) { in BlockMode() function
|