summaryrefslogtreecommitdiff
path: root/internal/cryptocore
diff options
context:
space:
mode:
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
)