tfhe_libex
src
include
type
raw
bits.hpp
[詳解]
1
5
#ifndef BITS
6
#define BITS
7
#include "../keyset/keyset.hpp"
8
12
class
TFHEBits
:
private
TFHEKeySet
{
13
public
:
14
int
nbelems;
15
LweSample* bits =
nullptr
;
16
17
TFHEBits
();
18
TFHEBits
(
const
TFHEBits
& elm);
19
20
TFHEBits
(
int
nbelems);
21
22
~
TFHEBits
();
23
24
LweSample& operator[](
int
n);
25
TFHEBits
& operator=(
const
TFHEBits
& elm);
26
};
27
#endif
TFHEBits
複数のLweSample*をwrapするクラス.
Definition:
bits.hpp:12
TFHEKeySet
TFHEの秘密鍵,クラウド鍵,パラメータをまとめて管理するwrapperクラス.
Definition:
keyset.hpp:43
構築:
1.8.17