Commit Graph

3690 Commits

Author SHA1 Message Date
Arthur Meyre
04415320d9 refactor(tfhe): add allocate and encrypt for BSK
- use new generation when creating ServerKey in shortint
- next step requires taking parts of the FFT backend for the refactor
2023-01-02 13:42:09 +01:00
Arthur Meyre
4a0fb6b42e refactor(tfhe): add parallel bootstrap key generation
- add equivalence test between refactored sequential and parallel BSK
generation
2023-01-02 13:42:09 +01:00
Arthur Meyre
b445e349a6 chore(tfhe): update associated types name for contiguous container traits 2023-01-02 13:42:09 +01:00
Arthur Meyre
2aa84d2b3c refactor(tfhe): reproduce sequential BSK generation 2023-01-02 13:42:09 +01:00
Arthur Meyre
d0d0b542ac refactor(tfhe): add GGSW encryption with coherency test between old and new 2023-01-02 13:42:09 +01:00
Arthur Meyre
07f496ac23 chore(tfhe): minor fixes 2023-01-02 13:42:09 +01:00
Arthur Meyre
b3e456de28 refactor(tfhe): rewrite lwe keyswitch algorithm with new system 2023-01-02 13:42:09 +01:00
Arthur Meyre
4bdb507086 chore(tfhe): make imports globs for ease of use 2023-01-02 13:42:09 +01:00
Arthur Meyre
98d2e358bb chore(ci): fix tooling with minimum version for GATs requirements 2023-01-02 13:42:09 +01:00
Arthur Meyre
be4e1a878d refactor(tfhe): add refactored LweKeyswitchKey generation algorithm 2023-01-02 13:42:09 +01:00
Arthur Meyre
120e7b5a6b refactor(tfhe): transition GlweSecretKey
- serialization work still pending
2023-01-02 13:42:09 +01:00
Arthur Meyre
3185310610 refactor(shortint): change the LweCiphertext type 2023-01-02 13:42:09 +01:00
Arthur Meyre
1c40890aeb refactor(tfhe): first step of progressive refactor
- provide new structs and compatibility layers (as much as possible) to
convert between types as much as possible
- we are missing key view types in public APIs making this a bit tricky in
that particular case
2023-01-02 13:42:09 +01:00
Arthur Meyre
be7f26a30f refactor(core): introduce new modules for progressive rework
- strategy is to have new entities for which required algorithms will be
implemented re-using existing private implementations
- when algorithms are missing at first conversion functions will be used to
be able to switch back to the old system and use existing primitives
2023-01-02 13:42:09 +01:00
Petar Ivanov
6a3d579749 fix(tools): fix arch detection script for aarch64
On Linux with Apple M1, the output of `uname -a` is:

```
Linux ... aarch64 aarch64 aarch64 GNU/Linux
```

Therefore, recognize that output as aarch64.
2022-12-16 13:53:13 +01:00
Jeremy Bradley-Silverio Donato
9e04f031e8 chore(tfhe): Update README.md 2022-12-14 16:18:05 +01:00
Arthur Meyre
506fd88468 chore(ci): sync repos on push 2022-12-05 17:51:04 +01:00
J-B Orfila
da1592f997 chore(all): update root licence 2022-12-02 15:06:00 +01:00
David Testé
d38edb5096 chore(ci): do not parse report dir when walking subdirectories 2022-11-30 18:03:25 +01:00
J-B Orfila
6d6fcb9562 chore(all): licence updated 2022-11-30 17:43:19 +01:00
David Testé
9a2212e305 chore(ci): parse subdirectories for shortint benchmark results 2022-11-30 15:53:42 +01:00
J-B Orfila
b8d437cbde fix(doc): update pk encryption example for shortint 2022-11-30 15:00:56 +01:00
Alexandre Quint
b89ca6fd87 chore(doc): language edits
GitBook: [#1] TFHE-rs edits - JS
2022-11-30 14:14:56 +01:00
David Testé
d92bcb3ef4 chore(ci): create benchmark aws profile using ec2 m6i.metal 2022-11-23 19:01:36 +01:00
David Testé
34011798f5 chore(ci): change benchmark parser input name
The use of "schema" was incorrect since it's meant to be used as
database name when sending data to Slab.
2022-11-23 19:01:36 +01:00
David Testé
3e192630d5 chore(ci): fix repositories checkout
There are no submodules in tfhe-rs nor the need to authenticate
to get access to it. The right secret is used to checkout Slab.
2022-11-23 19:01:36 +01:00
David Testé
76ec565217 chore(ci): add workflow to trigger all benchmarks automatically 2022-11-23 19:01:36 +01:00
Arthur Meyre
0c7159c040 chore(tfhe): fix README 2022-11-23 13:32:06 +01:00
David Testé
8ea446a105 chore(ci): add benchmark workflow for boolean and shortint
These workflows are meant to be triggered by Slab CI bot server.
2022-11-23 11:46:36 +01:00
Arthur Meyre
3c5ffca775 chore(ci): add clippy_all, upgrade slab workflows, change cpu instance 2022-11-22 14:59:59 +01:00
Arthur Meyre
cc67dc9bb6 feat(wasm): add boolean server key primitives 2022-11-16 13:21:27 +01:00
Arthur Meyre
0891ea5551 chore(wasm): fix clippy lints 2022-11-16 13:21:27 +01:00
Arthur Meyre
45fb747c20 chore(ci): add commit checks for all branches 2022-11-16 11:13:58 +01:00
Arthur Meyre
dc9c651d3b chore(tfhe): fix Makefile typo 2022-11-16 11:13:58 +01:00
Arthur Meyre
95646ca03a chore(ci): update workflows 2022-11-16 11:13:58 +01:00
Arthur Meyre
2d4b8e3aa3 chore(tfhe): update version to 0.2.0 2022-11-14 09:56:22 +01:00
Arthur Meyre
352a2c69ab chore(doc): fix docs.rs build by adding katex header 2022-11-14 09:22:38 +01:00
J-B Orfila
d7b7b84f5b fix(thfe): update public key parameters 2022-11-10 20:16:30 +01:00
Arthur Meyre
ca16a80dfb chore(crate): fix description metadata 2022-11-10 20:15:35 +01:00
Arthur Meyre
74c4dbf781 feat(tfhe): new tfhe-rs package, initial commit 0.1.0 2022-11-10 19:03:08 +01:00