summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/mlkem/mlkem_internal.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* mlkem_generate_key_external_entropy: normalize sizeof() usetb2025-09-161-2/+2
|
* mlkem_public_to_private: fix overread/information leaktb2025-09-141-3/+3
| | | | | | | | | | | | After the guts of MLKEM_public_key were changed from a union to a struct, the aligner grew the struct, leaking as many bytes of private key data as the struct grew (on normal platforms that would be 2). Ideally this would all be a bit more robust. CID 621603 621604 ok jsing kenjiro
* Deduplicate the mlkem 768 and mlkem 1024 code.beck2025-09-051-0/+1286
This moves everything not public to mlkem_internal.c removing the old files and doing some further cleanup on the way. With this landed mlkem is out of my stack and can be changed without breaking my subsequent changes ok tb@