Home
last modified time | relevance | path

Searched refs:BlockMode (Results 1 – 16 of 16) sorted by relevance

/system/security/keystore2/src/
Dmetrics_store.rs26 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()
Dkey_parameter.rs100 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()
Dsuper_key.rs36 Algorithm::Algorithm, BlockMode::BlockMode, HardwareAuthToken::HardwareAuthToken,
207 KeyParameterValue::BlockMode(BlockMode::GCM), in decrypt()
944 KeyParameterValue::BlockMode(BlockMode::GCM), in lock_screen_lock_bound_key()
Ddatabase.rs3217 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/
Dparameter_conversion_test.cpp47 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()
Dkm_compat_type_conversion.h307 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 …]
Dlib.rs32 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()
Dslot_test.cpp26 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()
Dcertificate_test.cpp37 using ::aidl::android::hardware::security::keymint::BlockMode;
118 KMV1::makeKeyParameter(KMV1::TAG_BLOCK_MODE, BlockMode::CBC), in TEST()
/system/security/keystore/
Dkeystore_cli_v2.cpp171 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/
Dkeymaster_types.h51 using keymaster::BlockMode;
/system/keymaster/ng/
DKeyMintUtils.cpp38 static_cast<BlockMode>(param.enumerated))}; in kmEnumParam2Aidl()
/system/keymaster/ng/include/
Dauthorization_set.h319 return Authorization(TAG_BLOCK_MODE, BlockMode::ECB); in EcbMode()
Dkeymaster_tags.h68 using ::android::hardware::keymaster::V3_0::BlockMode;
/system/hardware/interfaces/wifi/keystore/1.0/vts/functional/
DVtsHalWifiKeystoreV1_0TargetTest.cpp161 .Authorization(keymint::TAG_BLOCK_MODE, keymint::BlockMode::CBC) in generateKey()
/system/keymaster/include/keymaster/
Dauthorization_set.h544 AuthorizationSetBuilder& BlockMode(keymaster_block_mode_t mode) { in BlockMode() function