Home
last modified time | relevance | path

Searched refs:SIGN (Results 1 – 21 of 21) sorted by relevance

/system/security/keystore/tests/
Dauth_token_table_test.cpp104 (std::tie(rc, found) = table.FindAuthorization(make_set(1), KeyPurpose::SIGN, 0), rc)); in TEST()
110 (std::tie(rc, found) = table.FindAuthorization(make_set(2), KeyPurpose::SIGN, 0), rc)); in TEST()
116 (std::tie(rc, found) = table.FindAuthorization(make_set(3), KeyPurpose::SIGN, 0), rc)); in TEST()
122 (std::tie(rc, found) = table.FindAuthorization(make_set(4), KeyPurpose::SIGN, 0), rc)); in TEST()
128 (std::tie(rc, found) = table.FindAuthorization(make_set(5), KeyPurpose::SIGN, 0), rc)); in TEST()
145 (std::tie(rc, found) = table.FindAuthorization(make_set(1), KeyPurpose::SIGN, 0), rc)); in TEST()
148 (std::tie(rc, found) = table.FindAuthorization(make_set(2), KeyPurpose::SIGN, 0), rc)); in TEST()
151 (std::tie(rc, found) = table.FindAuthorization(make_set(3), KeyPurpose::SIGN, 0), rc)); in TEST()
171 (std::tie(rc, found) = table.FindAuthorization(make_set(1), KeyPurpose::SIGN, 0), rc)); in TEST()
174 (std::tie(rc, found) = table.FindAuthorization(make_set(2), KeyPurpose::SIGN, 0), rc)); in TEST()
[all …]
/system/security/keystore2/aidl/android/security/metrics/
DPurpose.aidl36 SIGN = 3, enumConstant
/system/security/keystore2/src/km_compat/
Dcertificate_test.cpp105 KMV1::makeKeyParameter(KMV1::TAG_PURPOSE, KeyPurpose::SIGN), in TEST()
131 KMV1::makeKeyParameter(KMV1::TAG_PURPOSE, KeyPurpose::SIGN), in TEST()
148 KMV1::makeKeyParameter(KMV1::TAG_PURPOSE, KeyPurpose::SIGN), in TEST()
162 KMV1::makeKeyParameter(KMV1::TAG_PURPOSE, KeyPurpose::SIGN), in TEST()
Dlib.rs104 value: KeyParameterValue::KeyPurpose(KeyPurpose::SIGN), in generate_rsa_key()
400 value: KeyParameterValue::KeyPurpose(KeyPurpose::SIGN) in test_get_key_characteristics()
Dslot_test.cpp150 KMV1::makeKeyParameter(KMV1::TAG_PURPOSE, KeyPurpose::SIGN), in TEST()
Dparameter_conversion_test.cpp28 TEST_ENUM_CONVERSION(KeyPurpose, SIGN); in TEST()
Dkm_compat_type_conversion.h186 case KMV1::KeyPurpose::SIGN: in convert()
187 return V4_0::KeyPurpose::SIGN; in convert()
204 case V4_0::KeyPurpose::SIGN: in convert()
205 return KMV1::KeyPurpose::SIGN; in convert()
Dkm_compat.cpp1096 begin(KeyPurpose::SIGN, prefixedKeyBlob, kps, HardwareAuthToken(), &beginResult); in signCertificate()
1189 return *v == KeyPurpose::SIGN; in getCertificate()
/system/security/keystore2/src/
Dboot_level_keys.rs61 KeyParameterValue::KeyPurpose(KeyPurpose::SIGN).into(), in get_level_zero_key()
111 KeyPurpose::SIGN, in get_level_zero_key()
Dmetrics_store.rs367 KeyPurpose::SIGN => MetricsPurpose::SIGN, in process_key_operation_event_stats()
508 KeyPurpose::SIGN => { in compute_purpose_bitmap()
Denforcements.rs431 KeyPurpose::SIGN | KeyPurpose::DECRYPT => {} 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()
Ddatabase.rs5019 KeyParameterValue::KeyPurpose(KeyPurpose::SIGN), in make_test_params()
/system/security/ondevice-signing/
DKeystoreHmacKey.cpp93 purposeSign.value = KeyParameterValue::make<KeyParameterValue::keyPurpose>(KeyPurpose::SIGN); in createKey()
200 purpose.value = KeyParameterValue::make<KeyParameterValue::keyPurpose>(KeyPurpose::SIGN); in getSignOpParameters()
DKeystoreKey.cpp106 purpose.value = KeyParameterValue::make<KeyParameterValue::keyPurpose>(KeyPurpose::SIGN); in createKey()
288 purpose.value = KeyParameterValue::make<KeyParameterValue::keyPurpose>(KeyPurpose::SIGN); in getSignOpParameters()
/system/security/keystore/
Dkeystore_utils.cpp110 params->push_back(TAG_PURPOSE, KeyPurpose::SIGN); in add_legacy_key_authorizations()
Dkeystore_cli_v2.cpp402 .Authorization(keymint::TAG_PURPOSE, keymint::KeyPurpose::SIGN) in encryptWithAuthentication()
868 .Authorization(keymint::TAG_PURPOSE, keymint::KeyPurpose::SIGN) in SignAndVerify()
/system/keymaster/ng/include/
Dauthorization_set.h304 Authorization(TAG_PURPOSE, KeyPurpose::SIGN); in SigningKey()
/system/keymaster/include/keymaster/cppcose/
Dcppcose.h78 enum CoseKeyOps : int { SIGN = 1, VERIFY = 2, ENCRYPT = 3, DECRYPT = 4 }; enumerator
/system/security/keystore-engine/
Dkeystore2_engine.cpp203 KMV1::KeyPurpose::SIGN)}; in keystore2_sign()
/system/hardware/interfaces/wifi/keystore/1.0/default/
Dkeystore.cpp250 KMV1::KeyPurpose::SIGN)}; in keyStore2Sign()
/system/vold/
Dcryptfs.cpp411 km::TAG_PURPOSE, km::KeyPurpose::SIGN); in keymaster_sign_object_for_cryptfs_scrypt()