Home
last modified time | relevance | path

Searched refs:KeyFactory (Results 1 – 25 of 29) 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.h35 class KeyFactory {
37 virtual ~KeyFactory() {} in ~KeyFactory()
Dkeymaster_context.h29 class KeyFactory; variable
86 virtual const KeyFactory* GetKeyFactory(keymaster_algorithm_t algorithm) const = 0;
Dandroid_keymaster.h26 class KeyFactory; variable
98 const KeyFactory** factory, UniquePtr<Key>* key);
Dasymmetric_key_factory.h28 class AsymmetricKeyFactory : public KeyFactory {
/system/keymaster/include/keymaster/contexts/
Dpure_soft_keymaster_context.h57 KeyFactory* GetKeyFactory(keymaster_algorithm_t algorithm) const override;
107 std::unique_ptr<KeyFactory> rsa_factory_;
108 std::unique_ptr<KeyFactory> ec_factory_;
109 std::unique_ptr<KeyFactory> aes_factory_;
110 std::unique_ptr<KeyFactory> tdes_factory_;
111 std::unique_ptr<KeyFactory> hmac_factory_;
Dsoft_keymaster_context.h69 KeyFactory* GetKeyFactory(keymaster_algorithm_t algorithm) const override;
129 std::unique_ptr<KeyFactory> rsa_factory_;
130 std::unique_ptr<KeyFactory> ec_factory_;
131 std::unique_ptr<KeyFactory> aes_factory_;
132 std::unique_ptr<KeyFactory> tdes_factory_;
133 std::unique_ptr<KeyFactory> hmac_factory_;
Dkeymaster1_passthrough_context.h60 KeyFactory* GetKeyFactory(keymaster_algorithm_t algorithm) const override;
126 mutable std::unordered_map<keymaster_algorithm_t, UniquePtr<KeyFactory>> factories_;
Dkeymaster2_passthrough_context.h53 KeyFactory* GetKeyFactory(keymaster_algorithm_t algorithm) const override;
/system/keymaster/include/keymaster/km_openssl/
Dec_key.h32 const KeyFactory* key_factory) in EcKey()
43 const KeyFactory* key_factory) in EcKey()
Drsa_key.h29 const KeyFactory* key_factory) in RsaKey()
46 const KeyFactory* key_factory) in RsaKey()
Dsymmetric_key.h30 class SymmetricKeyFactory : public KeyFactory, public SoftKeyFactoryMixin {
81 const KeyFactory* key_factory);
Dasymmetric_key.h29 const KeyFactory* key_factory) in AsymmetricKey()
Daes_key.h57 const KeyFactory* key_factory) in AesKey()
Dhmac_key.h54 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.h37 class KeymasterPassthroughKeyFactory : public KeyFactory {
41 : KeyFactory(), engine_(engine), algorithm_(algorithm) {} in KeymasterPassthroughKeyFactory()
80 const KeyFactory* key_factory, keymaster_error_t* error, in KeymasterPassthroughKey()
Drsa_keymaster0_key.h64 const KeyFactory* key_factory) in RsaKeymaster0Key()
Dec_keymaster0_key.h63 AuthorizationSet&& sw_enforced, const KeyFactory* key_factory) in EcKeymaster0Key()
Dec_keymaster1_key.h72 AuthorizationSet&& sw_enforced, const KeyFactory* key_factory) in EcdsaKeymaster1Key()
Drsa_keymaster1_key.h76 const KeyFactory* key_factory) in RsaKeymaster1Key()
Dkeymaster1_legacy_support.h61 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/android_keymaster/
Dandroid_keymaster.cpp222 const KeyFactory* factory = nullptr; in GenerateKey()
267 const KeyFactory* key_factory; in BeginOperation()
398 const KeyFactory* key_factory; in AttestKey()
439 const KeyFactory* factory = nullptr; in ImportKey()
479 const KeyFactory** factory, UniquePtr<Key>* key) { in LoadKey()
521 const KeyFactory* factory = nullptr; in ImportWrappedKey()
/system/keymaster/km_openssl/
Dsymmetric_key.cpp106 const KeyFactory* key_factory) in SymmetricKey()

12