From 0072a96f20c99bf386d8e3f63741def5a3945018 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sun, 17 Sep 2017 11:42:46 +0200 Subject: siv_aead: fix trivial typo in comment --- internal/siv_aead/siv_aead.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/siv_aead') 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. -- cgit v1.2.3