From 292cce04c325f61beeb06adee33d0a8a8df0dabe Mon Sep 17 00:00:00 2001 From: Quentin Bourgerie Date: Tue, 29 Nov 2022 16:07:09 +0100 Subject: [PATCH] enhance(clientlib): Use the parallel version for generating packing keys --- compiler/lib/ClientLib/KeySet.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/lib/ClientLib/KeySet.cpp b/compiler/lib/ClientLib/KeySet.cpp index 50e705aea..dd7ebe7fc 100644 --- a/compiler/lib/ClientLib/KeySet.cpp +++ b/compiler/lib/ClientLib/KeySet.cpp @@ -262,8 +262,8 @@ KeySet::generatePackingKey(PackingKeySwitchID id, PackingKeySwitchParam param) { // Allocate the packing keyswitch key LweCircuitBootstrapPrivateFunctionalPackingKeyswitchKeys64 *fpksk; CAPI_ASSERT_ERROR( - default_engine_generate_new_lwe_circuit_bootstrap_private_functional_packing_keyswitch_keys_unchecked_u64( - engine, inputSk->second.second, output_glwe_sk, param.baseLog, + default_parallel_engine_generate_new_lwe_circuit_bootstrap_private_functional_packing_keyswitch_keys_unchecked_u64( + par_engine, inputSk->second.second, output_glwe_sk, param.baseLog, param.level, param.variance, &fpksk)); // Store the keyswitch key