Skip to content

Commit 280f60c

Browse files
committed
remove outdated notes
1 parent ba6c14e commit 280f60c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

cng/mlkem.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -353,8 +353,6 @@ func GenerateKeyMLKEM1024() (DecapsulationKeyMLKEM1024, error) {
353353
}
354354

355355
// NewDecapsulationKeyMLKEM1024 constructs a decapsulation key from its serialized form.
356-
// Note: Unlike the stdlib crypto/mlkem which expects a 64-byte seed, this function
357-
// expects the full 3168-byte expanded key material as returned by Bytes().
358356
func NewDecapsulationKeyMLKEM1024(seed []byte) (DecapsulationKeyMLKEM1024, error) {
359357
if len(seed) != seedSizeMLKEM {
360358
return DecapsulationKeyMLKEM1024{}, errors.New("mlkem: invalid decapsulation key size")
@@ -366,8 +364,6 @@ func NewDecapsulationKeyMLKEM1024(seed []byte) (DecapsulationKeyMLKEM1024, error
366364
}
367365

368366
// Bytes returns the decapsulation key in its serialized form.
369-
// Note: Unlike the stdlib crypto/mlkem which returns a 64-byte seed, this returns
370-
// the full 3168-byte expanded key material.
371367
//
372368
// The decapsulation key must be kept secret.
373369
func (dk DecapsulationKeyMLKEM1024) Bytes() []byte {

0 commit comments

Comments
 (0)