Home
last modified time | relevance | path

Searched refs:KeyFactory (Results 1 – 25 of 27) sorted by relevance

12

/system/keymaster/include/keymaster/
Dkey.h29 class KeyFactory; variable
60 const KeyFactory* key_factory() const { return key_factory_; } in key_factory()
61 const KeyFactory*& key_factory() { return key_factory_; } in key_factory()
65 const KeyFactory* key_factory) in Key()
73 const KeyFactory* key_factory_;
Dkey_factory.h34 class KeyFactory {
36 virtual ~KeyFactory() {} in ~KeyFactory()
Dkeymaster_context.h34 class KeyFactory; variable
100 virtual const KeyFactory* GetKeyFactory(keymaster_algorithm_t algorithm) const = 0;
Dasymmetric_key_factory.h29 class AsymmetricKeyFactory : public KeyFactory {
Dandroid_keymaster.h25 class KeyFactory; variable
/system/keymaster/include/keymaster/contexts/
Dsoft_keymaster_context.h67 KeyFactory* GetKeyFactory(keymaster_algorithm_t algorithm) const override;
118 std::unique_ptr<KeyFactory> rsa_factory_;
119 std::unique_ptr<KeyFactory> ec_factory_;
120 std::unique_ptr<KeyFactory> aes_factory_;
121 std::unique_ptr<KeyFactory> tdes_factory_;
122 std::unique_ptr<KeyFactory> hmac_factory_;
Dpure_soft_keymaster_context.h61 KeyFactory* GetKeyFactory(keymaster_algorithm_t algorithm) const override;
138 std::unique_ptr<KeyFactory> rsa_factory_;
139 std::unique_ptr<KeyFactory> ec_factory_;
140 std::unique_ptr<KeyFactory> aes_factory_;
141 std::unique_ptr<KeyFactory> tdes_factory_;
142 std::unique_ptr<KeyFactory> hmac_factory_;
Dkeymaster1_passthrough_context.h62 KeyFactory* GetKeyFactory(keymaster_algorithm_t algorithm) const override;
138 mutable std::unordered_map<keymaster_algorithm_t, UniquePtr<KeyFactory>> factories_;
Dkeymaster2_passthrough_context.h56 KeyFactory* GetKeyFactory(keymaster_algorithm_t algorithm) const override;
/system/keymaster/include/keymaster/km_openssl/
Dec_key.h30 EcKey(AuthorizationSet hw_enforced, AuthorizationSet sw_enforced, const KeyFactory* factory) in EcKey()
32 EcKey(AuthorizationSet hw_enforced, AuthorizationSet sw_enforced, const KeyFactory* factory, in EcKey()
43 const KeyFactory* key_factory) in EcKey()
Drsa_key.h30 RsaKey(AuthorizationSet hw_enforced, AuthorizationSet sw_enforced, const KeyFactory* factory) in RsaKey()
32 RsaKey(AuthorizationSet hw_enforced, AuthorizationSet sw_enforced, const KeyFactory* factory, in RsaKey()
46 const KeyFactory* key_factory) in RsaKey()
Dsymmetric_key.h29 class SymmetricKeyFactory : public KeyFactory, public SoftKeyFactoryMixin {
86 AuthorizationSet&& sw_enforced, const KeyFactory* key_factory);
Dasymmetric_key.h29 const KeyFactory* key_factory) in AsymmetricKey()
Daes_key.h54 AuthorizationSet&& sw_enforced, const KeyFactory* key_factory) in AesKey()
Dhmac_key.h52 AuthorizationSet&& sw_enforced, const KeyFactory* key_factory) in HmacKey()
Dtriple_des_key.h55 AuthorizationSet&& sw_enforced, const KeyFactory* key_factory) in TripleDesKey()
/system/keymaster/include/keymaster/legacy_support/
Dkeymaster_passthrough_key.h36 class KeymasterPassthroughKeyFactory : public KeyFactory {
41 : KeyFactory(), engine_(engine), algorithm_(algorithm) {} in KeymasterPassthroughKeyFactory()
84 AuthorizationSet&& sw_enforced, const KeyFactory* key_factory, in KeymasterPassthroughKey()
Dec_keymaster1_key.h79 AuthorizationSet&& sw_enforced, const KeyFactory* key_factory) in EcdsaKeymaster1Key()
Drsa_keymaster1_key.h81 const KeyFactory* key_factory) in RsaKeymaster1Key()
Dkeymaster1_legacy_support.h58 template <typename KM1_SOFTDIGEST_FACTORY> class Keymaster1ArbitrationFactory : public KeyFactory {
/system/extras/verity/
DUtils.java31 import java.security.KeyFactory;
176 return KeyFactory.getInstance(algOid).generatePrivate(spec); in loadDERPrivateKey()
194 KeyFactory factory = KeyFactory.getInstance("RSA"); in loadDERPublicKey()
201 KeyFactory factory = KeyFactory.getInstance("RSA"); in loadPEMPublicKey()
223 KeyFactory factory = KeyFactory.getInstance("EC"); in getSignatureAlgorithm()
/system/keymaster/km_openssl/
Dsymmetric_key.cpp107 AuthorizationSet&& sw_enforced, const KeyFactory* key_factory) in SymmetricKey()
/system/keymaster/contexts/
Dsoft_keymaster_context.cpp94 KeyFactory* SoftKeymasterContext::GetKeyFactory(keymaster_algorithm_t algorithm) const { in GetKeyFactory()
122 KeyFactory* key_factory = GetKeyFactory(algorithm); in GetOperationFactory()
Dkeymaster2_passthrough_context.cpp42 KeyFactory* Keymaster2PassthroughContext::GetKeyFactory(keymaster_algorithm_t algorithm) const { in GetKeyFactory()
/system/keymaster/android_keymaster/
Dandroid_keymaster.cpp307 const KeyFactory* get_key_factory(const AuthorizationSet& key_description, in get_key_factory()
311 const KeyFactory* factory{}; in get_key_factory()
323 const KeyFactory* factory = in GenerateKey()
765 const KeyFactory* factory = in ImportKey()
880 const KeyFactory* factory = get_key_factory(key_description, *context_, &response->error); in ImportWrappedKey()

12