Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions util/fipstools/acvp/acvptool/subprocess/ml_kem.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,10 @@ type mlKemEncapDecapTestGroup struct {
Type string `json:"testType"`
ParameterSet string `json:"parameterSet"`
Function string `json:"function"`
DK hexEncodedByteString `json:"dk"`
Tests []struct {
ID uint64 `json:"tcId"`
EK hexEncodedByteString `json:"ek"`
DK hexEncodedByteString `json:"dk"`
M hexEncodedByteString `json:"m"`
C hexEncodedByteString `json:"c"`
}
Expand Down Expand Up @@ -147,7 +147,7 @@ func processMlKemEncapDecap(vectors json.RawMessage, m Transactable) (interface{
case strings.EqualFold(group.Function, "encapsulation"):
testResponse, err = processMlKemEncapTestCase(test.ID, group.ParameterSet, test.EK, test.M, m)
case strings.EqualFold(group.Function, "decapsulation"):
testResponse, err = processMlKemDecapTestCase(test.ID, group.ParameterSet, group.DK, test.C, m)
testResponse, err = processMlKemDecapTestCase(test.ID, group.ParameterSet, test.DK, test.C, m)
default:
return nil, fmt.Errorf("unknown encDecap function: %v", group.Function)
}
Expand Down
Binary file modified util/fipstools/acvp/acvptool/test/expected/ML-KEM.bz2
Binary file not shown.
Binary file modified util/fipstools/acvp/acvptool/test/vectors/ML-KEM.bz2
Binary file not shown.
Loading