David Niehues
6f71767529
dev(ciphers): remove keyed hash module
2025-04-03 16:55:03 +02:00
Jan Winkelmann (keks)
38f371e3d7
Fix examples in Doc-Comments
2025-04-03 16:15:03 +02:00
Jan Winkelmann (keks)
2dba9205e7
Address Feedback
2025-04-03 16:14:55 +02:00
Jan Winkelmann (keks)
30c3de3f87
undo add submodule
2025-04-03 16:14:55 +02:00
Jan Winkelmann (keks)
b16619b1d3
fix doc example tests
2025-04-03 16:14:51 +02:00
Jan Winkelmann (keks)
576ad5f6d0
respect experiment_libcrux_blake2 feature flag
2025-04-03 16:14:47 +02:00
Jan Winkelmann (keks)
6494518460
add fine-grained features
2025-04-03 16:14:19 +02:00
Jan Winkelmann (keks)
185e92108e
add blake2 from libcrux
2025-04-03 16:14:19 +02:00
Jan Winkelmann (keks)
253243a8c8
add kyber512 from libcrux
2025-04-03 16:14:19 +02:00
Jan Winkelmann (keks)
075d9ffff3
update libcrux chachapoly to use libcrux-chacha20poly1305
2025-04-03 16:14:19 +02:00
Jan Winkelmann (keks)
01a1408044
address feedback
2025-04-03 16:12:44 +02:00
Jan Winkelmann (keks)
b84e0beae8
introduce traits for all the primitives and algorithms. A bit more cleanup.
2025-04-03 16:12:44 +02:00
Jan Winkelmann (keks)
949a3e4d23
Add &self receiver to KEM trait methods
2025-04-03 16:12:44 +02:00
Jan Winkelmann (keks)
d61b137761
update KEM trait
2025-04-03 16:12:44 +02:00
Jan Winkelmann (keks)
a1f41953b7
Reorganize the ciphers crate
2025-04-03 16:12:23 +02:00
Jan Winkelmann (keks)
46ebb6f46c
Remove algorithm traits for now
2025-04-03 16:11:55 +02:00
Jan Winkelmann (keks)
32ae8f7051
Rename hash selection enum to KeyedHash, restructure traits
2025-04-03 16:11:55 +02:00
Jan Winkelmann (keks)
b94ddd980d
remove superfluous associated types
2025-04-03 16:11:55 +02:00
Jan Winkelmann (keks)
44e46895aa
fmt
2025-04-03 15:57:43 +02:00
David Niehues
2ddd1488b3
doc(rosenpass): fix typo
2025-03-19 11:29:11 +01:00
David Niehues
c9aad280b2
test(rosenpass): adapt gen-ipc-msg-types to fully go through. Explicit test for SHAKE256 still missing
2025-03-19 11:29:11 +01:00
David Niehues
d7398d9bcf
doc(rosenpass): fix typo
2025-03-19 11:29:11 +01:00
David Niehues
6d25c13fd1
dev(ciphers): make the libcrux implementation of chachapoly return an error instead of panicking when decryption fails. This makes tests decryptions possible.
2025-03-19 11:29:11 +01:00
David Niehues
2d2d109246
dev(rosenpass): add support for the shake256 hash function in the rosenpass crate
2025-03-19 11:29:11 +01:00
David Niehues
30e158f594
dev(ciphers): change HashDomain and related structures to use EitherShakeOrBlake. Docu pending
2025-03-19 11:29:11 +01:00
David Niehues
cf74584f51
tests(ciphers): add rudimentary tests for the shake256 implementation
2025-03-19 11:29:11 +01:00
David Niehues
793cfd227f
dev(ciphers): provide EitherShakeOrBlake for 32 bytes KEY_LEN and 32 bytes of HASH_LEN based on SHAKE256 and the incorrect blake2b-hmac
2025-03-19 11:29:11 +01:00
David Niehues
54c8e91db4
doc(ciphers): fix typo in comment
2025-03-19 11:29:11 +01:00
David Niehues
1b0179e751
dev(ciphers): provide implementations of KeyedHash and KeyedHashInstance for the incorrect hmac for blake2b.
2025-03-19 11:29:11 +01:00
David Niehues
760ecdc457
dev(ciphers): add EitherHash enum and thus the functionality for choosing a hash function at runtime
2025-03-19 11:29:11 +01:00
David Niehues
6a9bbddde3
dev(ciphers): move blake2b.rs and incorrect_hmac_blake2b.rs to dedicated hash_functions directory
2025-03-19 11:29:11 +01:00
David Niehues
530f81b9d5
dev(ciphers): use InferredHash to provide KeyedHashInstance for SHAKE256
2025-03-19 11:29:11 +01:00
David Niehues
b96df1588c
dev(ciphers): add InferredKeyedHash to instantiate KeyedHashFunctions generically
2025-03-19 11:29:11 +01:00
David Niehues
5a2555a327
dev(ciphers): add implementation of shake256
2025-03-19 11:29:11 +01:00
David Niehues
ac3f21c4bd
dev: add sha3 dependency
2025-03-19 11:29:11 +01:00
David Niehues
b36d30d89d
dev(cipher-traits): add KeyedHash(Instance) traits
2025-03-19 11:29:11 +01:00
Paul Spooren
62fe529d36
ci(docker): Merge multi-platform job
...
Based on the Docker reference:
https://docs.docker.com/build/ci/github-actions/multi-platform/#distribute-build-across-multiple-runners
Signed-off-by: Paul Spooren <mail@aparcar.org >
2025-03-18 15:43:23 +01:00
Paul Spooren
76d01ffaf9
ci(docker): use GitHub native file change tracking
...
Don't pull in an external action but rely on GitHubs native way to
detect file changes. Also fix a logic flaw where a PR would try to push
an image (but never succeed due to missing secrets).
Co-authored-by: Benjamin Lipp <blipp@rosenpass.eu >
Signed-off-by: Paul Spooren <mail@aparcar.org >
2025-03-18 15:43:23 +01:00
Karolin Varner
576b17cd9c
feat(docker): change write permission on docker build workflow to have write permission to packages ( #616 )
2025-02-26 17:46:21 +01:00
Amin Faez
cbc1bb4be2
feat(docker): change write permission on docker build workflow and fix its change filter
2025-02-26 16:41:55 +01:00
Karolin Varner
c8a084157e
feat(docker): add .docker/Dockerfile, .docker/README.md and workflow building and publishing docker images ( #582 )
2025-02-26 15:50:17 +01:00
Amin Faez
09f1353dcc
feat(docker): rename .docker to docker
2025-02-26 15:44:05 +01:00
Amin Faez
43225c1fe8
feat(docker): fix docker build workflow conditional checks
2025-02-26 09:15:38 +01:00
Amin Faez
8e41cfc0b4
feat(docker): remove stray quote, check if docker related files changes before running workflow
2025-02-26 00:05:37 +01:00
Amin Faez
69538622b4
feat(docker): remove qemu from the second build and push job in the docker build workflow
2025-02-25 16:45:19 +01:00
Amin Faez
45a7c17cdd
feat(docker): fix runs on designation to ubuntu-24.04-arm
2025-02-25 16:22:29 +01:00
Amin Faez
b8ecdab8dc
feat(docker): docker build workflow integration test now compares the resulting key with sudo
2025-02-25 13:03:56 +01:00
Amin Faez
af9d83b472
feat(docker): change the docker integration test workflow to wait until the shared key file is generated
2025-02-25 12:56:30 +01:00
Amin Faez
f81e329a11
feat(docker): fix the integration test workflow
2025-02-25 12:33:29 +01:00
Amin Faez
5e2c72ef99
feat(docker): add integration test to the build docker images workflow
2025-02-25 12:19:45 +01:00