Home
last modified time | relevance | path

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

12

/system/keymaster/include/keymaster/
Dkey.h31 class KeyFactory; variable
62 const KeyFactory* key_factory() const { return key_factory_; } in key_factory()
63 const KeyFactory*& key_factory() { return key_factory_; } in key_factory()
70 const KeyFactory* key_factory) in Key()
78 const KeyFactory* key_factory_;
Dkey_factory.h34 class KeyFactory {
36 virtual ~KeyFactory() {} in ~KeyFactory()
Dkeymaster_context.h38 class KeyFactory; variable
105 virtual const KeyFactory* GetKeyFactory(keymaster_algorithm_t algorithm) const = 0;
Dasymmetric_key_factory.h29 class AsymmetricKeyFactory : public KeyFactory {
Dandroid_keymaster.h26 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.h62 KeyFactory* GetKeyFactory(keymaster_algorithm_t algorithm) const override;
132 std::unique_ptr<KeyFactory> rsa_factory_;
133 std::unique_ptr<KeyFactory> ec_factory_;
134 std::unique_ptr<KeyFactory> aes_factory_;
135 std::unique_ptr<KeyFactory> tdes_factory_;
136 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.h32 EcKey(AuthorizationSet hw_enforced, AuthorizationSet sw_enforced, const KeyFactory* factory) in EcKey()
34 EcKey(AuthorizationSet hw_enforced, AuthorizationSet sw_enforced, const KeyFactory* factory, in EcKey()
48 const KeyFactory* key_factory) in EcKey()
Drsa_key.h32 RsaKey(AuthorizationSet hw_enforced, AuthorizationSet sw_enforced, const KeyFactory* factory) in RsaKey()
34 RsaKey(AuthorizationSet hw_enforced, AuthorizationSet sw_enforced, const KeyFactory* factory, in RsaKey()
51 const KeyFactory* key_factory) in RsaKey()
Dcurve25519_key.h40 const KeyFactory* factory) in Curve25519Key()
43 const KeyFactory* factory, const KeymasterKeyBlob& key_material) in Curve25519Key()
Dsymmetric_key.h29 class SymmetricKeyFactory : public KeyFactory, public SoftKeyFactoryMixin {
86 AuthorizationSet&& sw_enforced, const KeyFactory* key_factory);
Dasymmetric_key.h32 const KeyFactory* key_factory) in AsymmetricKey()
Dhmac_key.h54 AuthorizationSet&& sw_enforced, const KeyFactory* key_factory) in HmacKey()
Daes_key.h56 AuthorizationSet&& sw_enforced, const KeyFactory* key_factory) in AesKey()
Dtriple_des_key.h57 AuthorizationSet&& sw_enforced, const KeyFactory* key_factory) in TripleDesKey()
/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/include/keymaster/legacy_support/
Dkeymaster_passthrough_key.h38 class KeymasterPassthroughKeyFactory : public KeyFactory {
43 : KeyFactory(), engine_(engine), algorithm_(algorithm) {} in KeymasterPassthroughKeyFactory()
86 AuthorizationSet&& sw_enforced, const KeyFactory* key_factory, in KeymasterPassthroughKey()
Dec_keymaster1_key.h81 AuthorizationSet&& sw_enforced, const KeyFactory* key_factory) in EcdsaKeymaster1Key()
Drsa_keymaster1_key.h83 const KeyFactory* key_factory) in RsaKeymaster1Key()
Dkeymaster1_legacy_support.h59 template <typename KM1_SOFTDIGEST_FACTORY> class Keymaster1ArbitrationFactory : public KeyFactory {
/system/keymaster/km_openssl/
Dsymmetric_key.cpp109 AuthorizationSet&& sw_enforced, const KeyFactory* key_factory) in SymmetricKey()
/system/keymaster/contexts/
Dsoft_keymaster_context.cpp97 KeyFactory* SoftKeymasterContext::GetKeyFactory(keymaster_algorithm_t algorithm) const { in GetKeyFactory()
125 KeyFactory* key_factory = GetKeyFactory(algorithm); in GetOperationFactory()
Dkeymaster2_passthrough_context.cpp44 KeyFactory* Keymaster2PassthroughContext::GetKeyFactory(keymaster_algorithm_t algorithm) const { in GetKeyFactory()

12