Files
concrete/compiler/include/zamalang/Runtime/context.h
Mayeul@Zama f193fd71a2 fix(compiler): fix mixed-up (g)lwe dimension/size
add dimension -> size conversion
rename k -> glweDimension, polynomialSize -> logPolynomialSize
remove (in/out)putLweSize from KeySwitchLweOp
remove GlweSizeType from LowLFHE
2021-12-07 12:11:56 +01:00

16 lines
344 B
C

#ifndef ZAMALANG_RUNTIME_CONTEXT_H
#define ZAMALANG_RUNTIME_CONTEXT_H
#include "concrete-ffi.h"
typedef struct RuntimeContext {
LweKeyswitchKey_u64 *ksk;
LweBootstrapKey_u64 *bsk;
} RuntimeContext;
LweKeyswitchKey_u64 *get_keyswitch_key(RuntimeContext *context);
LweBootstrapKey_u64 *get_bootstrap_key(RuntimeContext *context);
#endif