diff options
Diffstat (limited to 'internal/stupidgcm/openssl.go')
-rw-r--r-- | internal/stupidgcm/openssl.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/stupidgcm/openssl.go b/internal/stupidgcm/openssl.go index cb9845e..82ec0a1 100644 --- a/internal/stupidgcm/openssl.go +++ b/internal/stupidgcm/openssl.go @@ -108,3 +108,9 @@ func openSSLOpen(a *stupidAEADCommon, dst, iv, in, authData []byte) ([]byte, err } return append(dst, buf...), nil } + +// This functions exists to benchmark the C call overhead from Go. +// See BenchmarkCCall for resuts. +func noopCFunction() { + C.noop_c_function() +} |