Home
last modified time | relevance | path

Searched defs:purpose (Results 1 – 25 of 45) sorted by relevance

12

/system/keymaster/km_openssl/
Dhmac_operation.h67 keymaster_purpose_t purpose() const { return KM_PURPOSE_SIGN; } in purpose() function
71 keymaster_purpose_t purpose() const { return KM_PURPOSE_VERIFY; } in purpose() function
Drsa_key.cpp35 bool RsaKey::SupportedMode(keymaster_purpose_t purpose, keymaster_padding_t padding) { in SupportedMode()
53 bool RsaKey::SupportedMode(keymaster_purpose_t purpose, keymaster_digest_t digest) { in SupportedMode()
Daes_operation.h40 explicit AesOperationFactory(keymaster_purpose_t purpose) in AesOperationFactory()
Dtriple_des_operation.h40 explicit TripleDesOperationFactory(keymaster_purpose_t purpose) in TripleDesOperationFactory()
Dblock_cipher_operation.h48 explicit BlockCipherOperationFactory(keymaster_purpose_t purpose) : purpose_(purpose) {} in BlockCipherOperationFactory()
Dhmac_operation.cpp88 HmacOperation::HmacOperation(Key&& key, keymaster_purpose_t purpose, keymaster_digest_t digest, in HmacOperation()
/system/keymaster/include/keymaster/km_openssl/
Drsa_operation.h37 keymaster_purpose_t purpose, keymaster_digest_t digest, in RsaOperation()
141 keymaster_purpose_t purpose, keymaster_digest_t digest, in RsaCryptOperation()
233 keymaster_purpose_t purpose() const override { return KM_PURPOSE_SIGN; } in purpose() function
246 keymaster_purpose_t purpose() const override { return KM_PURPOSE_VERIFY; } in purpose() function
259 keymaster_purpose_t purpose() const override { return KM_PURPOSE_ENCRYPT; } in purpose() function
272 keymaster_purpose_t purpose() const override { return KM_PURPOSE_DECRYPT; } in purpose() function
Decdsa_operation.h33 keymaster_purpose_t purpose, keymaster_digest_t digest, EVP_PKEY* key) in EcdsaOperation()
98 keymaster_purpose_t purpose() const override { return KM_PURPOSE_SIGN; } in purpose() function
108 keymaster_purpose_t purpose() const override { return KM_PURPOSE_VERIFY; } in purpose() function
/system/keymaster/legacy_support/
Dkeymaster1_legacy_support.cpp58 keymaster_purpose_t purpose, in add_digests()
87 for (auto purpose : sig_purposes) { in map_digests() local
99 for (auto purpose : crypt_purposes) { in map_digests() local
121 keymaster_purpose_t purpose, in findUnsupportedDigest()
145 bool requiresSoftwareDigesting(keymaster_algorithm_t algorithm, keymaster_purpose_t purpose, in requiresSoftwareDigesting()
182 keymaster_purpose_t purpose = static_cast<keymaster_purpose_t>(entry.enumerated); in RequiresSoftwareDigesting() local
206 keymaster_purpose_t purpose = static_cast<keymaster_purpose_t>(entry.enumerated); in RequiresSoftwareDigesting() local
Decdsa_keymaster1_operation.h32 EcdsaKeymaster1WrappedOperation(keymaster_purpose_t purpose, const Keymaster1Engine* engine) in EcdsaKeymaster1WrappedOperation()
106 EcdsaKeymaster1OperationFactory(keymaster_purpose_t purpose, const Keymaster1Engine* engine) in EcdsaKeymaster1OperationFactory()
Drsa_keymaster1_operation.h32 RsaKeymaster1WrappedOperation(keymaster_purpose_t purpose, const Keymaster1Engine* engine) in RsaKeymaster1WrappedOperation()
106 RsaKeymaster1OperationFactory(keymaster_purpose_t purpose, const Keymaster1Engine* engine) in RsaKeymaster1OperationFactory()
Dkeymaster_passthrough_operation.h38 explicit KeymasterPassthroughOperation(keymaster_purpose_t purpose, in KeymasterPassthroughOperation()
96 keymaster_purpose_t purpose, in KeymasterPassthroughOperationFactory()
/system/keymaster/include/keymaster/
Doperation.h46 keymaster_purpose_t purpose; member
91 explicit Operation(keymaster_purpose_t purpose, AuthorizationSet&& hw_enforced, in Operation()
99 keymaster_purpose_t purpose() const { return purpose_; } in purpose() function
/system/keymaster/android_keymaster/
Dkeymaster_enforcement.cpp81 static keymaster_error_t authorized_purpose(const keymaster_purpose_t purpose, in authorized_purpose()
98 inline bool is_origination_purpose(keymaster_purpose_t purpose) { in is_origination_purpose()
102 inline bool is_usage_purpose(keymaster_purpose_t purpose) { in is_usage_purpose()
116 keymaster_error_t KeymasterEnforcement::AuthorizeOperation(const keymaster_purpose_t purpose, in AuthorizeOperation()
200 keymaster_error_t KeymasterEnforcement::AuthorizeBegin(const keymaster_purpose_t purpose, in AuthorizeBegin()
/system/security/keystore/
Dkeymaster_enforcement.cpp43 static ErrorCode authorized_purpose(const KeyPurpose purpose, const AuthorizationSet& auth_set) { in authorized_purpose()
57 inline bool is_origination_purpose(KeyPurpose purpose) { in is_origination_purpose()
61 inline bool is_usage_purpose(KeyPurpose purpose) { in is_usage_purpose()
72 ErrorCode KeymasterEnforcement::AuthorizeOperation(const KeyPurpose purpose, const km_id_t keyid, in AuthorizeOperation()
147 ErrorCode KeymasterEnforcement::AuthorizeBegin(const KeyPurpose purpose, const km_id_t keyid, in AuthorizeBegin()
Dauth_token_table.cpp97 inline bool is_secret_key_operation(Algorithm algorithm, KeyPurpose purpose) { in is_secret_key_operation()
103 inline bool KeyRequiresAuthentication(const AuthorizationSet& key_info, KeyPurpose purpose) { in KeyRequiresAuthentication()
109 inline bool KeyRequiresAuthPerOperation(const AuthorizationSet& key_info, KeyPurpose purpose) { in KeyRequiresAuthPerOperation()
115 AuthTokenTable::FindAuthorization(const AuthorizationSet& key_info, KeyPurpose purpose, in FindAuthorization()
Dkey_config.proto55 repeated string purpose = 10; field
Doperation_config.proto57 optional string purpose = 10; field
Doperation_proto_handler.cpp34 void determinePurpose(KeyPurpose purpose, OperationConfig* operationConfig) { in determinePurpose()
Doperation_struct.h52 KeyPurpose purpose; member
Doperation.cpp29 sp<IBinder> OperationMap::addOperation(uint64_t handle, uint64_t keyid, KeyPurpose purpose, in addOperation()
/system/keymaster/contexts/
Dsoft_keymaster_device.cpp111 keymaster_purpose_t purpose, in add_digests()
139 for (auto purpose : sig_purposes) { in map_digests() local
151 for (auto purpose : crypt_purposes) { in map_digests() local
444 keymaster_purpose_t purpose, in get_supported_block_modes()
480 keymaster_purpose_t purpose, in get_supported_padding_modes()
516 keymaster_purpose_t purpose, in get_supported_digests()
668 keymaster_purpose_t purpose, in FindUnsupportedDigest()
690 keymaster_purpose_t purpose, in RequiresSoftwareDigesting()
730 keymaster_purpose_t purpose = static_cast<keymaster_purpose_t>(entry.enumerated); in KeyRequiresSoftwareDigesting() local
1201 keymaster_purpose_t purpose, in begin()
[all …]
/system/keymaster/tests/
Dandroid_keymaster_test_utils.cpp236 keymaster_error_t Keymaster2Test::BeginOperation(keymaster_purpose_t purpose) { in BeginOperation()
246 keymaster_error_t Keymaster2Test::BeginOperation(keymaster_purpose_t purpose, in BeginOperation()
361 string Keymaster2Test::ProcessMessage(keymaster_purpose_t purpose, const string& message) { in ProcessMessage()
369 string Keymaster2Test::ProcessMessage(keymaster_purpose_t purpose, const string& message, in ProcessMessage()
380 string Keymaster2Test::ProcessMessage(keymaster_purpose_t purpose, const string& message, in ProcessMessage()
391 string Keymaster2Test::ProcessMessage(keymaster_purpose_t purpose, const string& message, in ProcessMessage()
659 void Keymaster2Test::CheckTripleDesTestVector(keymaster_purpose_t purpose, in CheckTripleDesTestVector()
776 keymaster_purpose_t purpose, in get_supported_block_modes()
784 keymaster_purpose_t purpose, in get_supported_padding_modes()
793 keymaster_purpose_t purpose, in get_supported_digests()
[all …]
/system/keymaster/include/keymaster/legacy_support/
Dkeymaster_passthrough_key.h64 OperationFactory* GetOperationFactory(keymaster_purpose_t purpose) const override { in GetOperationFactory()
/system/core/trusty/keymaster/legacy/
Dtrusty_keymaster_main.cpp144 static bool do_operation(TrustyKeymasterDevice* device, keymaster_purpose_t purpose, in do_operation()

12