Home
last modified time | relevance | path

Searched refs:key_factory (Results 1 – 16 of 16) sorted by relevance

/system/keymaster/include/keymaster/
Dkey.h60 const KeyFactory* key_factory() const { return key_factory_; } in key_factory() function
61 const KeyFactory*& key_factory() { return key_factory_; } in key_factory() function
65 const KeyFactory* key_factory) in Key() argument
67 key_factory_(key_factory) {} in Key()
/system/keymaster/include/keymaster/km_openssl/
Dasymmetric_key.h29 const KeyFactory* key_factory) in AsymmetricKey() argument
30 : Key(move(hw_enforced), move(sw_enforced), key_factory) {} in AsymmetricKey()
Dec_key.h43 const KeyFactory* key_factory) in EcKey() argument
44 : AsymmetricKey(move(hw_enforced), move(sw_enforced), key_factory), ec_key_(ec_key) {} in EcKey()
Daes_key.h54 AuthorizationSet&& sw_enforced, const KeyFactory* key_factory) in AesKey() argument
55 : SymmetricKey(move(key_material), move(hw_enforced), move(sw_enforced), key_factory) {} in AesKey()
Drsa_key.h46 const KeyFactory* key_factory) in RsaKey() argument
47 : AsymmetricKey(move(hw_enforced), move(sw_enforced), key_factory), rsa_key_(rsa) {} in RsaKey()
Dhmac_key.h52 AuthorizationSet&& sw_enforced, const KeyFactory* key_factory) in HmacKey() argument
53 : SymmetricKey(move(key_material), move(hw_enforced), move(sw_enforced), key_factory) {} in HmacKey()
Dtriple_des_key.h55 AuthorizationSet&& sw_enforced, const KeyFactory* key_factory) in TripleDesKey() argument
56 : SymmetricKey(move(key_material), move(hw_enforced), move(sw_enforced), key_factory) {} in TripleDesKey()
Dsymmetric_key.h86 AuthorizationSet&& sw_enforced, const KeyFactory* key_factory);
/system/keymaster/include/keymaster/legacy_support/
Dec_keymaster1_key.h79 AuthorizationSet&& sw_enforced, const KeyFactory* key_factory) in EcdsaKeymaster1Key() argument
80 : EcKey(ecdsa_key, move(hw_enforced), move(sw_enforced), key_factory) {} in EcdsaKeymaster1Key()
Drsa_keymaster1_key.h81 const KeyFactory* key_factory) in RsaKeymaster1Key() argument
82 : RsaKey(rsa_key, move(hw_enforced), move(sw_enforced), key_factory) {} in RsaKeymaster1Key()
Dkeymaster_passthrough_key.h84 AuthorizationSet&& sw_enforced, const KeyFactory* key_factory, in KeymasterPassthroughKey() argument
87 : Key(move(hw_enforced), move(sw_enforced), key_factory), in KeymasterPassthroughKey()
/system/keymaster/km_openssl/
Dsymmetric_key.cpp107 AuthorizationSet&& sw_enforced, const KeyFactory* key_factory) in SymmetricKey() argument
108 : Key(move(hw_enforced), move(sw_enforced), key_factory) { in SymmetricKey()
/system/keymaster/contexts/
Dsoft_keymaster_context.cpp122 KeyFactory* key_factory = GetKeyFactory(algorithm); in GetOperationFactory() local
123 if (!key_factory) return nullptr; in GetOperationFactory()
124 return key_factory->GetOperationFactory(purpose); in GetOperationFactory()
Dpure_soft_keymaster_context.cpp118 KeyFactory* key_factory = GetKeyFactory(algorithm); in GetOperationFactory() local
119 if (!key_factory) return nullptr; in GetOperationFactory()
120 return key_factory->GetOperationFactory(purpose); in GetOperationFactory()
/system/keymaster/legacy_support/
Dkeymaster1_legacy_support.cpp275 (*key)->key_factory() = &passthrough_factory_; in LoadKey()
294 (*key)->key_factory() = &passthrough_factory_; in LoadKey()
/system/keymaster/android_keymaster/
Dandroid_keymaster.cpp550 OperationFactory* factory = key->key_factory()->GetOperationFactory(request.purpose); in BeginOperation()