Agnes Leroy
ff539aab6b
chore(gpu): activate all targets for clippy_gpu
2024-02-19 16:47:19 +01:00
Arthur Meyre
cd13b40dbb
chore(ci): fix GPU tests to run only with core crypto features
2024-02-16 13:43:28 +01:00
sarah el kazdadi
7190dad1e3
chore(ci): update toolchain, fix clippy warnings
2024-02-15 19:01:15 +01:00
Arthur Meyre
3ff5d551a9
chore(ci): make avx512 enabled by default for benchmarks
...
- was too error prone when used by other people in the company, no more
doubts and we are generally not interested in non avx512 results
2024-02-15 10:37:14 +01:00
tmontaigu
ece82c51a5
feat(capi): add Cuda support
...
- This adds GPU support in the C API
- Also make ctest (cmake test launcher) print
test output when it fails
2024-02-09 14:45:21 +01:00
Agnes Leroy
035a70d81f
chore(gpu): add a benchmark for keyswitch on GPU
2024-02-06 09:08:41 +01:00
Agnes Leroy
bce3bf1733
chore(gpu): add fmt and clippy checks in tfhe-cuda-backend
2024-02-01 15:23:49 +01:00
Sexosexosexo
02265705fc
docs(tfhe): add fhe_strings example
2024-01-31 17:07:11 +01:00
Arthur Meyre
f9669c3294
chore(ci): update scripts and Makefile for future forward compatibility
2024-01-31 16:24:39 +01:00
Arthur Meyre
76665ab478
chore(ci): convert some make targets to be semver trick compatible
2024-01-31 16:24:39 +01:00
David Testé
f94a63eedc
chore(bench): add pbs benchmarks on gpu
2024-01-26 17:42:31 +01:00
David Testé
ae8d48138c
chore(ci): add gpu tests from user documentation
2024-01-24 16:27:12 +01:00
Agnes Leroy
e912394b52
chore(gpu): fix formatting command
2024-01-24 15:46:23 +01:00
Agnes Leroy
548f2e5d05
chore(gpu): fix gpu package for publication
2024-01-22 15:29:26 +01:00
tmontaigu
ee10508c99
refactor(hlapi): prepare hlapi for different backends/representations
...
- Split GenericInteger into FheUint and FheInt
- Prepare FheUint and FheBool to support different backends
- Allow the use of 1_1 parameters
BREAKING CHANGE: unset_server_key no longer returns the server key
2024-01-18 16:58:11 +01:00
Mayeul@Zama
15147b4359
feat(integer): add oprf bench
2024-01-18 11:03:37 +01:00
Pedro Alves
c632ac1b9a
feat(gpu): add tfhe-cuda-backend to the repository
2024-01-18 10:14:36 +01:00
Arthur Meyre
df6fa86481
refactor(c_api): use DynamicBuffer as the buffer type between C and Rust
...
- allows to share data safely between C and Rust and make sure it gets
destroyed with the right destructor
- apply formatting to C tests
- add a script to symlink the dependency lib to a fixed name
- the rust build system adds a fingerprint to the lib name which is not
practical when we are linking our C test executable
- link the most recent artifacts corresponding to the dependency we have
2024-01-17 10:45:02 +01:00
Mayeul@Zama
0a317c5f0e
refactor(all): remove safe-deserialization feature
...
bincode dependency is not optional anymore
2024-01-04 10:33:36 +01:00
Arthur Meyre
bdadd39a34
chore(ci): add some missing spec indicators for cargo commands
2023-11-29 15:29:06 +01:00
Arthur Meyre
f03f2f9c6d
chore(ci): fix clippy trivium target which also triggered for tfhe
2023-11-29 15:29:06 +01:00
David Testé
c2d7f1748c
chore(ci): add core_crypto layer to code coverage
2023-11-22 10:21:17 +01:00
Arthur Meyre
00fb60451d
chore(ci): group signed and unsigned integer for better runtime homogeneity
2023-11-16 14:18:30 +01:00
Arthur Meyre
18b9fd4464
chore(ci): re-enable mistakenly disabled AVX512 for integers
2023-11-16 14:18:30 +01:00
Arthur Meyre
eace0bfb85
chore(ci): spread tests between two CI machines/workflow for faster runtime
2023-11-16 14:18:30 +01:00
Arthur Meyre
61c8eadd58
chore(ci): update Makefile for semver trick compatibility
...
- adding the tfhe package as a dependency is currently causing issues with
Cargo because of unified feature resolution it seems, it needs an
additional version specifier to disambiguate which package we are referring
to, an issue exists on their end but I don't think a fix is to be expected
soon https://github.com/rust-lang/cargo/issues/12891
- commiting this to main and then backporting the relevant pieces to 0.4.x
2023-11-10 15:35:38 +01:00
David Testé
e11c3d7b7c
chore(ci): add signed integer benchmarks to the CI
2023-10-25 09:14:00 +02:00
tmontaigu
0085ceb97b
chore(ci): set node version
2023-10-20 10:24:50 +02:00
tmontaigu
e44c38a102
chore(ci): tell nvm to use node version 20 in wasm parallel tests
2023-10-18 19:04:27 +02:00
Arthur Meyre
41c20e22f5
chore(ci): enable AVX512 for integer and multi bit integer tests
2023-10-17 10:28:14 +02:00
Mayeul@Zama
a9b09ecc45
feat(c_api): add compact integer safe deserialization
2023-10-13 14:18:44 +02:00
Mayeul@Zama
492d348138
test(serialization): run tests in CI
2023-10-05 09:15:58 +02:00
David Testé
a029bd878e
chore(ci): fix file exclusion for coverage reports
2023-09-26 08:58:36 +02:00
David Testé
400e7930b6
chore(ci): fix options typos for new tarpaulin version
2023-09-26 08:58:36 +02:00
David Testé
8ecf8879fb
chore(ci): add end-of-file newline checks recipe
2023-09-20 09:39:50 +02:00
David Testé
48aab9d494
chore(ci): add boolean layer to code coverage
2023-09-15 11:00:23 +02:00
David Testé
bf434be347
chore(ci): exclude unwanted files from coverage
2023-09-14 13:32:09 +02:00
David Testé
cd68a3bd1c
chore(ci): execute clippy all-targets on benchmark code
...
The use of internal-keycache feature is mandatory to ensure clippy
is building against benchmark code.
2023-09-13 11:49:33 +02:00
David Testé
2a8ebb81d8
chore(ci): fix trivium test recipes
2023-09-13 09:09:39 +02:00
David Testé
0080caf95d
chore(ci): add code coverage workflow
...
Coverage is performed and then data are sent to Codecov to handle
reports.
2023-09-13 09:09:03 +02:00
David Testé
c26238533b
chore(ci): add key cache keys generation for coverage
2023-09-13 09:09:03 +02:00
David Testé
ca229e369b
chore(ci): add make recipe for shortint test coverage
...
Tarpaulin is the cargo module used to test coverage.
2023-09-13 09:09:03 +02:00
Arthur Meyre
bc129ba0ed
chore(csprng): add dieharder test suite
2023-09-11 13:05:33 +02:00
Arthur Meyre
462834a12e
chore(tfhe): use concrete-csprng 0.4.0 allows to use stable for M1/M2 macs
2023-09-11 13:05:33 +02:00
Arthur Meyre
ebeee1d6f8
chore(ci): add concrete-csprng to the CI
2023-09-11 13:05:33 +02:00
David Testé
5a3652f398
chore(ci): add clippy target for trivium application
2023-09-08 16:49:27 +02:00
David Testé
65749cb39b
chore(bench): benchmark shortint ops against multi-bit parameters
2023-08-30 13:31:46 +02:00
David Testé
304932a861
chore(tfhe): refactor keycache in its own crate
...
The general parts of shortint keycache has been moved to its own
crate. This enable boolean layer to get access to traits without
having to import shortint::keycache module.
2023-08-10 16:42:40 +02:00
David Testé
59181d4717
chore(ci): add workflow to check security of parameters sets
...
Cryptographic parameters sets security is checked automatically
with a lattice estimator. The first step is to collect all the
parameters that need to be checked in in a file with a format
understable by Sagemath. Second, a lattice estimator is run in
a Sage script. Each parameters set is run against two attacks and
then security level is estimated from that.
These steps have been put into a GitHub workflow to perform
automatic checks.
Co-authored-by: Ben <ben.curtis@zama.ai >
2023-08-10 16:42:40 +02:00
Arthur Meyre
6a56af0b07
chore(ci): add a command to just build docs to see how it looks like
...
- add a target to lint doc building to replace the previous doc target
- adapt the top lib configuration for broken links to go from deny to warn
2023-07-28 11:52:01 +02:00