Skip to content

Commit

Permalink
revert unwanted change
Browse files Browse the repository at this point in the history
  • Loading branch information
fialhopm committed Jan 24, 2024
1 parent 16b1dee commit c442f6e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/ipmi/aes_128_cbc.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ func (a *AES128CBC) SerializeTo(b gopacket.SerializeBuffer, _ gopacket.Serialize
if _, err := rand.Read(iv); err != nil {
return err
}

// encrypt everything after IV
mode := cipher.NewCBCEncrypter(a.cipher, iv)
mode.CryptBlocks(toEncrypt, toEncrypt)
Expand Down

0 comments on commit c442f6e

Please sign in to comment.