Skip to content

Commit 7af0fa4

Browse files
Rust wrapper: update dilithium module after review
1 parent 504617b commit 7af0fa4

4 files changed

Lines changed: 87 additions & 76 deletions

File tree

.github/workflows/rust-wrapper.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ jobs:
3838
# Add new configs here
3939
'',
4040
'--enable-all',
41+
'--enable-all --enable-dilithium',
4142
'--enable-cryptonly --disable-examples',
4243
'--enable-cryptonly --disable-examples --disable-aes --disable-aesgcm',
4344
'--enable-cryptonly --disable-examples --disable-aescbc',

wrapper/rust/wolfssl-wolfcrypt/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ fn scan_cfg() -> Result<()> {
325325
check_cfg(&binding, "DILITHIUM_LEVEL2_KEY_SIZE", "dilithium_level2");
326326
check_cfg(&binding, "DILITHIUM_LEVEL3_KEY_SIZE", "dilithium_level3");
327327
check_cfg(&binding, "DILITHIUM_LEVEL5_KEY_SIZE", "dilithium_level5");
328-
check_cfg(&binding, "DILITHIUM_PRIV_SEED_SZ", "dilithium_priv_seed_sz");
328+
check_cfg(&binding, "DILITHIUM_SEED_SZ", "dilithium_make_key_seed_sz");
329329
check_cfg(&binding, "DILITHIUM_RND_SZ", "dilithium_rnd_sz");
330330

331331
/* sha */

0 commit comments

Comments
 (0)