Skip to content

Commit

Permalink
kem/mkem: constructor with nike scheme argument
Browse files Browse the repository at this point in the history
  • Loading branch information
david415 committed Nov 1, 2024
1 parent 5779fd0 commit cb0bef9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kem/mkem/mkem.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ type Scheme struct {
nike nike.Scheme
}

func NewScheme() *Scheme {
func NewScheme(scheme nike.Scheme) *Scheme {
return &Scheme{
nike: hybrid.CTIDH1024X25519,
nike: scheme,
}
}

Expand Down

0 comments on commit cb0bef9

Please # to comment.