Home
last modified time | relevance | path

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

/system/keymaster/include/keymaster/
Dkey_factory.h34 class KeyFactory {
36 explicit KeyFactory(const KeymasterContext* context) : context_(context) {} in KeyFactory() function
37 virtual ~KeyFactory() {} in ~KeyFactory()
Dsoft_keymaster_context.h63 KeyFactory* GetKeyFactory(keymaster_algorithm_t algorithm) const override;
119 std::unique_ptr<KeyFactory> rsa_factory_;
120 std::unique_ptr<KeyFactory> ec_factory_;
121 std::unique_ptr<KeyFactory> aes_factory_;
122 std::unique_ptr<KeyFactory> hmac_factory_;
Dasymmetric_key_factory.h28 class AsymmetricKeyFactory : public KeyFactory {
30 explicit AsymmetricKeyFactory(const KeymasterContext* context) : KeyFactory(context) {} in AsymmetricKeyFactory()
Dkeymaster_context.h30 class KeyFactory; variable
90 virtual KeyFactory* GetKeyFactory(keymaster_algorithm_t algorithm) const = 0;
Dandroid_keymaster.h26 class KeyFactory; variable
88 const KeyFactory** factory, UniquePtr<Key>* key);
/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/
Dsymmetric_key.h28 class SymmetricKeyFactory : public KeyFactory {
30 explicit SymmetricKeyFactory(const KeymasterContext* context) : KeyFactory(context) {} in SymmetricKeyFactory()
Dandroid_keymaster.cpp192 KeyFactory* factory = 0; in GenerateKey()
223 static KeyFactory* GetKeyFactory(const KeymasterContext& context, in GetKeyFactory()
231 KeyFactory* factory = context.GetKeyFactory(*algorithm); in GetKeyFactory()
245 const KeyFactory* key_factory; in BeginOperation()
372 KeyFactory* key_factory = in ExportKey()
398 const KeyFactory* key_factory; in AttestKey()
432 KeyFactory* factory = 0; in ImportKey()
468 const KeyFactory** factory, UniquePtr<Key>* key) { in LoadKey()
Dattestation_record_test.cpp44 KeyFactory* GetKeyFactory(keymaster_algorithm_t /* algorithm */) const override { in GetKeyFactory()
Dsoft_keymaster_context.cpp362 KeyFactory* SoftKeymasterContext::GetKeyFactory(keymaster_algorithm_t algorithm) const { in GetKeyFactory()
388 KeyFactory* key_factory = GetKeyFactory(algorithm); in GetOperationFactory()