/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() 57 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 | 31 OperationFactory* TripleDesKeyFactory::GetOperationFactory(keymaster_purpose_t purpose) const { in GetOperationFactory()
|
/system/keymaster/include/keymaster/ |
D | soft_keymaster_device.h | 76 typedef std::pair<keymaster_algorithm_t, keymaster_purpose_t> AlgPurposePair; 81 bool FindUnsupportedDigest(keymaster_algorithm_t algorithm, keymaster_purpose_t purpose, 84 bool RequiresSoftwareDigesting(keymaster_algorithm_t algorithm, keymaster_purpose_t purpose, 106 keymaster_purpose_t purpose, 111 keymaster_purpose_t purpose, 116 keymaster_purpose_t purpose, 153 static keymaster_error_t begin(const keymaster1_device_t* dev, keymaster_purpose_t purpose, 210 static keymaster_error_t begin(const keymaster2_device_t* dev, keymaster_purpose_t purpose,
|
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() 149 const 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,
|
/system/keymaster/legacy_support/ |
D | keymaster1_legacy_support.cpp | 58 keymaster_algorithm_t algorithm, keymaster_purpose_t purpose, in add_digests() 84 keymaster_purpose_t sig_purposes[] = {KM_PURPOSE_SIGN, KM_PURPOSE_VERIFY}; in map_digests() 95 keymaster_purpose_t crypt_purposes[] = {KM_PURPOSE_ENCRYPT, KM_PURPOSE_DECRYPT}; in map_digests() 117 static bool findUnsupportedDigest(keymaster_algorithm_t algorithm, keymaster_purpose_t purpose, in findUnsupportedDigest() 141 bool requiresSoftwareDigesting(keymaster_algorithm_t algorithm, keymaster_purpose_t purpose, in requiresSoftwareDigesting() 178 keymaster_purpose_t purpose = static_cast<keymaster_purpose_t>(entry.enumerated); in RequiresSoftwareDigesting() 202 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_; 104 EcdsaKeymaster1OperationFactory(keymaster_purpose_t purpose, const Keymaster1Engine* engine) in EcdsaKeymaster1OperationFactory() 115 keymaster_purpose_t purpose_;
|
D | rsa_keymaster1_operation.h | 31 RsaKeymaster1WrappedOperation(keymaster_purpose_t purpose, const Keymaster1Engine* engine) in RsaKeymaster1WrappedOperation() 46 keymaster_purpose_t purpose_; 103 RsaKeymaster1OperationFactory(keymaster_purpose_t purpose, const Keymaster1Engine* engine) in RsaKeymaster1OperationFactory() 114 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() 196 virtual keymaster_purpose_t purpose() const = 0; 244 keymaster_purpose_t purpose() const override { return KM_PURPOSE_SIGN; } in purpose() 257 keymaster_purpose_t purpose() const override { return KM_PURPOSE_VERIFY; } in purpose() 270 keymaster_purpose_t purpose() const override { return KM_PURPOSE_ENCRYPT; } in purpose() 283 keymaster_purpose_t purpose() const override { return KM_PURPOSE_DECRYPT; } in purpose()
|
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 | rsa_key.h | 39 bool SupportedMode(keymaster_purpose_t purpose, keymaster_padding_t padding); 40 bool SupportedMode(keymaster_purpose_t purpose, keymaster_digest_t digest);
|
D | aes_key.h | 41 OperationFactory* GetOperationFactory(keymaster_purpose_t purpose) const override;
|
D | hmac_key.h | 38 OperationFactory* GetOperationFactory(keymaster_purpose_t purpose) const override;
|
D | triple_des_key.h | 39 OperationFactory* GetOperationFactory(keymaster_purpose_t purpose) const override;
|
/system/keymaster/tests/ |
D | android_keymaster_test_utils.h | 192 keymaster_error_t BeginOperation(keymaster_purpose_t purpose); 193 keymaster_error_t BeginOperation(keymaster_purpose_t purpose, const AuthorizationSet& input_set, 223 std::string ProcessMessage(keymaster_purpose_t purpose, const std::string& message); 224 std::string ProcessMessage(keymaster_purpose_t purpose, const std::string& message, 228 std::string ProcessMessage(keymaster_purpose_t purpose, const std::string& message, 232 std::string ProcessMessage(keymaster_purpose_t purpose, const std::string& message, 298 void CheckTripleDesTestVector(keymaster_purpose_t purpose, keymaster_block_mode_t mode,
|
/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/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/ng/include/ |
D | KeyMintUtils.h | 43 inline keymaster_purpose_t legacy_enum_conversion(const KeyPurpose value) { in legacy_enum_conversion() 44 return static_cast<keymaster_purpose_t>(value); in legacy_enum_conversion()
|
/system/keymaster/include/keymaster/legacy_support/ |
D | keymaster1_legacy_support.h | 41 typedef std::pair<keymaster_algorithm_t, keymaster_purpose_t> AlgPurposePair; 122 OperationFactory* GetOperationFactory(keymaster_purpose_t /*purpose*/) const override { in GetOperationFactory() argument
|
/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,
|