Home
last modified time | relevance | path

Searched refs:ENCRYPT (Results 1 – 14 of 14) sorted by relevance

/system/security/keystore2/aidl/android/security/metrics/
DPurpose.aidl30 ENCRYPT = 1, enumConstant
/system/security/keystore2/src/km_compat/
Dlib.rs118 value: KeyParameterValue::KeyPurpose(KeyPurpose::ENCRYPT), in generate_rsa_key()
232 value: KeyParameterValue::KeyPurpose(KeyPurpose::ENCRYPT), in generate_aes_key()
272 let begin_result = begin(legacy.as_ref(), &blob, KeyPurpose::ENCRYPT, None); in test_begin_abort()
285 let begin_result = begin(legacy.as_ref(), &blob, KeyPurpose::ENCRYPT, None); in test_begin_update_finish()
Dslot_test.cpp45 KMV1::makeKeyParameter(KMV1::TAG_PURPOSE, KeyPurpose::ENCRYPT), in generateAESKey()
65 auto status = device->begin(KeyPurpose::ENCRYPT, blob, kps, HardwareAuthToken(), &beginResult); in begin()
Dcertificate_test.cpp120 KMV1::makeKeyParameter(KMV1::TAG_PURPOSE, KeyPurpose::ENCRYPT), in TEST()
Dparameter_conversion_test.cpp26 TEST_ENUM_CONVERSION(KeyPurpose, ENCRYPT); in TEST()
Dkm_compat_type_conversion.h182 case KMV1::KeyPurpose::ENCRYPT: in convert()
183 return V4_0::KeyPurpose::ENCRYPT; in convert()
200 case V4_0::KeyPurpose::ENCRYPT: in convert()
201 return KMV1::KeyPurpose::ENCRYPT; in convert()
/system/security/keystore2/src/
Dmetrics_store.rs365 KeyPurpose::ENCRYPT => MetricsPurpose::ENCRYPT, in process_key_operation_event_stats()
502 KeyPurpose::ENCRYPT => { in compute_purpose_bitmap()
Denforcements.rs449 KeyPurpose::VERIFY | KeyPurpose::ENCRYPT => { in authorize_create()
516 if (purpose == KeyPurpose::ENCRYPT || purpose == KeyPurpose::SIGN) in authorize_create()
589 if (purpose == KeyPurpose::ENCRYPT || purpose == KeyPurpose::SIGN) in authorize_create()
Dkey_parameter.rs1431 KeyParameterValue::KeyPurpose(KeyPurpose::ENCRYPT), in test_convert_to_wire_integer()
1437 value: KmKeyParameterValue::KeyPurpose(KeyPurpose::ENCRYPT) in test_convert_to_wire_integer()
1485 value: KmKeyParameterValue::KeyPurpose(KeyPurpose::ENCRYPT), in test_convert_from_wire_integer()
1487 assert_eq!(KeyParameterValue::KeyPurpose(KeyPurpose::ENCRYPT), aidl_kp.into()); in test_convert_from_wire_integer()
/system/security/keystore/
Dkeystore_utils.cpp112 params->push_back(TAG_PURPOSE, KeyPurpose::ENCRYPT); in add_legacy_key_authorizations()
Dkeystore_cli_v2.cpp357 .Authorization(keymint::TAG_PURPOSE, keymint::KeyPurpose::ENCRYPT) in encryptWithAuthentication()
/system/keymaster/ng/include/
Dauthorization_set.h309 Authorization(TAG_PURPOSE, KeyPurpose::ENCRYPT); in EncryptionKey()
/system/keymaster/include/keymaster/cppcose/
Dcppcose.h78 enum CoseKeyOps : int { SIGN = 1, VERIFY = 2, ENCRYPT = 3, DECRYPT = 4 }; enumerator
/system/vold/
DKeyStorage.cpp384 .Authorization(km::TAG_PURPOSE, km::KeyPurpose::ENCRYPT); in encryptWithKeymasterKey()