Add existing HPKE project files

This commit is contained in:
2026-03-06 23:52:07 +00:00
commit 534572b883
18 changed files with 4246 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
//go:build go1.26
package mlkemtest
import (
"crypto/mlkem"
"crypto/mlkem/mlkemtest"
)
func Encapsulate768(ek *mlkem.EncapsulationKey768, rand []byte) (sharedKey, ciphertext []byte, err error) {
return mlkemtest.Encapsulate768(ek, rand)
}
func Encapsulate1024(ek *mlkem.EncapsulationKey1024, rand []byte) (sharedKey, ciphertext []byte, err error) {
return mlkemtest.Encapsulate1024(ek, rand)
}