mirror of
https://github.com/zama-ai/concrete.git
synced 2026-04-17 03:00:54 -04:00
add dimension -> size conversion rename k -> glweDimension, polynomialSize -> logPolynomialSize remove (in/out)putLweSize from KeySwitchLweOp remove GlweSizeType from LowLFHE
16 lines
344 B
C
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
|