Commit c295ca0
fix(wolfcrypt-wrapper): fix ctx_len type in dilithium verify ctx functions
wc_dilithium_verify_ctx_msg and wc_dilithium_verify_ctx_hash take
ctxLen as u8 (matching the 255-byte limit enforced above), but the
variables were cast to u32. Fix both to use u8, consistent with all
other ctx_len usages in this file.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 944b3c0 commit c295ca0
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1236 | 1236 | | |
1237 | 1237 | | |
1238 | 1238 | | |
1239 | | - | |
| 1239 | + | |
1240 | 1240 | | |
1241 | 1241 | | |
1242 | 1242 | | |
| |||
1282 | 1282 | | |
1283 | 1283 | | |
1284 | 1284 | | |
1285 | | - | |
| 1285 | + | |
1286 | 1286 | | |
1287 | 1287 | | |
1288 | 1288 | | |
| |||
0 commit comments