Files
hpke/internal/mlkemtest/mlkemtest_go1.26.go

17 lines
402 B
Go
Raw Permalink Normal View History

2026-03-06 23:52:07 +00:00
//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)
}