summaryrefslogtreecommitdiff
path: root/internal/goaes.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/goaes.go')
-rw-r--r--internal/goaes.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/internal/goaes.go b/internal/goaes.go
index 7bc71f3..2afbbcf 100644
--- a/internal/goaes.go
+++ b/internal/goaes.go
@@ -74,7 +74,6 @@ func DecryptData(ct Ciphertext, dek DEK) ([]byte, error) {
return decryptAEAD([]byte(ct), []byte(dek), aadDataMsg)
}
-// encryptAEAD returns: nonce || ciphertext
func encryptAEAD(plaintext, key, aad []byte) ([]byte, error) {
if !validAESKeyLen(len(key)) {
return nil, errBadKeyLn