Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
qmuntal committed Nov 20, 2024
1 parent 1854fe1 commit a47a022
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hkdf.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ func ExtractHKDF(h func() hash.Hash, secret, salt []byte) ([]byte, error) {
}
}

// ExpandHKDFOneShot derives a key from the given hash, key, and optional context info,
// ExpandHKDFOneShot derives a key from the given hash, key, and optional context info.
func ExpandHKDFOneShot(h func() hash.Hash, pseudorandomKey, info []byte, keyLength int) ([]byte, error) {
if !SupportsHKDF() {
return nil, errUnsupportedVersion()
Expand Down

0 comments on commit a47a022

Please sign in to comment.