summaryrefslogtreecommitdiffstats
path: root/src/crypto/internal/bigmod/nat_noasm.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/internal/bigmod/nat_noasm.go')
-rw-r--r--src/crypto/internal/bigmod/nat_noasm.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/crypto/internal/bigmod/nat_noasm.go b/src/crypto/internal/bigmod/nat_noasm.go
new file mode 100644
index 0000000..870b445
--- /dev/null
+++ b/src/crypto/internal/bigmod/nat_noasm.go
@@ -0,0 +1,11 @@
+// Copyright 2022 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 !amd64 || !gc || purego
+
+package bigmod
+
+func montgomeryLoop(d, a, b, m []uint, m0inv uint) uint {
+ return montgomeryLoopGeneric(d, a, b, m, m0inv)
+}