aboutsummaryrefslogtreecommitdiff
path: root/internal/stupidgcm
diff options
context:
space:
mode:
Diffstat (limited to 'internal/stupidgcm')
-rw-r--r--internal/stupidgcm/openssl.go2
-rw-r--r--internal/stupidgcm/prefer.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/internal/stupidgcm/openssl.go b/internal/stupidgcm/openssl.go
index ae0ee5c..b46fba8 100644
--- a/internal/stupidgcm/openssl.go
+++ b/internal/stupidgcm/openssl.go
@@ -117,7 +117,7 @@ func slicePointerOrNull(s []byte) (ptr *C.uchar) {
}
// This functions exists to benchmark the C call overhead from Go.
-// See BenchmarkCCall for resuts.
+// See BenchmarkCCall for results.
func noopCFunction() {
C.noop_c_function()
}
diff --git a/internal/stupidgcm/prefer.go b/internal/stupidgcm/prefer.go
index bb613c3..fe8c613 100644
--- a/internal/stupidgcm/prefer.go
+++ b/internal/stupidgcm/prefer.go
@@ -40,7 +40,7 @@ func PreferOpenSSLXchacha20poly1305() bool {
if runtime.GOARCH == "amd64" {
return false
}
- // On arm64 and arm, OpenSSL is faster. Probably everwhere else too.
+ // On arm64 and arm, OpenSSL is faster. Probably everywhere else too.
return true
}