Searched refs:ENCRYPT (Results 1 – 14 of 14) sorted by relevance
/system/security/keystore2/aidl/android/security/metrics/ |
D | Purpose.aidl | 30 ENCRYPT = 1, enumConstant
|
/system/security/keystore2/src/km_compat/ |
D | lib.rs | 118 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()
|
D | slot_test.cpp | 45 KMV1::makeKeyParameter(KMV1::TAG_PURPOSE, KeyPurpose::ENCRYPT), in generateAESKey() 65 auto status = device->begin(KeyPurpose::ENCRYPT, blob, kps, HardwareAuthToken(), &beginResult); in begin()
|
D | certificate_test.cpp | 120 KMV1::makeKeyParameter(KMV1::TAG_PURPOSE, KeyPurpose::ENCRYPT), in TEST()
|
D | parameter_conversion_test.cpp | 26 TEST_ENUM_CONVERSION(KeyPurpose, ENCRYPT); in TEST()
|
D | km_compat_type_conversion.h | 182 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/ |
D | metrics_store.rs | 365 KeyPurpose::ENCRYPT => MetricsPurpose::ENCRYPT, in process_key_operation_event_stats() 502 KeyPurpose::ENCRYPT => { in compute_purpose_bitmap()
|
D | enforcements.rs | 449 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()
|
D | key_parameter.rs | 1431 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/ |
D | keystore_utils.cpp | 112 params->push_back(TAG_PURPOSE, KeyPurpose::ENCRYPT); in add_legacy_key_authorizations()
|
D | keystore_cli_v2.cpp | 357 .Authorization(keymint::TAG_PURPOSE, keymint::KeyPurpose::ENCRYPT) in encryptWithAuthentication()
|
/system/keymaster/ng/include/ |
D | authorization_set.h | 309 Authorization(TAG_PURPOSE, KeyPurpose::ENCRYPT); in EncryptionKey()
|
/system/keymaster/include/keymaster/cppcose/ |
D | cppcose.h | 78 enum CoseKeyOps : int { SIGN = 1, VERIFY = 2, ENCRYPT = 3, DECRYPT = 4 }; enumerator
|
/system/vold/ |
D | KeyStorage.cpp | 384 .Authorization(km::TAG_PURPOSE, km::KeyPurpose::ENCRYPT); in encryptWithKeymasterKey()
|