Home
last modified time | relevance | path

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

12

/system/keymaster/
Drsa_operation.h36 RsaOperation(keymaster_purpose_t purpose, keymaster_digest_t digest, in RsaOperation()
134 RsaCryptOperation(keymaster_purpose_t purpose, keymaster_digest_t digest, in RsaCryptOperation()
219 keymaster_purpose_t purpose() const override { return KM_PURPOSE_SIGN; } in purpose() function
230 keymaster_purpose_t purpose() const override { return KM_PURPOSE_VERIFY; } in purpose() function
241 keymaster_purpose_t purpose() const override { return KM_PURPOSE_ENCRYPT; } in purpose() function
252 keymaster_purpose_t purpose() const override { return KM_PURPOSE_DECRYPT; } in purpose() function
Dhmac_operation.h68 keymaster_purpose_t purpose() const { return KM_PURPOSE_SIGN; } in purpose() function
72 keymaster_purpose_t purpose() const { return KM_PURPOSE_VERIFY; } in purpose() function
Drsa_key.cpp36 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()
Decdsa_operation.h31 EcdsaOperation(keymaster_purpose_t purpose, keymaster_digest_t digest, EVP_PKEY* key) in EcdsaOperation()
91 keymaster_purpose_t purpose() const override { return KM_PURPOSE_SIGN; } in purpose() function
99 keymaster_purpose_t purpose() const override { return KM_PURPOSE_VERIFY; } in purpose() function
Doperation.h45 keymaster_purpose_t purpose; member
90 Operation(keymaster_purpose_t purpose) : purpose_(purpose) {} in Operation()
93 keymaster_purpose_t purpose() const { return purpose_; } in purpose() function
Decdsa_keymaster1_operation.h32 EcdsaKeymaster1WrappedOperation(keymaster_purpose_t purpose, const Keymaster1Engine* engine) in EcdsaKeymaster1WrappedOperation()
103 EcdsaKeymaster1OperationFactory(keymaster_purpose_t purpose, const Keymaster1Engine* engine) in EcdsaKeymaster1OperationFactory()
Drsa_keymaster1_operation.h32 RsaKeymaster1WrappedOperation(keymaster_purpose_t purpose, const Keymaster1Engine* engine) in RsaKeymaster1WrappedOperation()
103 RsaKeymaster1OperationFactory(keymaster_purpose_t purpose, const Keymaster1Engine* engine) in RsaKeymaster1OperationFactory()
Dkeymaster_enforcement.cpp84 static keymaster_error_t authorized_purpose(const keymaster_purpose_t purpose, in authorized_purpose()
100 inline bool is_origination_purpose(keymaster_purpose_t purpose) { in is_origination_purpose()
104 inline bool is_usage_purpose(keymaster_purpose_t purpose) { in is_usage_purpose()
118 keymaster_error_t KeymasterEnforcement::AuthorizeOperation(const keymaster_purpose_t purpose, in AuthorizeOperation()
192 keymaster_error_t KeymasterEnforcement::AuthorizeBegin(const keymaster_purpose_t purpose, in AuthorizeBegin()
Daes_operation.h47 keymaster_purpose_t purpose() const override { return KM_PURPOSE_ENCRYPT; } in purpose() function
54 keymaster_purpose_t purpose() const override { return KM_PURPOSE_DECRYPT; } in purpose() function
Dsoft_keymaster_device.cpp84 keymaster_purpose_t purpose, in add_digests()
109 for (auto purpose : sig_purposes) { in map_digests() local
118 for (auto purpose : crypt_purposes) { in map_digests() local
434 keymaster_purpose_t purpose, in get_supported_block_modes()
470 keymaster_purpose_t purpose, in get_supported_padding_modes()
506 keymaster_purpose_t purpose, in get_supported_digests()
660 keymaster_purpose_t purpose, in FindUnsupportedDigest()
682 keymaster_purpose_t purpose, in RequiresSoftwareDigesting()
721 keymaster_purpose_t purpose = static_cast<keymaster_purpose_t>(entry.enumerated); in KeyRequiresSoftwareDigesting() local
1180 keymaster_purpose_t purpose, in begin()
[all …]
Dandroid_keymaster_test_utils.cpp232 keymaster_error_t Keymaster2Test::BeginOperation(keymaster_purpose_t purpose) { in BeginOperation()
242 keymaster_error_t Keymaster2Test::BeginOperation(keymaster_purpose_t purpose, in BeginOperation()
352 string Keymaster2Test::ProcessMessage(keymaster_purpose_t purpose, const string& message) { in ProcessMessage()
363 string Keymaster2Test::ProcessMessage(keymaster_purpose_t purpose, const string& message, in ProcessMessage()
378 string Keymaster2Test::ProcessMessage(keymaster_purpose_t purpose, const string& message, in ProcessMessage()
393 string Keymaster2Test::ProcessMessage(keymaster_purpose_t purpose, const string& message, in ProcessMessage()
751 keymaster_purpose_t purpose, in get_supported_block_modes()
759 keymaster_purpose_t purpose, in get_supported_padding_modes()
768 keymaster_purpose_t purpose, in get_supported_digests()
855 keymaster_purpose_t purpose, const keymaster_key_blob_t* key, in begin()
Dhmac_operation.cpp91 HmacOperation::HmacOperation(keymaster_purpose_t purpose, const uint8_t* key_data, in HmacOperation()
Daes_operation.cpp167 AesEvpOperation::AesEvpOperation(keymaster_purpose_t purpose, keymaster_block_mode_t block_mode, in AesEvpOperation()
Drsa_operation.cpp228 RsaDigestingOperation::RsaDigestingOperation(keymaster_purpose_t purpose, keymaster_digest_t digest, in RsaDigestingOperation()
Dandroid_keymaster.cpp123 keymaster_purpose_t purpose, in GetSupported()
Dattestation_record.cpp81 ASN1_INTEGER_SET* purpose; member
Dkeymaster_enforcement_test.cpp35 keymaster_error_t AuthorizeOperation(const keymaster_purpose_t purpose, const km_id_t keyid, in AuthorizeOperation()
/system/security/keystore/
Dauth_token_table.cpp63 inline bool is_secret_key_operation(keymaster_algorithm_t algorithm, keymaster_purpose_t purpose) { in is_secret_key_operation()
72 keymaster_purpose_t purpose) { in KeyRequiresAuthentication()
79 keymaster_purpose_t purpose) { in KeyRequiresAuthPerOperation()
86 keymaster_purpose_t purpose, in FindAuthorization()
Doperation.h77 keymaster_purpose_t purpose; member
Dauth_token_table.h87 keymaster_purpose_t purpose, keymaster_operation_handle_t op_handle, in FindAuthorization()
Dkey_store_service.cpp815 keymaster_purpose_t purpose, bool pruneable, in begin()
967 keymaster_purpose_t purpose; in update() local
1018 keymaster_purpose_t purpose; in finish() local
1080 keymaster_purpose_t purpose; in abort() local
1103 keymaster_purpose_t purpose; in isOperationAuthorized() local
1357 keymaster_purpose_t purpose, in getAuthToken()
1413 keymaster_purpose_t purpose; in addOperationAuthTokenIfNeeded() local
1480 keymaster_purpose_t purpose) { in doLegacySignVerify()
Doperation.cpp27 keymaster_purpose_t purpose, const keymaster2_device_t* dev, in addOperation()
Dkeystore_client_impl.cpp165 bool KeystoreClientImpl::oneShotOperation(keymaster_purpose_t purpose, const std::string& key_name, in oneShotOperation()
270 int32_t KeystoreClientImpl::beginOperation(keymaster_purpose_t purpose, const std::string& key_name, in beginOperation()
/system/vold/
DKeymaster.cpp65 keymaster_error_t begin(keymaster_purpose_t purpose, const keymaster_key_blob_t* key, in begin()
220 KeymasterOperation Keymaster::begin(keymaster_purpose_t purpose, const std::string& key, in begin()
237 KeymasterOperation Keymaster::begin(keymaster_purpose_t purpose, const std::string& key, in begin()
/system/keymaster/include/keymaster/
Dandroid_keymaster_messages.h171 keymaster_purpose_t purpose; member
336 keymaster_purpose_t purpose; member

12