| 1 | //go:build go1.26 |
| 2 | |
| 3 | package mlkemtest |
| 4 | |
| 5 | import ( |
| 6 | "crypto/mlkem" |
| 7 | "crypto/mlkem/mlkemtest" |
| 8 | ) |
| 9 | |
| 10 | func Encapsulate768(ek *mlkem.EncapsulationKey768, rand []byte) (sharedKey, ciphertext []byte, err error) { |
| 11 | return mlkemtest.Encapsulate768(ek, rand) |
| 12 | } |
| 13 | |
| 14 | func Encapsulate1024(ek *mlkem.EncapsulationKey1024, rand []byte) (sharedKey, ciphertext []byte, err error) { |
| 15 | return mlkemtest.Encapsulate1024(ek, rand) |
| 16 | } |