Skip to content

Commit

Permalink
The field is KeyLengths!
Browse files Browse the repository at this point in the history
  • Loading branch information
paaguti committed Dec 18, 2019
1 parent 9878a78 commit ac2ec38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/crypto/key_derivation.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func computeKeyAndIV(tls TLSExporter, label string) (key, iv []byte, err error)
//
// cs.keyLen and cs.ivLen has disappeared from mint
//
key = qhkdfExpand(secret, "key", cs.Keys["key"])
iv = qhkdfExpand(secret, "iv", cs.Keys["iv"])
key = qhkdfExpand(secret, "key", cs.KeyLengths["key"])
iv = qhkdfExpand(secret, "iv", cs.KeyLengths["iv"])
return key, iv, nil
}

0 comments on commit ac2ec38

Please sign in to comment.