Nicolas Sarlin
e849394ea7
chore(tfhe): remove tuniform example
2025-10-16 09:48:24 +02:00
Enzo Di Maria
126e779533
refactor(gpu): oprf_unsigned_custom_range + tests
2025-10-16 09:31:01 +02:00
Enzo Di Maria
353237c0d6
refactor(gpu): oprf_unsigned_custom_range
2025-10-16 09:31:01 +02:00
yuxizama
c99bc6d97f
chore(docs): update doc designs
2025-10-15 17:03:20 +02:00
Thomas Montaigu
498b0e6e5c
refactor: use BTreeMap as internals of KVStore
...
This is to make the order of the key and value lists
deterministic when compressing
2025-10-14 17:04:13 +02:00
Arthur Meyre
a9d0b9a3fb
chore: fix cmux doctstrings
...
- mismatched text/rust blocks made the docs broken on docs.rs
- should we remove all ```rust given it is implied by ``` ?
2025-10-14 10:25:42 +02:00
Agnes Leroy
cf3f25efdd
chore(gpu): add missing syncs in linearalgebra functions and aes
2025-10-14 09:23:11 +02:00
Agnes Leroy
c3ed1a7558
chore(gpu): internal renaming
2025-10-14 09:23:11 +02:00
Enzo Di Maria
79fdb33632
refactor(gpu): tests and long run tests for oprf
2025-10-10 17:32:34 +02:00
Thomas Montaigu
41a41278e6
chore(docs): fix docs for docs.rs
...
doc_auto_cfg is no longer available in nightly >= 1.92
This prevents the docs to be build on docs.rs, as docs.rs
uses the latest nightly
This commit also make the `make doc` target use the lastest
nightly so that we can catch these errors
2025-10-10 13:07:30 +02:00
Himess
a05d228899
docs(wasm): remove obsolete TODO in CompactPkeCrs::deserialize
2025-10-07 11:24:37 +02:00
Arthur Meyre
63055d5ca8
test: add KS32 compatibility for the dp_ks_pbs128_packingks AP
2025-10-07 10:22:38 +02:00
Arthur Meyre
46a3008739
test: add KS32 compatibility for the dp_ks_ms AP
2025-10-07 10:22:38 +02:00
Arthur Meyre
f2674da031
test: add KS32 compatibility for the br_dp_ks_ms AP
2025-10-07 10:22:38 +02:00
Arthur Meyre
12c2a2a8b7
feat: make FheUint/FheInt/FheBool compatible with AP params for conformance
...
- update From impl for conformance parameters to manage the AP params
2025-10-07 10:22:11 +02:00
pgardratzama
1b38f8ccfc
fix(hpu): fix expected value of ilog2 & modulus operation
2025-10-07 10:14:43 +02:00
Nicolas Sarlin
6a676551d8
chore(shortint): add metaparams for ks32
2025-10-07 09:51:09 +02:00
Thomas Montaigu
afb79a0b1c
chore(hlapi): export CompressedKVStore
...
Without this, users cannot use the CompressedKVStore type
that is required in the KVStore deserialization
2025-10-07 09:07:28 +02:00
Thomas Montaigu
0277403c45
feat: add From<MetaParameters> for Config
...
This convertion is important to make the use
of meta parameters for high level API
users
2025-10-06 16:47:13 +02:00
Thomas Montaigu
18159d6458
chore(MetaParameters)!: move re-rand ksk params in
...
Re-Randomization is something that requires a
dedicated public key.
Thus we move the parameters of the KSK
into the struct for dedicated PKE parameters
BREAKING CHANGE: This is breaking change regarding the latest alpha
released. But MetaParameters did not seem to be used directly in
fhevm/kms
2025-10-06 16:47:13 +02:00
Nicolas Sarlin
728409aef8
chore(hl): and cpk tests for ks32
2025-10-06 13:59:15 +02:00
Thomas Montaigu
034f3b3c25
feat(xofkeyset): add ks32 support
2025-10-06 13:59:15 +02:00
Nicolas Sarlin
c30e9c39f6
feat(shortint): add compact pke for the ks32 atomic pattern
2025-10-06 13:59:15 +02:00
Arthur Meyre
1513c3bc8c
chore: bump TFHE-rs to 1.4.0
2025-10-06 13:26:54 +02:00
Arthur Meyre
e07f07c4c8
chore: bump tfhe-cuda-backend to 0.12.0
2025-10-06 13:26:54 +02:00
tmontaigu
c95e38e26f
feat(hlapi): add flip operation
2025-10-06 11:07:12 +02:00
Enzo Di Maria
f0f3dd76eb
feat(gpu): aes 128
2025-10-06 09:31:36 +02:00
Andrei Stoian
0604d237eb
chore(gpu): multi-gpu debug target
2025-10-03 16:48:42 +02:00
Thomas Montaigu
e523fd2cb6
feat: add KVStore to the high level api
...
* Added Value type name to crate::integer::KVStore impl of Named trait
as well as a bool to check we deserialize the correct value type
(Radix vs SignedRadix)
* Add KVStore to high_level_api
* Add KVStore hlapi benches
* Remove specialized `[add,mul,sub]_to_slot` as `map` is now the
intended API.
- mul_to_slot was way slower than using `map`
- add/mul_to_slot were a bit faster (~5% latency-wise), but returned
less information (no old_value, no new_value, no boolean to check)
if the key matched
- Some known improvement can be made to map, which should result in
it being better than add/sub_to_slot
* Add FheIntegerType trait to make the KVStore generic over
FheUint/FheInt, and should make GPU integration "easy"
2025-10-03 15:01:23 +02:00
Mayeul@Zama
9b5596ca66
feat(integer): add oprf over any range
2025-10-03 10:00:18 +02:00
Nicolas Sarlin
aefec1fe64
feat(shortint): add ct compression for the ks32 atomic pattern
2025-10-03 09:59:50 +02:00
Agnes Leroy
f9e876730a
chore(gpu): remove support for drift noise reduction
2025-10-03 09:45:20 +02:00
pgardratzama
602c6faf8a
chore(hpu): update hpu-backend dependencies, fix pcc
2025-10-02 13:20:36 +02:00
pgardratzama
563502a6a6
chore(hpu): update tfhe-hpu-backend version, readme and run-on-hpu doc
2025-10-02 13:20:36 +02:00
JJ-hw
db16276715
chore(hpu): Remove all references to U55C, which is not supported anymore.
2025-10-02 13:20:36 +02:00
Nicolas Sarlin
fb2b1a13e7
chore(core): fix encryption of single lwe to use the noise generator
...
This is aligned with what is done with the list encryption
2025-10-02 10:36:12 +02:00
Arthur Meyre
9fdaa983e3
chore: fix october typos
2025-10-01 14:32:41 +02:00
Andrei Stoian
73de886c07
chore(gpu): make deterministic long run GPU test
2025-10-01 13:37:05 +02:00
Nicolas Sarlin
45a849ad36
feat(shortint): add noise squashing for ks32
2025-10-01 10:36:11 +02:00
Nicolas Sarlin
ef5b984448
docs(core): fix fft128 blind rotation doc
2025-10-01 10:36:11 +02:00
Thomas Montaigu
6abed1f228
chore: complete gpu meta params
...
Add noise-squashing params, noise-squashing compression and re-rand
2025-10-01 10:30:22 +02:00
David Testé
4f5d711c4e
chore(bench): add crs size in wasm zero-knowledge benchmark
...
Done to improve result display in Grafana.
2025-09-30 10:42:19 +02:00
Arthur Meyre
2602c9e1b3
fix(hlapi): clear rerand metadata once rerand is done
2025-09-29 18:17:35 +02:00
Arthur Meyre
06dffc60bd
chore: bump version to 1.4.0-alpha.3
2025-09-29 18:17:35 +02:00
Arthur Meyre
2a82076121
fix(shortint): accept trivial ciphertexts for rerand
...
- make sure to set their noise to NOMINAL once rerand is done
2025-09-29 17:51:44 +02:00
Agnes Leroy
15cab8b413
chore(gpu): get decompress size on gpu without calling on_gpu
2025-09-29 11:00:18 +02:00
Agnes Leroy
23d46ba2bc
fix(gpu): fix oprf output degree
2025-09-29 08:33:25 +02:00
Agnes Leroy
daf0e79e4a
fix(gpu): fix get oprf size on gpu
2025-09-29 08:33:25 +02:00
Arthur Meyre
c5ad73865c
chore: prepare alpha.2
...
- bump tfhe-cuda-backend to 0.12.0-alpha.2
- bump tfhe to 1.4.0-alpha.2
2025-09-27 11:35:27 +02:00
Arthur Meyre
6ca48132e1
chore: bump TFHE-rs to 1.4.0-alpha.1
2025-09-26 15:08:09 +02:00