Home
last modified time | relevance | path

Searched refs:AuthProxy (Results 1 – 11 of 11) sorted by relevance

/system/keymaster/tests/
Dkeymaster_enforcement_test.cpp36 const AuthProxy& auth_set) { in AuthorizeOperation()
104 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, key_id, AuthProxy(single_auth_set, empty)); in TEST_F()
119 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, key_id, AuthProxy(auth_set, empty))); in TEST_F()
123 kmen.AuthorizeOperation(KM_PURPOSE_VERIFY, key_id, AuthProxy(auth_set, empty))); in TEST_F()
135 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, key_id, AuthProxy(auth_set, empty)); in TEST_F()
149 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, key_id, AuthProxy(auth_set, empty))); in TEST_F()
153 kmen.AuthorizeOperation(KM_PURPOSE_VERIFY, key_id, AuthProxy(auth_set, empty))); in TEST_F()
165 kmen.AuthorizeOperation(KM_PURPOSE_VERIFY, key_id, AuthProxy(auth_set, empty)); in TEST_F()
178 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, key_id, AuthProxy(auth_set, empty)); in TEST_F()
192 kmen.AuthorizeOperation(KM_PURPOSE_VERIFY, key_id, AuthProxy(auth_set, empty)); in TEST_F()
[all …]
/system/keymaster/include/keymaster/
Dkeymaster_enforcement.h59 const AuthProxy& auth_set,
70 const AuthProxy& auth_set,
78 keymaster_error_t AuthorizeUpdate(const AuthProxy& auth_set, in AuthorizeUpdate()
89 keymaster_error_t AuthorizeFinish(const AuthProxy& auth_set, in AuthorizeFinish()
222 keymaster_error_t AuthorizeUpdateOrFinish(const AuthProxy& auth_set,
230 bool AuthTokenMatches(const AuthProxy& auth_set, const AuthorizationSet& operation_params,
Dkey.h46 AuthProxy authorizations() const { return AuthProxy(hw_enforced_, sw_enforced_); } in authorizations()
Doperation.h115 AuthProxy authorizations() const { return AuthProxy(hw_enforced_, sw_enforced_); } in authorizations()
Dauthorization_set.h691 class AuthProxy {
693 AuthProxy(const AuthorizationSet& hw_enforced, const AuthorizationSet& sw_enforced) in AuthProxy() function
/system/keymaster/km_openssl/
Dcurve25519_key.cpp24 AuthProxy proxy(hw_enforced, sw_enforced); in IsEd25519Key()
32 AuthProxy proxy(hw_enforced, sw_enforced); in IsX25519Key()
Dattestation_utils.cpp287 AuthProxy proxy(tee_enforced, sw_enforced); in generate_attestation()
Dblock_cipher_operation.cpp53 const AuthProxy& key_params, in GetAndValidateGcmTagLength()
/system/keymaster/android_keymaster/
Dkeymaster_enforcement.cpp75 bool is_public_key_algorithm(const AuthProxy& auth_set) { in is_public_key_algorithm()
82 const AuthProxy& auth_set) { in authorized_purpose()
118 const AuthProxy& auth_set, in AuthorizeOperation()
148 KeymasterEnforcement::AuthorizeUpdateOrFinish(const AuthProxy& auth_set, in AuthorizeUpdateOrFinish()
202 const AuthProxy& auth_set, in AuthorizeBegin()
482 bool KeymasterEnforcement::AuthTokenMatches(const AuthProxy& auth_set, in AuthTokenMatches()
/system/keymaster/include/keymaster/legacy_support/
Dkeymaster1_legacy_support.h50 const AuthProxy& key_description) const;
116 AuthProxy(hw_enforced, sw_enforced))) { in LoadKey()
/system/keymaster/legacy_support/
Dkeymaster1_legacy_support.cpp189 const AuthProxy& key_description) const { in RequiresSoftwareDigesting()
271 legacy_support_.RequiresSoftwareDigesting(digest, AuthProxy(hw_enforced, sw_enforced)); in LoadKey()
290 legacy_support_.RequiresSoftwareDigesting(digest, AuthProxy(hw_enforced, sw_enforced)); in LoadKey()