Home
last modified time | relevance | path

Searched defs:purpose (Results 1 – 25 of 40) 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.cpp41 bool RsaKey::SupportedMode(keymaster_purpose_t purpose, keymaster_padding_t padding) { in SupportedMode()
63 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.h50 explicit BlockCipherOperationFactory(keymaster_purpose_t purpose) : purpose_(purpose) {} in BlockCipherOperationFactory()
Dhmac_operation.cpp93 HmacOperation::HmacOperation(Key&& key, keymaster_purpose_t purpose, keymaster_digest_t digest, in HmacOperation()
Dblock_cipher_operation.cpp145 BlockCipherEvpOperation::BlockCipherEvpOperation(keymaster_purpose_t purpose, in BlockCipherEvpOperation()
/system/keymaster/legacy_support/
Dkeymaster1_legacy_support.cpp59 keymaster_algorithm_t algorithm, keymaster_purpose_t purpose, in add_digests()
87 for (auto purpose : sig_purposes) { in map_digests() local
98 for (auto purpose : crypt_purposes) { in map_digests() local
118 static bool findUnsupportedDigest(keymaster_algorithm_t algorithm, keymaster_purpose_t purpose, in findUnsupportedDigest()
142 bool requiresSoftwareDigesting(keymaster_algorithm_t algorithm, keymaster_purpose_t purpose, in requiresSoftwareDigesting()
179 keymaster_purpose_t purpose = static_cast<keymaster_purpose_t>(entry.enumerated); in RequiresSoftwareDigesting() local
203 keymaster_purpose_t purpose = static_cast<keymaster_purpose_t>(entry.enumerated); in RequiresSoftwareDigesting() local
Drsa_keymaster1_operation.h33 RsaKeymaster1WrappedOperation(keymaster_purpose_t purpose, const Keymaster1Engine* engine) in RsaKeymaster1WrappedOperation()
105 RsaKeymaster1OperationFactory(keymaster_purpose_t purpose, const Keymaster1Engine* engine) in RsaKeymaster1OperationFactory()
Decdsa_keymaster1_operation.h34 EcdsaKeymaster1WrappedOperation(keymaster_purpose_t purpose, const Keymaster1Engine* engine) in EcdsaKeymaster1WrappedOperation()
106 EcdsaKeymaster1OperationFactory(keymaster_purpose_t purpose, const Keymaster1Engine* engine) in EcdsaKeymaster1OperationFactory()
Dkeymaster_passthrough_operation.h38 explicit KeymasterPassthroughOperation(keymaster_purpose_t purpose, in KeymasterPassthroughOperation()
96 keymaster_purpose_t purpose, in KeymasterPassthroughOperationFactory()
Dkeymaster_passthrough_engine.cpp115 OperationFactory* GetOperationFactory(keymaster_purpose_t purpose, in GetOperationFactory()
/system/keymaster/include/keymaster/km_openssl/
Drsa_operation.h39 keymaster_purpose_t purpose, keymaster_digest_t digest, in RsaOperation()
143 keymaster_purpose_t purpose, keymaster_digest_t digest, in RsaCryptOperation()
247 keymaster_purpose_t purpose() const override { return KM_PURPOSE_SIGN; } in purpose() function
260 keymaster_purpose_t purpose() const override { return KM_PURPOSE_VERIFY; } in purpose() function
274 keymaster_purpose_t purpose() const override { return KM_PURPOSE_ENCRYPT; } in purpose() function
288 keymaster_purpose_t purpose() const override { return KM_PURPOSE_DECRYPT; } in purpose() function
Decdsa_operation.h36 keymaster_purpose_t purpose, keymaster_digest_t digest, EVP_PKEY* key) in EcdsaOperation()
121 keymaster_purpose_t purpose() const override { return KM_PURPOSE_SIGN; } in purpose() function
136 keymaster_purpose_t purpose() const override { return KM_PURPOSE_VERIFY; } in purpose() function
/system/keymaster/include/keymaster/
Doperation.h48 keymaster_purpose_t purpose; member
96 explicit Operation(keymaster_purpose_t purpose, AuthorizationSet&& hw_enforced, in Operation()
105 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/keymaster/contexts/
Dsoft_keymaster_device.cpp110 keymaster_purpose_t purpose, in add_digests()
138 for (auto purpose : sig_purposes) { in map_digests() local
149 for (auto purpose : crypt_purposes) { in map_digests() local
405 keymaster_purpose_t purpose, in get_supported_block_modes()
439 keymaster_purpose_t purpose, in get_supported_padding_modes()
473 keymaster_purpose_t purpose, in get_supported_digests()
615 keymaster_purpose_t purpose, in FindUnsupportedDigest()
637 keymaster_purpose_t purpose, in RequiresSoftwareDigesting()
675 keymaster_purpose_t purpose = static_cast<keymaster_purpose_t>(entry.enumerated); in KeyRequiresSoftwareDigesting() local
1106 keymaster_purpose_t purpose, in begin()
[all …]
/system/security/ondevice-signing/
DKeystoreHmacKey.cpp169 KeyParameter purpose; in getVerifyOpParameters() local
195 KeyParameter purpose; in getSignOpParameters() local
DKeystoreKey.cpp101 KeyParameter purpose; in createKey() local
287 KeyParameter purpose; in getSignOpParameters() local
/system/keymaster/include/keymaster/legacy_support/
Dkeymaster_passthrough_key.h71 OperationFactory* GetOperationFactory(keymaster_purpose_t purpose) const override { in GetOperationFactory()
/system/security/keystore2/test_utils/
Dauthorizations.rs42 pub fn purpose(mut self, p: KeyPurpose) -> Self { in purpose() method
/system/keymaster/ng/include/
DAndroidKeymaster41Device.h151 Return<void> begin(KeyPurpose purpose, const hidl_vec<uint8_t>& key, in begin()
/system/keymaster/ng/
DAndroidKeyMintDevice.cpp409 ScopedAStatus AndroidKeyMintDevice::begin(KeyPurpose purpose, const vector<uint8_t>& keyBlob, in begin()
/system/core/trusty/keymaster/keymint/
DTrustyKeyMintDevice.cpp264 ScopedAStatus TrustyKeyMintDevice::begin(KeyPurpose purpose, const vector<uint8_t>& keyBlob, in begin()
/system/core/trusty/keymaster/3.0/
DTrustyKeymaster3Device.cpp375 Return<void> TrustyKeymaster3Device::begin(KeyPurpose purpose, const hidl_vec<uint8_t>& key, in begin()

12