aboutsummaryrefslogtreecommitdiff
path: root/internal/stupidgcm
diff options
context:
space:
mode:
authorJakob Unterwurzacher2022-08-28 11:11:36 +0200
committerJakob Unterwurzacher2022-08-28 11:11:36 +0200
commit003a7fa2e53ac15d2c94a34102ae12b69b23c586 (patch)
tree0235b74635bbc183cf11c11822d5d4b9a1cf5248 /internal/stupidgcm
parent4808adc761783e93d6b6d91a9ed4727089f66688 (diff)
make format
Diffstat (limited to 'internal/stupidgcm')
-rw-r--r--internal/stupidgcm/chacha.go1
-rw-r--r--internal/stupidgcm/chacha_test.go1
-rw-r--r--internal/stupidgcm/common.go1
-rw-r--r--internal/stupidgcm/common_test.go1
-rw-r--r--internal/stupidgcm/gcm.go1
-rw-r--r--internal/stupidgcm/gcm_test.go1
-rw-r--r--internal/stupidgcm/locking.go1
-rw-r--r--internal/stupidgcm/openssl.go1
-rw-r--r--internal/stupidgcm/without_openssl.go1
-rw-r--r--internal/stupidgcm/xchacha.go1
-rw-r--r--internal/stupidgcm/xchacha_test.go1
11 files changed, 11 insertions, 0 deletions
diff --git a/internal/stupidgcm/chacha.go b/internal/stupidgcm/chacha.go
index e09ed0b..de0c2e8 100644
--- a/internal/stupidgcm/chacha.go
+++ b/internal/stupidgcm/chacha.go
@@ -1,3 +1,4 @@
+//go:build !without_openssl
// +build !without_openssl
package stupidgcm
diff --git a/internal/stupidgcm/chacha_test.go b/internal/stupidgcm/chacha_test.go
index 5f803aa..542ff15 100644
--- a/internal/stupidgcm/chacha_test.go
+++ b/internal/stupidgcm/chacha_test.go
@@ -1,3 +1,4 @@
+//go:build !without_openssl
// +build !without_openssl
package stupidgcm
diff --git a/internal/stupidgcm/common.go b/internal/stupidgcm/common.go
index bb100eb..d88dc62 100644
--- a/internal/stupidgcm/common.go
+++ b/internal/stupidgcm/common.go
@@ -1,3 +1,4 @@
+//go:build !without_openssl
// +build !without_openssl
package stupidgcm
diff --git a/internal/stupidgcm/common_test.go b/internal/stupidgcm/common_test.go
index e5b14a4..7f38e90 100644
--- a/internal/stupidgcm/common_test.go
+++ b/internal/stupidgcm/common_test.go
@@ -1,3 +1,4 @@
+//go:build cgo && !without_openssl
// +build cgo,!without_openssl
package stupidgcm
diff --git a/internal/stupidgcm/gcm.go b/internal/stupidgcm/gcm.go
index 00819dd..2e5aac4 100644
--- a/internal/stupidgcm/gcm.go
+++ b/internal/stupidgcm/gcm.go
@@ -1,3 +1,4 @@
+//go:build !without_openssl
// +build !without_openssl
package stupidgcm
diff --git a/internal/stupidgcm/gcm_test.go b/internal/stupidgcm/gcm_test.go
index 73668fa..c730a87 100644
--- a/internal/stupidgcm/gcm_test.go
+++ b/internal/stupidgcm/gcm_test.go
@@ -1,3 +1,4 @@
+//go:build !without_openssl
// +build !without_openssl
// We compare against Go's built-in GCM implementation. Since stupidgcm only
diff --git a/internal/stupidgcm/locking.go b/internal/stupidgcm/locking.go
index 68ab509..04cf232 100644
--- a/internal/stupidgcm/locking.go
+++ b/internal/stupidgcm/locking.go
@@ -1,3 +1,4 @@
+//go:build !without_openssl
// +build !without_openssl
package stupidgcm
diff --git a/internal/stupidgcm/openssl.go b/internal/stupidgcm/openssl.go
index b46fba8..8c950f8 100644
--- a/internal/stupidgcm/openssl.go
+++ b/internal/stupidgcm/openssl.go
@@ -1,3 +1,4 @@
+//go:build !without_openssl
// +build !without_openssl
package stupidgcm
diff --git a/internal/stupidgcm/without_openssl.go b/internal/stupidgcm/without_openssl.go
index 42604de..fcef793 100644
--- a/internal/stupidgcm/without_openssl.go
+++ b/internal/stupidgcm/without_openssl.go
@@ -1,3 +1,4 @@
+//go:build without_openssl
// +build without_openssl
package stupidgcm
diff --git a/internal/stupidgcm/xchacha.go b/internal/stupidgcm/xchacha.go
index ca740e4..3c121ba 100644
--- a/internal/stupidgcm/xchacha.go
+++ b/internal/stupidgcm/xchacha.go
@@ -1,3 +1,4 @@
+//go:build !without_openssl
// +build !without_openssl
// Copyright 2018 The Go Authors. All rights reserved.
diff --git a/internal/stupidgcm/xchacha_test.go b/internal/stupidgcm/xchacha_test.go
index fdea8b5..676a023 100644
--- a/internal/stupidgcm/xchacha_test.go
+++ b/internal/stupidgcm/xchacha_test.go
@@ -1,3 +1,4 @@
+//go:build !without_openssl
// +build !without_openssl
package stupidgcm