From e9ecff7f07aeb1efe0edec7b4b050ce3c0ef75f8 Mon Sep 17 00:00:00 2001 From: Yuta Hayashibe Date: Wed, 4 May 2022 18:06:20 +0900 Subject: Fix typos --- internal/stupidgcm/openssl.go | 2 +- internal/stupidgcm/prefer.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/stupidgcm') 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 } -- cgit v1.2.3