/system/keymaster/km_openssl/ |
D | hmac_operation.h | 67 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
|
D | rsa_key.cpp | 35 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()
|
D | aes_operation.h | 40 explicit AesOperationFactory(keymaster_purpose_t purpose) in AesOperationFactory()
|
D | triple_des_operation.h | 40 explicit TripleDesOperationFactory(keymaster_purpose_t purpose) in TripleDesOperationFactory()
|
D | block_cipher_operation.h | 48 explicit BlockCipherOperationFactory(keymaster_purpose_t purpose) : purpose_(purpose) {} in BlockCipherOperationFactory()
|
D | hmac_operation.cpp | 88 HmacOperation::HmacOperation(Key&& key, keymaster_purpose_t purpose, keymaster_digest_t digest, in HmacOperation()
|
/system/keymaster/include/keymaster/km_openssl/ |
D | rsa_operation.h | 37 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
|
D | ecdsa_operation.h | 33 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/ |
D | keymaster1_legacy_support.cpp | 58 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
|
D | ecdsa_keymaster1_operation.h | 32 EcdsaKeymaster1WrappedOperation(keymaster_purpose_t purpose, const Keymaster1Engine* engine) in EcdsaKeymaster1WrappedOperation() 106 EcdsaKeymaster1OperationFactory(keymaster_purpose_t purpose, const Keymaster1Engine* engine) in EcdsaKeymaster1OperationFactory()
|
D | rsa_keymaster1_operation.h | 32 RsaKeymaster1WrappedOperation(keymaster_purpose_t purpose, const Keymaster1Engine* engine) in RsaKeymaster1WrappedOperation() 106 RsaKeymaster1OperationFactory(keymaster_purpose_t purpose, const Keymaster1Engine* engine) in RsaKeymaster1OperationFactory()
|
D | keymaster_passthrough_operation.h | 38 explicit KeymasterPassthroughOperation(keymaster_purpose_t purpose, in KeymasterPassthroughOperation() 96 keymaster_purpose_t purpose, in KeymasterPassthroughOperationFactory()
|
/system/keymaster/include/keymaster/ |
D | operation.h | 46 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/ |
D | keymaster_enforcement.cpp | 81 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/ |
D | keymaster_enforcement.cpp | 43 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()
|
D | auth_token_table.cpp | 97 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()
|
D | key_config.proto | 55 repeated string purpose = 10; field
|
D | operation_config.proto | 57 optional string purpose = 10; field
|
D | operation_proto_handler.cpp | 34 void determinePurpose(KeyPurpose purpose, OperationConfig* operationConfig) { in determinePurpose()
|
D | operation_struct.h | 52 KeyPurpose purpose; member
|
D | operation.cpp | 29 sp<IBinder> OperationMap::addOperation(uint64_t handle, uint64_t keyid, KeyPurpose purpose, in addOperation()
|
/system/keymaster/contexts/ |
D | soft_keymaster_device.cpp | 111 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/ |
D | android_keymaster_test_utils.cpp | 236 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/ |
D | keymaster_passthrough_key.h | 64 OperationFactory* GetOperationFactory(keymaster_purpose_t purpose) const override { in GetOperationFactory()
|
/system/core/trusty/keymaster/legacy/ |
D | trusty_keymaster_main.cpp | 144 static bool do_operation(TrustyKeymasterDevice* device, keymaster_purpose_t purpose, in do_operation()
|