aboutsummaryrefslogtreecommitdiff
path: root/internal/cryptocore
diff options
context:
space:
mode:
authorJakob Unterwurzacher2016-10-04 23:30:05 +0200
committerJakob Unterwurzacher2016-10-04 23:30:05 +0200
commita4956fa6bfde27c21f70e8577ebb586ccc9a3691 (patch)
treebf4cf674dee6bcb3287755cc4d15807e5c518d4e /internal/cryptocore
parentb764917cd5c1b1d61b8ce08e7af0b29793fbbb80 (diff)
A few more lint fixes
Diffstat (limited to 'internal/cryptocore')
-rw-r--r--internal/cryptocore/gcm_go1.4.go1
-rw-r--r--internal/cryptocore/gcm_go1.5.go1
2 files changed, 2 insertions, 0 deletions
diff --git a/internal/cryptocore/gcm_go1.4.go b/internal/cryptocore/gcm_go1.4.go
index 6b494d7..c1aa488 100644
--- a/internal/cryptocore/gcm_go1.4.go
+++ b/internal/cryptocore/gcm_go1.4.go
@@ -11,6 +11,7 @@ import (
)
const (
+ // HaveModernGoGCM indicates if Go GCM supports 128-bit nonces
HaveModernGoGCM = false
)
diff --git a/internal/cryptocore/gcm_go1.5.go b/internal/cryptocore/gcm_go1.5.go
index 6e67d21..3c38357 100644
--- a/internal/cryptocore/gcm_go1.5.go
+++ b/internal/cryptocore/gcm_go1.5.go
@@ -8,6 +8,7 @@ import (
)
const (
+ // HaveModernGoGCM indicates if Go GCM supports 128-bit nonces
HaveModernGoGCM = true
)