Lines Matching refs:factory
215 const OperationFactory* factory = context.GetOperationFactory(algorithm, purpose); in GetSupported() local
216 if (!factory) { in GetSupported()
222 const T* supported = (factory->*get_supported_method)(&count); in GetSupported()
322 const KeyFactory* factory{}; in get_key_factory() local
324 !(factory = context.GetKeyFactory(algorithm))) { in get_key_factory()
327 return factory; in get_key_factory()
334 const KeyFactory* factory = in GenerateKey() local
336 if (!factory) return; in GenerateKey()
354 response->error = factory->GenerateKey(request.key_description, in GenerateKey()
611 OperationFactory* factory = key->key_factory()->GetOperationFactory(request.purpose); in BeginOperation() local
612 if (!factory) return; in BeginOperation()
617 factory->CreateOperation(std::move(*key), request.additional_params, &response->error)); in BeginOperation()
834 const KeyFactory* factory = in ImportKey() local
836 if (!factory) return; in ImportKey()
860 response->error = factory->ImportKey(request.key_description, // in ImportKey()
964 const KeyFactory* factory = get_key_factory(key_description, *context_, &response->error); in ImportWrappedKey() local
965 if (!factory) return; in ImportWrappedKey()
967 response->error = factory->ImportKey(key_description, // in ImportWrappedKey()