aboutsummaryrefslogtreecommitdiff
path: root/internal/contentenc/content.go
diff options
context:
space:
mode:
authorSebastian Lackner2018-12-27 12:03:00 +0100
committerrfjakob2018-12-27 15:19:55 +0100
commit874eaf9734cc10940e08f7b043652449e1e220b5 (patch)
tree1d58848741a2a78426b412fab51b22ee997d9f12 /internal/contentenc/content.go
parent4c2ff26457471cd36b25c29fb3f982b27002ce3c (diff)
Assorted spelling fixes.
Mostly detected with the 'codespell' utility, but also includes some manual grammar fixes.
Diffstat (limited to 'internal/contentenc/content.go')
-rw-r--r--internal/contentenc/content.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/contentenc/content.go b/internal/contentenc/content.go
index 57ad489..bda3fdc 100644
--- a/internal/contentenc/content.go
+++ b/internal/contentenc/content.go
@@ -151,7 +151,7 @@ func concatAD(blockNo uint64, fileID []byte) (aData []byte) {
// DecryptBlock - Verify and decrypt GCM block
//
// Corner case: A full-sized block of all-zero ciphertext bytes is translated
-// to an all-zero plaintext block, i.e. file hole passtrough.
+// to an all-zero plaintext block, i.e. file hole passthrough.
func (be *ContentEnc) DecryptBlock(ciphertext []byte, blockNo uint64, fileID []byte) ([]byte, error) {
// Empty block?