Home
last modified time | relevance | path

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

/system/keymaster/include/keymaster/km_openssl/
Dec_key.h32 const KeyFactory* key_factory) in EcKey() argument
33 : AsymmetricKey(move(hw_enforced), move(sw_enforced), key_factory) {} in EcKey()
43 const KeyFactory* key_factory) in EcKey() argument
44 : AsymmetricKey(move(hw_enforced), move(sw_enforced), key_factory), ec_key_(ec_key) {} in EcKey()
Drsa_key.h29 const KeyFactory* key_factory) in RsaKey() argument
30 : AsymmetricKey(move(hw_enforced), move(sw_enforced), key_factory) {} in RsaKey()
46 const KeyFactory* key_factory) in RsaKey() argument
47 : AsymmetricKey(move(hw_enforced), move(sw_enforced), key_factory), rsa_key_(rsa) {} in RsaKey()
Dasymmetric_key.h29 const KeyFactory* key_factory) in AsymmetricKey() argument
30 : Key(move(hw_enforced), move(sw_enforced), key_factory) {} in AsymmetricKey()
Daes_key.h57 const KeyFactory* key_factory) in AesKey() argument
58 : SymmetricKey(move(key_material), move(hw_enforced), move(sw_enforced), key_factory) {} in AesKey()
Dhmac_key.h54 AuthorizationSet&& sw_enforced, const KeyFactory* key_factory) in HmacKey() argument
55 : 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.h81 const KeyFactory* key_factory);
/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/legacy_support/
Drsa_keymaster0_key.h64 const KeyFactory* key_factory) in RsaKeymaster0Key() argument
65 : RsaKey(rsa_key, move(hw_enforced), move(sw_enforced), key_factory) {} in RsaKeymaster0Key()
Dec_keymaster0_key.h63 AuthorizationSet&& sw_enforced, const KeyFactory* key_factory) in EcKeymaster0Key() argument
64 : EcKey(ec_key, move(hw_enforced), move(sw_enforced), key_factory) {} in EcKeymaster0Key()
Dec_keymaster1_key.h72 AuthorizationSet&& sw_enforced, const KeyFactory* key_factory) in EcdsaKeymaster1Key() argument
73 : EcKey(ecdsa_key, move(hw_enforced), move(sw_enforced), key_factory) {} in EcdsaKeymaster1Key()
Drsa_keymaster1_key.h76 const KeyFactory* key_factory) in RsaKeymaster1Key() argument
77 : RsaKey(rsa_key, move(hw_enforced), move(sw_enforced), key_factory) {} in RsaKeymaster1Key()
Dkeymaster_passthrough_key.h80 const KeyFactory* key_factory, keymaster_error_t* error, in KeymasterPassthroughKey() argument
83 : Key(move(hw_enforced), move(sw_enforced), key_factory), in KeymasterPassthroughKey()
/system/keymaster/km_openssl/
Dsymmetric_key.cpp106 const KeyFactory* key_factory) in SymmetricKey() argument
107 : Key(move(hw_enforced), move(sw_enforced), key_factory) { in SymmetricKey()
/system/keymaster/android_keymaster/
Dandroid_keymaster.cpp263 const KeyFactory* key_factory; in BeginOperation() local
265 response->error = LoadKey(request.key_blob, request.additional_params, &key_factory, &key); in BeginOperation()
275 OperationFactory* factory = key_factory->GetOperationFactory(request.purpose); in BeginOperation()
394 const KeyFactory* key_factory; in AttestKey() local
397 &key_factory, &key); in AttestKey()
481 if (factory) *factory = (*key)->key_factory(); in LoadKey()
/system/keymaster/contexts/
Dpure_soft_keymaster_context.cpp102 KeyFactory* key_factory = GetKeyFactory(algorithm); in GetOperationFactory() local
103 if (!key_factory) in GetOperationFactory()
105 return key_factory->GetOperationFactory(purpose); in GetOperationFactory()
Dsoft_keymaster_context.cpp137 KeyFactory* key_factory = GetKeyFactory(algorithm); in GetOperationFactory() local
138 if (!key_factory) in GetOperationFactory()
140 return key_factory->GetOperationFactory(purpose); in GetOperationFactory()
/system/keymaster/legacy_support/
Dkeymaster1_legacy_support.cpp277 (*key)->key_factory() = & passthrough_factory_; in LoadKey()
299 (*key)->key_factory() = & passthrough_factory_; in LoadKey()