/system/keymaster/km_openssl/ |
D | hmac_operation.h | 27 HmacOperation(Key&& key, keymaster_purpose_t purpose, keymaster_digest_t digest, 63 virtual keymaster_purpose_t purpose() const = 0; 67 keymaster_purpose_t purpose() const { return KM_PURPOSE_SIGN; } in purpose() 71 keymaster_purpose_t purpose() const { return KM_PURPOSE_VERIFY; } in purpose()
|
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 | block_cipher_operation.h | 48 explicit BlockCipherOperationFactory(keymaster_purpose_t purpose) : purpose_(purpose) {} in BlockCipherOperationFactory() 66 const keymaster_purpose_t purpose_; 71 BlockCipherEvpOperation(keymaster_purpose_t purpose, keymaster_block_mode_t block_mode,
|
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 | triple_des_key.cpp | 33 OperationFactory* TripleDesKeyFactory::GetOperationFactory(keymaster_purpose_t purpose) const { in GetOperationFactory()
|
/system/keymaster/include/keymaster/ |
D | operation.h | 42 KeyType(keymaster_algorithm_t alg, keymaster_purpose_t purp) in KeyType() 46 keymaster_purpose_t purpose; 94 explicit Operation(keymaster_purpose_t purpose, AuthorizationSet&& hw_enforced, in Operation() 102 keymaster_purpose_t purpose() const { return purpose_; } in purpose() 127 const keymaster_purpose_t purpose_;
|
D | soft_keymaster_device.h | 84 typedef std::pair<keymaster_algorithm_t, keymaster_purpose_t> AlgPurposePair; 89 bool FindUnsupportedDigest(keymaster_algorithm_t algorithm, keymaster_purpose_t purpose, 92 bool RequiresSoftwareDigesting(keymaster_algorithm_t algorithm, keymaster_purpose_t purpose, 114 keymaster_purpose_t purpose, 119 keymaster_purpose_t purpose, 124 keymaster_purpose_t purpose, 161 static keymaster_error_t begin(const keymaster1_device_t* dev, keymaster_purpose_t purpose, 218 static keymaster_error_t begin(const keymaster2_device_t* dev, keymaster_purpose_t purpose,
|
D | keymaster_enforcement.h | 55 keymaster_error_t AuthorizeOperation(const keymaster_purpose_t purpose, const km_id_t keyid, 66 keymaster_error_t AuthorizeBegin(const keymaster_purpose_t purpose, const km_id_t keyid,
|
D | key_factory.h | 57 virtual OperationFactory* GetOperationFactory(keymaster_purpose_t purpose) const = 0;
|
/system/keymaster/legacy_support/ |
D | keymaster1_legacy_support.cpp | 58 keymaster_purpose_t purpose, in add_digests() 85 keymaster_purpose_t sig_purposes[] = {KM_PURPOSE_SIGN, KM_PURPOSE_VERIFY}; in map_digests() 97 keymaster_purpose_t crypt_purposes[] = {KM_PURPOSE_ENCRYPT, KM_PURPOSE_DECRYPT}; in map_digests() 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() 206 keymaster_purpose_t purpose = static_cast<keymaster_purpose_t>(entry.enumerated); in RequiresSoftwareDigesting()
|
D | ecdsa_keymaster1_operation.h | 32 EcdsaKeymaster1WrappedOperation(keymaster_purpose_t purpose, const Keymaster1Engine* engine) in EcdsaKeymaster1WrappedOperation() 47 keymaster_purpose_t purpose_; 106 EcdsaKeymaster1OperationFactory(keymaster_purpose_t purpose, const Keymaster1Engine* engine) in EcdsaKeymaster1OperationFactory() 117 keymaster_purpose_t purpose_;
|
D | rsa_keymaster1_operation.h | 32 RsaKeymaster1WrappedOperation(keymaster_purpose_t purpose, const Keymaster1Engine* engine) in RsaKeymaster1WrappedOperation() 47 keymaster_purpose_t purpose_; 106 RsaKeymaster1OperationFactory(keymaster_purpose_t purpose, const Keymaster1Engine* engine) in RsaKeymaster1OperationFactory() 117 keymaster_purpose_t purpose_;
|
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/km_openssl/ |
D | rsa_operation.h | 37 keymaster_purpose_t purpose, keymaster_digest_t digest, in RsaOperation() 77 keymaster_purpose_t purpose, keymaster_digest_t digest, 141 keymaster_purpose_t purpose, keymaster_digest_t digest, in RsaCryptOperation() 188 virtual keymaster_purpose_t purpose() const = 0; 232 keymaster_purpose_t purpose() const override { return KM_PURPOSE_SIGN; } in purpose() 245 keymaster_purpose_t purpose() const override { return KM_PURPOSE_VERIFY; } in purpose() 258 keymaster_purpose_t purpose() const override { return KM_PURPOSE_ENCRYPT; } in purpose() 271 keymaster_purpose_t purpose() const override { return KM_PURPOSE_DECRYPT; } in purpose()
|
D | rsa_key.h | 35 bool SupportedMode(keymaster_purpose_t purpose, keymaster_padding_t padding); 36 bool SupportedMode(keymaster_purpose_t purpose, keymaster_digest_t digest);
|
D | ecdsa_operation.h | 33 keymaster_purpose_t purpose, keymaster_digest_t digest, EVP_PKEY* key) in EcdsaOperation() 90 virtual keymaster_purpose_t purpose() const = 0; 98 keymaster_purpose_t purpose() const override { return KM_PURPOSE_SIGN; } in purpose() 108 keymaster_purpose_t purpose() const override { return KM_PURPOSE_VERIFY; } in purpose()
|
D | aes_key.h | 43 OperationFactory* GetOperationFactory(keymaster_purpose_t purpose) const override;
|
D | rsa_key_factory.h | 47 OperationFactory* GetOperationFactory(keymaster_purpose_t purpose) const override;
|
D | hmac_key.h | 40 OperationFactory* GetOperationFactory(keymaster_purpose_t purpose) const override;
|
/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() 208 keymaster_error_t KeymasterEnforcement::AuthorizeBegin(const keymaster_purpose_t purpose, in AuthorizeBegin()
|
/system/security/keystore/include/keystore/ |
D | keystore_client_mock.h | 39 bool(keymaster_purpose_t purpose, const std::string& key_name, 63 MOCK_METHOD5(beginOperation, int32_t(keymaster_purpose_t purpose, const std::string& key_name,
|
/system/keymaster/include/keymaster/legacy_support/ |
D | keymaster1_legacy_support.h | 42 typedef std::pair<keymaster_algorithm_t, keymaster_purpose_t> AlgPurposePair; 119 OperationFactory* GetOperationFactory(keymaster_purpose_t /*purpose*/) const override { in GetOperationFactory() argument
|
/system/keymaster/tests/ |
D | android_keymaster_test_utils.h | 197 keymaster_error_t BeginOperation(keymaster_purpose_t purpose); 198 keymaster_error_t BeginOperation(keymaster_purpose_t purpose, const AuthorizationSet& input_set, 228 std::string ProcessMessage(keymaster_purpose_t purpose, const std::string& message); 229 std::string ProcessMessage(keymaster_purpose_t purpose, const std::string& message, 233 std::string ProcessMessage(keymaster_purpose_t purpose, const std::string& message, 237 std::string ProcessMessage(keymaster_purpose_t purpose, const std::string& message, 295 void CheckTripleDesTestVector(keymaster_purpose_t purpose, keymaster_block_mode_t mode,
|
/system/core/trusty/keymaster/include/trusty_keymaster/legacy/ |
D | trusty_keymaster_device.h | 70 keymaster_error_t begin(keymaster_purpose_t purpose, const keymaster_key_blob_t* key, 131 static keymaster_error_t begin(const keymaster2_device_t* dev, keymaster_purpose_t purpose,
|