summaryrefslogtreecommitdiffstats
path: root/src/crypto/elliptic/export_generate.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/elliptic/export_generate.go')
-rw-r--r--src/crypto/elliptic/export_generate.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/crypto/elliptic/export_generate.go b/src/crypto/elliptic/export_generate.go
new file mode 100644
index 0000000..f15b302
--- /dev/null
+++ b/src/crypto/elliptic/export_generate.go
@@ -0,0 +1,16 @@
+// Copyright 2021 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+//go:build tablegen
+
+package elliptic
+
+// This block exports p256-related internals for the p256 table generator in internal/gen.
+var (
+ P256PointDoubleAsm = p256PointDoubleAsm
+ P256PointAddAsm = p256PointAddAsm
+ P256Inverse = p256Inverse
+ P256Sqr = p256Sqr
+ P256Mul = p256Mul
+)