Nicolas Sarlin
597c61bbdb
chore(shortint): add tests for the KS32 AP
2025-05-06 14:48:07 +02:00
Nicolas Sarlin
8a26df9177
chore(tests): add support for AP in tests and benches
2025-05-06 14:48:07 +02:00
Nicolas Sarlin
c17a2527b7
feat(shortint): introduce the KS32 atomic pattern
2025-05-06 14:48:07 +02:00
Nicolas Sarlin
0fd9537ae0
refactor(core): make ksk generation generic over the scalar type
2025-05-06 14:48:07 +02:00
Nicolas Sarlin
3df5ea313a
refactor(shortint): make modswitch compression generic over scalar
2025-05-06 14:48:07 +02:00
Nicolas Sarlin
76f0b57f80
refactor(shortint): make oprf generic over the Scalar type
2025-05-06 14:48:07 +02:00
Nicolas Sarlin
6cde78171f
refactor(shortint): support any scalar in modswitch noise reduction
2025-05-06 14:48:07 +02:00
Nicolas Sarlin
eb0087bd6a
refactor(core): allow different input/output scalars in multibit br
2025-05-06 14:48:07 +02:00
Nicolas Sarlin
8c5bf6b231
refactor(shortint): support any ciphertext modulus in the engine
2025-05-06 14:48:07 +02:00
Nicolas Sarlin
ca31e5fbb5
feat(shortint): add the dynamic ap
2025-05-06 14:48:07 +02:00
Nicolas Sarlin
19f0c649e6
refactor(shortint): engine can create any atomic pattern sk
2025-05-06 14:48:07 +02:00
Nicolas Sarlin
c6a493954b
feat(shortint): insert the AP inside the ServerKey
2025-05-06 14:48:07 +02:00
Nicolas Sarlin
4df790550d
feat(shortint): create atomic pattern trait and enum
2025-05-06 14:48:07 +02:00
Nicolas Sarlin
056716fbb9
refactor(shortint): remove degree in generate_lookup_table_no_encode
2025-05-06 14:48:07 +02:00
Nicolas Sarlin
0e70dd3641
refactor(shortint): use a dedicated type for lut size
2025-05-06 14:48:07 +02:00
Nicolas Sarlin
604c3b0c75
refactor(shortint): function to directly set noise level to nominal
...
This allows to call it without having to define a max_noise_level
2025-05-06 14:48:07 +02:00
Nicolas Sarlin
0160289a14
refactor(shortint): use a single lwe buffer inside shortint engine
...
Since only one kind is used at a time we don't need do allocate both
2025-05-06 14:48:07 +02:00
Nicolas Sarlin
8c3485e774
refactor(shortint): factorize generate_lookup_table
2025-05-06 14:48:07 +02:00
Nicolas Sarlin
d969fe94ab
refactor(shortint): wrap PbsOrder into AtomicPattern in ciphertext
2025-05-06 14:48:07 +02:00
David Testé
ce6454cbb1
chore(ci): ignore a shellcheck rule in actionlint analysis
2025-05-06 14:06:17 +02:00
David Testé
664311228f
chore(ci): pin dependencies that are directly downloaded
2025-05-06 14:06:17 +02:00
David Testé
1722d8e90e
chore(ci): use slab script to send benchmark results to database
2025-05-06 14:06:17 +02:00
David Testé
b570bcd568
chore(ci): add checksum on cuda-keyring download
2025-05-06 14:06:17 +02:00
David Testé
5321f759d7
chore(ci): remove dependencies install on gpu h100 tests
...
This is redundant with the use of gpu_setup.yml action.
2025-05-06 14:06:17 +02:00
David Testé
6237d2d7c3
chore(ci): upgrade actionlint to v1.7.7
...
Usage of bash script to download and extract the final binary has
been dropped.
Instead, the tarball is directly fetched according to the
ACTIONLINT_VERSION value and the integrity of the tarball is
checked with an hardcoded SHA256 sum.
2025-05-06 14:06:17 +02:00
David Testé
1ca14e6db0
chore(ci): add workflow security checks with zizmor
2025-05-06 14:06:17 +02:00
David Testé
eea36b1b3d
chore(ci): avoid sub workflow inheriting all available secrets
2025-05-06 14:06:17 +02:00
David Testé
76e76160ba
chore(ci): add missing persist-credentials arg on checkout
2025-05-06 14:06:17 +02:00
David Testé
3f3b4aef41
chore(ci): fix template-injection and token permissions issues
...
This is part of security issues remediation campaign after having
analyzed workflow using zizmor cargo tool.
2025-05-06 14:06:17 +02:00
Agnes Leroy
97690ab3bd
chore(gpu): write swap bench
2025-05-05 17:46:11 +02:00
Agnes Leroy
7e3a5fd55b
feat(gpu): add necessary entry points for 128 bit compression
2025-05-05 17:10:10 +02:00
Agnes Leroy
d9a3bd438f
docs(all): add hardware description in the summary bench page
2025-05-05 11:40:25 +02:00
Arthur Meyre
417bf2aac2
chore: fix clippy lint for aarch64 targets, use variables in format string
2025-04-30 14:34:18 +02:00
Nicolas Sarlin
0307a904ad
fix(core): remove additional body coeff in multi bit ms compression
2025-04-30 11:43:40 +02:00
Agnes Leroy
9eaa77ddef
feat(gpu): make all scratch functions return the amount of memory consumed for temporary buffers
2025-04-30 10:48:03 +02:00
Mayeul@Zama
eb31c3b8a1
chore(shortint): fix edge cases
2025-04-30 10:17:58 +02:00
David Testé
dc67ca721d
chore: update toolchain to 2025-04-28
2025-04-29 17:36:08 +02:00
David Testé
f5a52128e2
chore(ci): log action to perform on approval for external pr
...
External contributor don't have access to secrets so this workflow would fail when attempting to add/remove 'approved' label on pull-request from forks.
This simple log message is here to remind maintainers to handle 'approved' label manually to trigger the second CI pipeline.
2025-04-29 09:35:29 +02:00
Arthur Meyre
2cd16ac70a
chore: update CODEOWNERS for more paths
2025-04-28 16:30:15 +02:00
dependabot[bot]
1196ea69c1
chore(deps): bump actions/download-artifact from 4.2.1 to 4.3.0
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 4.2.1 to 4.3.0.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](95815c38cf...d3f86a106a )
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-version: 4.3.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-28 16:14:39 +02:00
Agnes Leroy
5996686d1f
fix(gpu): fix multi device execution with drift
2025-04-28 14:37:26 +02:00
Guspan Tanadi
80bfb4fecc
docs: heading hint note
2025-04-25 16:08:23 +02:00
Nicolas Sarlin
780ec9c3ca
chore(core): remove some pub(crate) in structs
2025-04-24 14:33:10 +02:00
Guillermo Oyarzun
25d1a4e4dd
chore(gpu): add nvtx tool for profiling
2025-04-24 13:57:16 +02:00
Pedro Alves
ffdaf6ad13
chore(gpu): removes the alias synchronize_threads_in_block()
2025-04-23 15:21:17 -03:00
David Testé
4352e9adb7
docs: fix typo
...
This error isn't caught by typos-cli tool.
2025-04-23 15:17:40 +02:00
David Testé
319504137a
chore(ci): factorize usage of slack env variables
2025-04-23 15:13:37 +02:00
David Testé
5b57470652
chore(ci): fix slack notify in case of cancelled step
...
If a step is cancelled, it is not considered as failure by GitHub. So if a user cancelled a task or if a job timed out, then no Slack notification was sent and devs weren't able to track down these events.
2025-04-23 15:13:37 +02:00
Arthur Meyre
e4ec27f30e
chore: add CODEOWNERS file to avoid unwanted changes to core_crypto source
2025-04-23 11:57:37 +02:00
Nicolas Sarlin
5179dce0a4
doc(core): fix badly closed tags in lwe_wopbs doc
2025-04-22 17:36:52 +02:00