summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/engine/eng_ctrl.c
diff options
context:
space:
mode:
authortb <>2026-01-18 08:58:31 +0000
committertb <>2026-01-18 08:58:31 +0000
commit8c2e30618ba07e5c076d4f6492f61fe7dea05412 (patch)
treef35c74ff40142ea11b6d60d76ee01a14b327a9b6 /src/lib/libcrypto/engine/eng_ctrl.c
parent0b69c4a2b1ef8ad6b85503729d1bd0bc68541697 (diff)
downloadopenbsd-8c2e30618ba07e5c076d4f6492f61fe7dea05412.tar.gz
openbsd-8c2e30618ba07e5c076d4f6492f61fe7dea05412.tar.bz2
openbsd-8c2e30618ba07e5c076d4f6492f61fe7dea05412.zip
mlkem: fix mklem_{generate_key,encap}_external_entropy() declarations
The prototypes used sized arrays appropriate only for MLKEM768 while the declarations used pointers. For some reason clang doesn't flag this but gcc does. In any case it was wrong. The callers of these functions check that they pass in the correct size. Which is weird but the mlkem directory has an unbelievable amount of mess and bad code. found by/ok jsing
Diffstat (limited to 'src/lib/libcrypto/engine/eng_ctrl.c')
0 files changed, 0 insertions, 0 deletions