Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use HPKE #220

Open
wants to merge 29 commits into
base: formatv2
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
73351ee
Crypto/HPKE: introduce DHKEM computation + tests
commial Aug 5, 2024
a3ee853
Crypto/hpke: wrap rust-hpke encapped-key and provides serialization
commial Aug 5, 2024
9f655b4
Crypto/hybrid: use DHKEM instead of old ECC, ephemeral pubkey for eac…
commial Aug 5, 2024
4abf764
Error: ECIES -> DHKEM
commial Aug 5, 2024
d5e23cb
Crypto: remove no more used ECC
commial Aug 5, 2024
f869512
HPKE: add Key scheduling / Encryption context methods & tests
commial Aug 12, 2024
e427413
Encrypt: switch to HPKE compute_nonce
commial Aug 12, 2024
8889475
Encrypt: apply HPKE to HybridKEM output -> key, nonce
commial Aug 12, 2024
04db37a
Encrypt: Zeroize on drop InternalEncryptionConfig
commial Aug 13, 2024
461d072
Encrypt: use HPKE to wrap/unwrap the intermediate recipient's shared …
commial Aug 13, 2024
f2aec20
HPKE: two distinct KEM are actually used, one per recipient, one for …
commial Aug 13, 2024
4d519f9
HPKE: apply @extiop suggestion
commial Aug 15, 2024
f69bfe1
clippy fix + gitignore update
extiop Nov 3, 2024
b84c5ab
Bump actions/download-artifact from 1 to 4.1.8
extiop Nov 3, 2024
f3a74f4
Bump actions/upload-artifact and actions/upload-release-asset too
extiop Nov 3, 2024
0bf543f
Fix cbindgen for C++ header change
extiop Nov 3, 2024
5685e15
Fix dry run for mlakey-parser
extiop Nov 4, 2024
71a3d65
curve25519_parser -> mlakey_parser
extiop Nov 4, 2024
5c30e0f
WIP update python bindings for pyO3 breaking changes
extiop Nov 4, 2024
20ae2ba
Added MLKEM keys handle in python bindings
extiop Nov 4, 2024
fe6ada2
More fixes for python bindings
extiop Nov 4, 2024
69224ab
rollback actions/upload-artifact cf. issues#478
extiop Nov 4, 2024
27f6847
MLKEM adds also for pytests
extiop Nov 4, 2024
90a8990
Update py-bindings workflow
extiop Nov 7, 2024
917b033
Actual fix for Py-bindings workflow
extiop Nov 7, 2024
1f69cca
Improvement in upload-artifact
extiop Nov 7, 2024
ce660ff
Fix C/C++ Linux bindings
extiop Nov 7, 2024
ba9b675
Fix C/C++ Windows bindings
extiop Nov 7, 2024
4eaf98d
Add all Cargo.lock
extiop Nov 11, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix C/C++ Linux bindings
extiop committed Nov 7, 2024
commit ce660ff93ca9c443ee9060e1db7d47bd2a2bdcf4
2 changes: 1 addition & 1 deletion bindings/C/tests/linux-gcc-g++/info.c
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@ int main()
MLAStatus status;

ArchiveInfo archive_info;
FILE *f = fopen("../../../../samples/archive_v1.mla", "r");
FILE *f = fopen("../../../../samples/archive_v2.mla", "r");
if (!f)
{
fprintf(stderr, " [!] Cannot open file: %d\n", errno);
2 changes: 1 addition & 1 deletion bindings/C/tests/linux-gcc-g++/open.c
Original file line number Diff line number Diff line change
@@ -122,7 +122,7 @@ int main()
return (int)status;
}

FILE *f = fopen("../../../../samples/archive_v1.mla", "r");
FILE *f = fopen("../../../../samples/archive_v2.mla", "r");
if (!f)
{
fprintf(stderr, " [!] Cannot open file: %d\n", errno);
Binary file added samples/archive_v2.mla
Binary file not shown.