enhance(testlib): Fix the runtime testlib tools to handle the ciphertext bufferization and the new compiler concrete bufferized API

This commit is contained in:
Quentin Bourgerie
2022-02-11 14:31:52 +01:00
committed by Quentin Bourgerie
parent b1d6b7e653
commit 9627864d23
4 changed files with 84 additions and 65 deletions

View File

@@ -91,9 +91,9 @@ private:
std::vector<void *> preparedArgs;
// Store allocated lwe ciphertexts (for free)
std::vector<LweCiphertext_u64 *> allocatedCiphertexts;
std::vector<uint64_t *> allocatedCiphertexts;
// Store buffers of ciphertexts
std::vector<LweCiphertext_u64 **> ciphertextBuffers;
std::vector<uint64_t *> ciphertextBuffers;
KeySet &keySet;
RuntimeContext context;

View File

@@ -89,7 +89,7 @@ protected:
ClientParameters clientParameters;
std::shared_ptr<KeySet> keySet;
void *(*func)(void *...);
void *func;
// Retain module and open shared lib alive
std::shared_ptr<DynamicModule> module;
};