diff options
author | Jakob Unterwurzacher | 2017-09-17 11:42:46 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2017-09-17 11:42:46 +0200 |
commit | 0072a96f20c99bf386d8e3f63741def5a3945018 (patch) | |
tree | db2c08cae6ef29d8053acec3c527db3e5ca5725b /internal/siv_aead/siv_aead.go | |
parent | 885fdcabdacb2d53829e7f96f4c600df0a3e282d (diff) |
siv_aead: fix trivial typo in comment
Diffstat (limited to 'internal/siv_aead/siv_aead.go')
-rw-r--r-- | internal/siv_aead/siv_aead.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/siv_aead/siv_aead.go b/internal/siv_aead/siv_aead.go index 9b85fde..3cb42ab 100644 --- a/internal/siv_aead/siv_aead.go +++ b/internal/siv_aead/siv_aead.go @@ -47,7 +47,7 @@ func (s *sivAead) Overhead() int { return 16 } -// Seal encrypts "in" using "nonce" and "authData" and append the result to "dst" +// Seal encrypts "in" using "nonce" and "authData" and appends the result to "dst" func (s *sivAead) Seal(dst, nonce, plaintext, authData []byte) []byte { if len(nonce) != 16 { // SIV supports any nonce size, but in gocryptfs we exclusively use 16. @@ -65,7 +65,7 @@ func (s *sivAead) Seal(dst, nonce, plaintext, authData []byte) []byte { return out } -// Open decrypts "in" using "nonce" and "authData" and append the result to "dst" +// Open decrypts "in" using "nonce" and "authData" and appends the result to "dst" func (s *sivAead) Open(dst, nonce, ciphertext, authData []byte) ([]byte, error) { if len(nonce) != 16 { // SIV supports any nonce size, but in gocryptfs we exclusively use 16. |