summaryrefslogtreecommitdiff
path: root/internal/stupidgcm/openssl_aead.h
diff options
context:
space:
mode:
authorJakob Unterwurzacher2021-09-05 12:17:38 +0200
committerJakob Unterwurzacher2021-09-07 18:14:05 +0200
commit6a0206897c83e1f3e4539d6a6c77149167f49626 (patch)
tree595bd444c56beaa2c405a9ba518acf852e06c70e /internal/stupidgcm/openssl_aead.h
parenta2eaa5e3d1d9dfd8cf840076c215d253f82abf4b (diff)
stupidgcm: add BenchmarkCCall
gocryptfs/internal/stupidgcm$ go test -bench . goos: linux goarch: amd64 pkg: github.com/rfjakob/gocryptfs/v2/internal/stupidgcm cpu: Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz BenchmarkCCall-4 15864030 78.60 ns/op PASS ok github.com/rfjakob/gocryptfs/v2/internal/stupidgcm 1.898s
Diffstat (limited to 'internal/stupidgcm/openssl_aead.h')
-rw-r--r--internal/stupidgcm/openssl_aead.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/stupidgcm/openssl_aead.h b/internal/stupidgcm/openssl_aead.h
index 6a818b6..820beeb 100644
--- a/internal/stupidgcm/openssl_aead.h
+++ b/internal/stupidgcm/openssl_aead.h
@@ -27,3 +27,5 @@ int openssl_aead_open(
const int ivLen,
unsigned char* const plaintext,
const int plaintextBufLen);
+
+void noop_c_function(void);