You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are multiple instances where the eddilithium3 package incorrectly references "eddilithium4" in error messages. This appears to be a typo that needs to be corrected.
$ curl -s https://raw.githubusercontent.com/cloudflare/circl/v1.3.9/sign/eddilithium3/eddilithium.go | grep -A2 -B2 eddilithium4
func (pk *PublicKey) UnmarshalBinary(data []byte) error {
if len(data) != PublicKeySize {
return errors.New("packed public key must be of eddilithium4.PublicKeySize bytes")
}
var buf [PublicKeySize]byte
--
func (sk *PrivateKey) UnmarshalBinary(data []byte) error {
if len(data) != PrivateKeySize {
return errors.New("packed private key must be of eddilithium4.PrivateKeySize bytes")
}
var buf [PrivateKeySize]byte
--
ifopts.HashFunc() != crypto.Hash(0) {
return nil, errors.New("eddilithium4: cannot sign hashed message")
}
The text was updated successfully, but these errors were encountered:
There are multiple instances where the eddilithium3 package incorrectly references "eddilithium4" in error messages. This appears to be a typo that needs to be corrected.
The text was updated successfully, but these errors were encountered: