package mlkem
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Pure OCaml implementation of FIPS 203 ML-KEM
Install
dune-project
Dependency
Authors
Maintainers
Sources
v0.1.1.tar.gz
md5=20087fca24222c6de0db3a2d2b05f9c1
sha512=69bdfe62d0a93ff4dbe85280b7fd3db9970adbc36f52891f63e727a4eb32a19bfccf727a62d3740d4771522489cdcbb4feaa3537cdd9b183962252065674ed32
doc/mlkem.for_testing/Mlkem_for_testing/index.html
Module Mlkem_for_testingSource
Deterministic FIPS 203 entry points for known-answer testing only.
This library exposes test entropy and expanded decapsulation keys. It must not be used by production protocols. Use the corresponding module from Mlkem instead.
Internal hash entry points exposed for primitive known-answer tests.
Source
val encapsulate_512 :
encapsulation_key:string ->
randomness:string ->
(string * string, Mlkem.Mlkem512.error) resultSource
val decapsulate_512 :
expanded_decapsulation_key:string ->
ciphertext:string ->
(string, Mlkem.Mlkem512.error) resultReturns (expanded_decapsulation_key, encapsulation_key). Both d and z must be 32 bytes.
Source
val encapsulate_768 :
encapsulation_key:string ->
randomness:string ->
(string * string, Mlkem.Mlkem768.error) resultReturns (ciphertext, shared_secret) using the supplied 32-byte test randomness.
Source
val decapsulate_768 :
expanded_decapsulation_key:string ->
ciphertext:string ->
(string, Mlkem.Mlkem768.error) resultDecapsulates an ACVP-format 2400-byte key.
Source
val encapsulate_1024 :
encapsulation_key:string ->
randomness:string ->
(string * string, Mlkem.Mlkem1024.error) resultSource
val decapsulate_1024 :
expanded_decapsulation_key:string ->
ciphertext:string ->
(string, Mlkem.Mlkem1024.error) result sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>