Permalink
Browse files

fix small documentation issues

  • Loading branch information...
Conrado P. L. Gouvea
Conrado P. L. Gouvea committed May 16, 2018
1 parent 61ad13a commit 01965f667011756e801b0e2adf9dc49a4dd111c7
Showing with 2 additions and 2 deletions.
  1. +1 −1 go/block/block.go
  2. +1 −1 go/siv.go
View
@@ -15,7 +15,7 @@ const (
R = 0x87
)
// Block is a 128-byte array used by certain block ciphers (i.e. AES)
// Block is a 128-bit array used by certain block ciphers (i.e. AES)
type Block [Size]byte
// Clear zeroes out the contents of the block
View
@@ -105,7 +105,7 @@ func (c *Cipher) Overhead() int {
// associated data items, and appends the result to dst, returning the updated
// slice.
//
// The ciphertext and dst may alias exactly or not at all.
// The plaintext and dst may alias exactly or not at all.
//
// For nonce-based encryption, the nonce should be the last associated data item.
func (c *Cipher) Seal(dst []byte, plaintext []byte, data ...[]byte) ([]byte, error) {

0 comments on commit 01965f6

Please sign in to comment.