aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/go/_std_1.21/src/crypto/internal
diff options
context:
space:
mode:
authorvyacheslavek <vyacheslavek@yandex-team.com>2024-01-19 18:02:30 +0300
committervyacheslavek <vyacheslavek@yandex-team.com>2024-01-19 18:16:29 +0300
commit2e2b97c2fa1d8cce987480a460d6c32493b6b4f3 (patch)
tree032b7f6d2ddcbe21835c645758d649e1cecf0ab3 /contrib/go/_std_1.21/src/crypto/internal
parentab74556342b7c8e57be23adb26bedffd1a0d37d9 (diff)
downloadydb-2e2b97c2fa1d8cce987480a460d6c32493b6b4f3.tar.gz
automation of go yamake update
ISSUE: update gen.py and generated yamake
Diffstat (limited to 'contrib/go/_std_1.21/src/crypto/internal')
-rw-r--r--contrib/go/_std_1.21/src/crypto/internal/alias/ya.make48
-rw-r--r--contrib/go/_std_1.21/src/crypto/internal/bigmod/ya.make68
-rw-r--r--contrib/go/_std_1.21/src/crypto/internal/boring/bbig/ya.make43
-rw-r--r--contrib/go/_std_1.21/src/crypto/internal/boring/bcache/ya.make58
-rw-r--r--contrib/go/_std_1.21/src/crypto/internal/boring/fipstls/ya.make0
-rw-r--r--contrib/go/_std_1.21/src/crypto/internal/boring/sig/ya.make54
-rw-r--r--contrib/go/_std_1.21/src/crypto/internal/boring/syso/ya.make0
-rw-r--r--contrib/go/_std_1.21/src/crypto/internal/boring/ya.make64
-rw-r--r--contrib/go/_std_1.21/src/crypto/internal/edwards25519/field/ya.make96
-rw-r--r--contrib/go/_std_1.21/src/crypto/internal/edwards25519/ya.make104
-rw-r--r--contrib/go/_std_1.21/src/crypto/internal/nistec/fiat/ya.make158
-rw-r--r--contrib/go/_std_1.21/src/crypto/internal/nistec/ya.make144
-rw-r--r--contrib/go/_std_1.21/src/crypto/internal/randutil/ya.make43
-rw-r--r--contrib/go/_std_1.21/src/crypto/internal/ya.make13
14 files changed, 735 insertions, 158 deletions
diff --git a/contrib/go/_std_1.21/src/crypto/internal/alias/ya.make b/contrib/go/_std_1.21/src/crypto/internal/alias/ya.make
index 2a4afa5e15..2af7fd4551 100644
--- a/contrib/go/_std_1.21/src/crypto/internal/alias/ya.make
+++ b/contrib/go/_std_1.21/src/crypto/internal/alias/ya.make
@@ -1,12 +1,42 @@
GO_LIBRARY()
+IF (FALSE)
+ MESSAGE(FATAL this shall never happen)
-SRCS(
- alias.go
-)
-
-GO_TEST_SRCS(alias_test.go)
-
+ELSEIF (OS_LINUX AND ARCH_X86_64)
+ SRCS(
+ alias.go
+ )
+ELSEIF (OS_LINUX AND ARCH_ARM64)
+ SRCS(
+ alias.go
+ )
+ELSEIF (OS_LINUX AND ARCH_AARCH64)
+ SRCS(
+ alias.go
+ )
+ELSEIF (OS_DARWIN AND ARCH_X86_64)
+ SRCS(
+ alias.go
+ )
+ELSEIF (OS_DARWIN AND ARCH_ARM64)
+ SRCS(
+ alias.go
+ )
+ELSEIF (OS_DARWIN AND ARCH_AARCH64)
+ SRCS(
+ alias.go
+ )
+ELSEIF (OS_WINDOWS AND ARCH_X86_64)
+ SRCS(
+ alias.go
+ )
+ELSEIF (OS_WINDOWS AND ARCH_ARM64)
+ SRCS(
+ alias.go
+ )
+ELSEIF (OS_WINDOWS AND ARCH_AARCH64)
+ SRCS(
+ alias.go
+ )
+ENDIF()
END()
-
-RECURSE(
-)
diff --git a/contrib/go/_std_1.21/src/crypto/internal/bigmod/ya.make b/contrib/go/_std_1.21/src/crypto/internal/bigmod/ya.make
index 3aff5955ad..ae122c3512 100644
--- a/contrib/go/_std_1.21/src/crypto/internal/bigmod/ya.make
+++ b/contrib/go/_std_1.21/src/crypto/internal/bigmod/ya.make
@@ -1,25 +1,65 @@
GO_LIBRARY()
+IF (FALSE)
+ MESSAGE(FATAL this shall never happen)
-SRCS(
- nat.go
- nat_asm.go
-)
-
-GO_TEST_SRCS(nat_test.go)
-
-IF (ARCH_X86_64)
+ELSEIF (OS_LINUX AND ARCH_X86_64)
SRCS(
- nat_amd64.s
+ nat.go
+ nat_amd64.s
+ nat_asm.go
)
-ENDIF()
-
-IF (ARCH_ARM64)
+ELSEIF (OS_LINUX AND ARCH_ARM64)
+ SRCS(
+ nat.go
+ nat_arm64.s
+ nat_asm.go
+ )
+ELSEIF (OS_LINUX AND ARCH_AARCH64)
+ SRCS(
+ nat.go
+ nat_arm64.s
+ nat_asm.go
+ )
+ELSEIF (OS_DARWIN AND ARCH_X86_64)
+ SRCS(
+ nat.go
+ nat_amd64.s
+ nat_asm.go
+ )
+ELSEIF (OS_DARWIN AND ARCH_ARM64)
SRCS(
- nat_arm64.s
+ nat.go
+ nat_arm64.s
+ nat_asm.go
+ )
+ELSEIF (OS_DARWIN AND ARCH_AARCH64)
+ SRCS(
+ nat.go
+ nat_arm64.s
+ nat_asm.go
+ )
+ELSEIF (OS_WINDOWS AND ARCH_X86_64)
+ SRCS(
+ nat.go
+ nat_amd64.s
+ nat_asm.go
+ )
+ELSEIF (OS_WINDOWS AND ARCH_ARM64)
+ SRCS(
+ nat.go
+ nat_arm64.s
+ nat_asm.go
+ )
+ELSEIF (OS_WINDOWS AND ARCH_AARCH64)
+ SRCS(
+ nat.go
+ nat_arm64.s
+ nat_asm.go
)
ENDIF()
-
END()
+
RECURSE(
+ # _asm
)
diff --git a/contrib/go/_std_1.21/src/crypto/internal/boring/bbig/ya.make b/contrib/go/_std_1.21/src/crypto/internal/boring/bbig/ya.make
index 762b87265e..abdeae0b29 100644
--- a/contrib/go/_std_1.21/src/crypto/internal/boring/bbig/ya.make
+++ b/contrib/go/_std_1.21/src/crypto/internal/boring/bbig/ya.make
@@ -1,7 +1,42 @@
GO_LIBRARY()
+IF (FALSE)
+ MESSAGE(FATAL this shall never happen)
-SRCS(
- big.go
-)
-
+ELSEIF (OS_LINUX AND ARCH_X86_64)
+ SRCS(
+ big.go
+ )
+ELSEIF (OS_LINUX AND ARCH_ARM64)
+ SRCS(
+ big.go
+ )
+ELSEIF (OS_LINUX AND ARCH_AARCH64)
+ SRCS(
+ big.go
+ )
+ELSEIF (OS_DARWIN AND ARCH_X86_64)
+ SRCS(
+ big.go
+ )
+ELSEIF (OS_DARWIN AND ARCH_ARM64)
+ SRCS(
+ big.go
+ )
+ELSEIF (OS_DARWIN AND ARCH_AARCH64)
+ SRCS(
+ big.go
+ )
+ELSEIF (OS_WINDOWS AND ARCH_X86_64)
+ SRCS(
+ big.go
+ )
+ELSEIF (OS_WINDOWS AND ARCH_ARM64)
+ SRCS(
+ big.go
+ )
+ELSEIF (OS_WINDOWS AND ARCH_AARCH64)
+ SRCS(
+ big.go
+ )
+ENDIF()
END()
diff --git a/contrib/go/_std_1.21/src/crypto/internal/boring/bcache/ya.make b/contrib/go/_std_1.21/src/crypto/internal/boring/bcache/ya.make
index 9e7974385f..d40b86492f 100644
--- a/contrib/go/_std_1.21/src/crypto/internal/boring/bcache/ya.make
+++ b/contrib/go/_std_1.21/src/crypto/internal/boring/bcache/ya.make
@@ -1,13 +1,51 @@
GO_LIBRARY()
+IF (FALSE)
+ MESSAGE(FATAL this shall never happen)
-SRCS(
- cache.go
- stub.s
-)
-
-GO_TEST_SRCS(cache_test.go)
-
+ELSEIF (OS_LINUX AND ARCH_X86_64)
+ SRCS(
+ cache.go
+ stub.s
+ )
+ELSEIF (OS_LINUX AND ARCH_ARM64)
+ SRCS(
+ cache.go
+ stub.s
+ )
+ELSEIF (OS_LINUX AND ARCH_AARCH64)
+ SRCS(
+ cache.go
+ stub.s
+ )
+ELSEIF (OS_DARWIN AND ARCH_X86_64)
+ SRCS(
+ cache.go
+ stub.s
+ )
+ELSEIF (OS_DARWIN AND ARCH_ARM64)
+ SRCS(
+ cache.go
+ stub.s
+ )
+ELSEIF (OS_DARWIN AND ARCH_AARCH64)
+ SRCS(
+ cache.go
+ stub.s
+ )
+ELSEIF (OS_WINDOWS AND ARCH_X86_64)
+ SRCS(
+ cache.go
+ stub.s
+ )
+ELSEIF (OS_WINDOWS AND ARCH_ARM64)
+ SRCS(
+ cache.go
+ stub.s
+ )
+ELSEIF (OS_WINDOWS AND ARCH_AARCH64)
+ SRCS(
+ cache.go
+ stub.s
+ )
+ENDIF()
END()
-
-RECURSE(
-)
diff --git a/contrib/go/_std_1.21/src/crypto/internal/boring/fipstls/ya.make b/contrib/go/_std_1.21/src/crypto/internal/boring/fipstls/ya.make
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/contrib/go/_std_1.21/src/crypto/internal/boring/fipstls/ya.make
diff --git a/contrib/go/_std_1.21/src/crypto/internal/boring/sig/ya.make b/contrib/go/_std_1.21/src/crypto/internal/boring/sig/ya.make
index d23e74bdf2..1f065bec13 100644
--- a/contrib/go/_std_1.21/src/crypto/internal/boring/sig/ya.make
+++ b/contrib/go/_std_1.21/src/crypto/internal/boring/sig/ya.make
@@ -1,19 +1,51 @@
GO_LIBRARY()
+IF (FALSE)
+ MESSAGE(FATAL this shall never happen)
-SRCS(
- sig.go
-)
-
-IF (ARCH_X86_64)
+ELSEIF (OS_LINUX AND ARCH_X86_64)
SRCS(
- sig_amd64.s
+ sig.go
+ sig_amd64.s
)
-ENDIF()
-
-IF (ARCH_ARM64)
+ELSEIF (OS_LINUX AND ARCH_ARM64)
+ SRCS(
+ sig.go
+ sig_other.s
+ )
+ELSEIF (OS_LINUX AND ARCH_AARCH64)
+ SRCS(
+ sig.go
+ sig_other.s
+ )
+ELSEIF (OS_DARWIN AND ARCH_X86_64)
+ SRCS(
+ sig.go
+ sig_amd64.s
+ )
+ELSEIF (OS_DARWIN AND ARCH_ARM64)
SRCS(
- sig_other.s
+ sig.go
+ sig_other.s
+ )
+ELSEIF (OS_DARWIN AND ARCH_AARCH64)
+ SRCS(
+ sig.go
+ sig_other.s
+ )
+ELSEIF (OS_WINDOWS AND ARCH_X86_64)
+ SRCS(
+ sig.go
+ sig_amd64.s
+ )
+ELSEIF (OS_WINDOWS AND ARCH_ARM64)
+ SRCS(
+ sig.go
+ sig_other.s
+ )
+ELSEIF (OS_WINDOWS AND ARCH_AARCH64)
+ SRCS(
+ sig.go
+ sig_other.s
)
ENDIF()
-
END()
diff --git a/contrib/go/_std_1.21/src/crypto/internal/boring/syso/ya.make b/contrib/go/_std_1.21/src/crypto/internal/boring/syso/ya.make
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/contrib/go/_std_1.21/src/crypto/internal/boring/syso/ya.make
diff --git a/contrib/go/_std_1.21/src/crypto/internal/boring/ya.make b/contrib/go/_std_1.21/src/crypto/internal/boring/ya.make
index acdd9ce54d..121540a053 100644
--- a/contrib/go/_std_1.21/src/crypto/internal/boring/ya.make
+++ b/contrib/go/_std_1.21/src/crypto/internal/boring/ya.make
@@ -1,16 +1,60 @@
GO_LIBRARY()
+IF (FALSE)
+ MESSAGE(FATAL this shall never happen)
-SRCS(
- doc.go
- notboring.go
-)
-
-GO_TEST_SRCS(boring_test.go)
-
+ELSEIF (OS_LINUX AND ARCH_X86_64)
+ SRCS(
+ doc.go
+ notboring.go
+ )
+ELSEIF (OS_LINUX AND ARCH_ARM64)
+ SRCS(
+ doc.go
+ notboring.go
+ )
+ELSEIF (OS_LINUX AND ARCH_AARCH64)
+ SRCS(
+ doc.go
+ notboring.go
+ )
+ELSEIF (OS_DARWIN AND ARCH_X86_64)
+ SRCS(
+ doc.go
+ notboring.go
+ )
+ELSEIF (OS_DARWIN AND ARCH_ARM64)
+ SRCS(
+ doc.go
+ notboring.go
+ )
+ELSEIF (OS_DARWIN AND ARCH_AARCH64)
+ SRCS(
+ doc.go
+ notboring.go
+ )
+ELSEIF (OS_WINDOWS AND ARCH_X86_64)
+ SRCS(
+ doc.go
+ notboring.go
+ )
+ELSEIF (OS_WINDOWS AND ARCH_ARM64)
+ SRCS(
+ doc.go
+ notboring.go
+ )
+ELSEIF (OS_WINDOWS AND ARCH_AARCH64)
+ SRCS(
+ doc.go
+ notboring.go
+ )
+ENDIF()
END()
+
RECURSE(
- bbig
- bcache
- sig
+ bbig
+ bcache
+ fipstls
+ sig
+ syso
)
diff --git a/contrib/go/_std_1.21/src/crypto/internal/edwards25519/field/ya.make b/contrib/go/_std_1.21/src/crypto/internal/edwards25519/field/ya.make
index 2b1b5825c7..55a250e3ad 100644
--- a/contrib/go/_std_1.21/src/crypto/internal/edwards25519/field/ya.make
+++ b/contrib/go/_std_1.21/src/crypto/internal/edwards25519/field/ya.make
@@ -1,37 +1,83 @@
GO_LIBRARY()
+IF (FALSE)
+ MESSAGE(FATAL this shall never happen)
-SRCS(
- fe.go
- fe_generic.go
-)
-
-GO_TEST_SRCS(
- fe_alias_test.go
- fe_bench_test.go
- fe_test.go
-)
-
-IF (ARCH_X86_64)
+ELSEIF (OS_LINUX AND ARCH_X86_64)
SRCS(
- fe_amd64.go
- fe_amd64.s
- fe_arm64_noasm.go
+ fe.go
+ fe_amd64.go
+ fe_amd64.s
+ fe_arm64_noasm.go
+ fe_generic.go
)
-ENDIF()
-
-IF (ARCH_ARM64)
+ELSEIF (OS_LINUX AND ARCH_ARM64)
+ SRCS(
+ fe.go
+ fe_amd64_noasm.go
+ fe_arm64.go
+ fe_arm64.s
+ fe_generic.go
+ )
+ELSEIF (OS_LINUX AND ARCH_AARCH64)
+ SRCS(
+ fe.go
+ fe_amd64_noasm.go
+ fe_arm64.go
+ fe_arm64.s
+ fe_generic.go
+ )
+ELSEIF (OS_DARWIN AND ARCH_X86_64)
+ SRCS(
+ fe.go
+ fe_amd64.go
+ fe_amd64.s
+ fe_arm64_noasm.go
+ fe_generic.go
+ )
+ELSEIF (OS_DARWIN AND ARCH_ARM64)
SRCS(
- fe_amd64_noasm.go
- fe_arm64.go
- fe_arm64.s
+ fe.go
+ fe_amd64_noasm.go
+ fe_arm64.go
+ fe_arm64.s
+ fe_generic.go
+ )
+ELSEIF (OS_DARWIN AND ARCH_AARCH64)
+ SRCS(
+ fe.go
+ fe_amd64_noasm.go
+ fe_arm64.go
+ fe_arm64.s
+ fe_generic.go
+ )
+ELSEIF (OS_WINDOWS AND ARCH_X86_64)
+ SRCS(
+ fe.go
+ fe_amd64.go
+ fe_amd64.s
+ fe_arm64_noasm.go
+ fe_generic.go
+ )
+ELSEIF (OS_WINDOWS AND ARCH_ARM64)
+ SRCS(
+ fe.go
+ fe_amd64_noasm.go
+ fe_arm64.go
+ fe_arm64.s
+ fe_generic.go
+ )
+ELSEIF (OS_WINDOWS AND ARCH_AARCH64)
+ SRCS(
+ fe.go
+ fe_amd64_noasm.go
+ fe_arm64.go
+ fe_arm64.s
+ fe_generic.go
)
ENDIF()
-
END()
-RECURSE(
-)
RECURSE(
- # _asm
+ # _asm
)
diff --git a/contrib/go/_std_1.21/src/crypto/internal/edwards25519/ya.make b/contrib/go/_std_1.21/src/crypto/internal/edwards25519/ya.make
index db3dacfdeb..212853da3c 100644
--- a/contrib/go/_std_1.21/src/crypto/internal/edwards25519/ya.make
+++ b/contrib/go/_std_1.21/src/crypto/internal/edwards25519/ya.make
@@ -1,24 +1,92 @@
GO_LIBRARY()
+IF (FALSE)
+ MESSAGE(FATAL this shall never happen)
-SRCS(
- doc.go
- edwards25519.go
- scalar.go
- scalar_fiat.go
- scalarmult.go
- tables.go
-)
-
-GO_TEST_SRCS(
- edwards25519_test.go
- scalar_alias_test.go
- scalar_test.go
- scalarmult_test.go
- tables_test.go
-)
-
+ELSEIF (OS_LINUX AND ARCH_X86_64)
+ SRCS(
+ doc.go
+ edwards25519.go
+ scalar.go
+ scalar_fiat.go
+ scalarmult.go
+ tables.go
+ )
+ELSEIF (OS_LINUX AND ARCH_ARM64)
+ SRCS(
+ doc.go
+ edwards25519.go
+ scalar.go
+ scalar_fiat.go
+ scalarmult.go
+ tables.go
+ )
+ELSEIF (OS_LINUX AND ARCH_AARCH64)
+ SRCS(
+ doc.go
+ edwards25519.go
+ scalar.go
+ scalar_fiat.go
+ scalarmult.go
+ tables.go
+ )
+ELSEIF (OS_DARWIN AND ARCH_X86_64)
+ SRCS(
+ doc.go
+ edwards25519.go
+ scalar.go
+ scalar_fiat.go
+ scalarmult.go
+ tables.go
+ )
+ELSEIF (OS_DARWIN AND ARCH_ARM64)
+ SRCS(
+ doc.go
+ edwards25519.go
+ scalar.go
+ scalar_fiat.go
+ scalarmult.go
+ tables.go
+ )
+ELSEIF (OS_DARWIN AND ARCH_AARCH64)
+ SRCS(
+ doc.go
+ edwards25519.go
+ scalar.go
+ scalar_fiat.go
+ scalarmult.go
+ tables.go
+ )
+ELSEIF (OS_WINDOWS AND ARCH_X86_64)
+ SRCS(
+ doc.go
+ edwards25519.go
+ scalar.go
+ scalar_fiat.go
+ scalarmult.go
+ tables.go
+ )
+ELSEIF (OS_WINDOWS AND ARCH_ARM64)
+ SRCS(
+ doc.go
+ edwards25519.go
+ scalar.go
+ scalar_fiat.go
+ scalarmult.go
+ tables.go
+ )
+ELSEIF (OS_WINDOWS AND ARCH_AARCH64)
+ SRCS(
+ doc.go
+ edwards25519.go
+ scalar.go
+ scalar_fiat.go
+ scalarmult.go
+ tables.go
+ )
+ENDIF()
END()
+
RECURSE(
- field
+ field
)
diff --git a/contrib/go/_std_1.21/src/crypto/internal/nistec/fiat/ya.make b/contrib/go/_std_1.21/src/crypto/internal/nistec/fiat/ya.make
index 4f2b792aa5..e17ddb7e4b 100644
--- a/contrib/go/_std_1.21/src/crypto/internal/nistec/fiat/ya.make
+++ b/contrib/go/_std_1.21/src/crypto/internal/nistec/fiat/ya.make
@@ -1,23 +1,141 @@
GO_LIBRARY()
+IF (FALSE)
+ MESSAGE(FATAL this shall never happen)
-SRCS(
- p224.go
- p224_fiat64.go
- p224_invert.go
- p256.go
- p256_fiat64.go
- p256_invert.go
- p384.go
- p384_fiat64.go
- p384_invert.go
- p521.go
- p521_fiat64.go
- p521_invert.go
-)
-
-GO_XTEST_SRCS(fiat_test.go)
-
+ELSEIF (OS_LINUX AND ARCH_X86_64)
+ SRCS(
+ p224.go
+ p224_fiat64.go
+ p224_invert.go
+ p256.go
+ p256_fiat64.go
+ p256_invert.go
+ p384.go
+ p384_fiat64.go
+ p384_invert.go
+ p521.go
+ p521_fiat64.go
+ p521_invert.go
+ )
+ELSEIF (OS_LINUX AND ARCH_ARM64)
+ SRCS(
+ p224.go
+ p224_fiat64.go
+ p224_invert.go
+ p256.go
+ p256_fiat64.go
+ p256_invert.go
+ p384.go
+ p384_fiat64.go
+ p384_invert.go
+ p521.go
+ p521_fiat64.go
+ p521_invert.go
+ )
+ELSEIF (OS_LINUX AND ARCH_AARCH64)
+ SRCS(
+ p224.go
+ p224_fiat64.go
+ p224_invert.go
+ p256.go
+ p256_fiat64.go
+ p256_invert.go
+ p384.go
+ p384_fiat64.go
+ p384_invert.go
+ p521.go
+ p521_fiat64.go
+ p521_invert.go
+ )
+ELSEIF (OS_DARWIN AND ARCH_X86_64)
+ SRCS(
+ p224.go
+ p224_fiat64.go
+ p224_invert.go
+ p256.go
+ p256_fiat64.go
+ p256_invert.go
+ p384.go
+ p384_fiat64.go
+ p384_invert.go
+ p521.go
+ p521_fiat64.go
+ p521_invert.go
+ )
+ELSEIF (OS_DARWIN AND ARCH_ARM64)
+ SRCS(
+ p224.go
+ p224_fiat64.go
+ p224_invert.go
+ p256.go
+ p256_fiat64.go
+ p256_invert.go
+ p384.go
+ p384_fiat64.go
+ p384_invert.go
+ p521.go
+ p521_fiat64.go
+ p521_invert.go
+ )
+ELSEIF (OS_DARWIN AND ARCH_AARCH64)
+ SRCS(
+ p224.go
+ p224_fiat64.go
+ p224_invert.go
+ p256.go
+ p256_fiat64.go
+ p256_invert.go
+ p384.go
+ p384_fiat64.go
+ p384_invert.go
+ p521.go
+ p521_fiat64.go
+ p521_invert.go
+ )
+ELSEIF (OS_WINDOWS AND ARCH_X86_64)
+ SRCS(
+ p224.go
+ p224_fiat64.go
+ p224_invert.go
+ p256.go
+ p256_fiat64.go
+ p256_invert.go
+ p384.go
+ p384_fiat64.go
+ p384_invert.go
+ p521.go
+ p521_fiat64.go
+ p521_invert.go
+ )
+ELSEIF (OS_WINDOWS AND ARCH_ARM64)
+ SRCS(
+ p224.go
+ p224_fiat64.go
+ p224_invert.go
+ p256.go
+ p256_fiat64.go
+ p256_invert.go
+ p384.go
+ p384_fiat64.go
+ p384_invert.go
+ p521.go
+ p521_fiat64.go
+ p521_invert.go
+ )
+ELSEIF (OS_WINDOWS AND ARCH_AARCH64)
+ SRCS(
+ p224.go
+ p224_fiat64.go
+ p224_invert.go
+ p256.go
+ p256_fiat64.go
+ p256_invert.go
+ p384.go
+ p384_fiat64.go
+ p384_invert.go
+ p521.go
+ p521_fiat64.go
+ p521_invert.go
+ )
+ENDIF()
END()
-
-RECURSE(
-)
diff --git a/contrib/go/_std_1.21/src/crypto/internal/nistec/ya.make b/contrib/go/_std_1.21/src/crypto/internal/nistec/ya.make
index 90fcdd7c9e..24053e723a 100644
--- a/contrib/go/_std_1.21/src/crypto/internal/nistec/ya.make
+++ b/contrib/go/_std_1.21/src/crypto/internal/nistec/ya.make
@@ -1,38 +1,128 @@
GO_LIBRARY()
+IF (FALSE)
+ MESSAGE(FATAL this shall never happen)
-SRCS(
- nistec.go
- p224.go
- p224_sqrt.go
- p256_asm.go
- p256_ordinv.go
- p384.go
- p521.go
-)
-
-GO_TEST_SRCS(p256_asm_table_test.go)
-
-GO_XTEST_SRCS(
- nistec_test.go
- p256_ordinv_test.go
-)
-
-IF (ARCH_X86_64)
+ELSEIF (OS_LINUX AND ARCH_X86_64)
SRCS(
- p256_asm_amd64.s
+ nistec.go
+ p224.go
+ p224_sqrt.go
+ p256_asm.go
+ p256_asm_amd64.s
+ p256_ordinv.go
+ p384.go
+ p521.go
)
-ENDIF()
-
-IF (ARCH_ARM64)
+
+ GO_EMBED_PATTERN(p256_asm_table.bin)
+ELSEIF (OS_LINUX AND ARCH_ARM64)
+ SRCS(
+ nistec.go
+ p224.go
+ p224_sqrt.go
+ p256_asm.go
+ p256_asm_arm64.s
+ p256_ordinv.go
+ p384.go
+ p521.go
+ )
+
+ GO_EMBED_PATTERN(p256_asm_table.bin)
+ELSEIF (OS_LINUX AND ARCH_AARCH64)
+ SRCS(
+ nistec.go
+ p224.go
+ p224_sqrt.go
+ p256_asm.go
+ p256_asm_arm64.s
+ p256_ordinv.go
+ p384.go
+ p521.go
+ )
+
+ GO_EMBED_PATTERN(p256_asm_table.bin)
+ELSEIF (OS_DARWIN AND ARCH_X86_64)
+ SRCS(
+ nistec.go
+ p224.go
+ p224_sqrt.go
+ p256_asm.go
+ p256_asm_amd64.s
+ p256_ordinv.go
+ p384.go
+ p521.go
+ )
+
+ GO_EMBED_PATTERN(p256_asm_table.bin)
+ELSEIF (OS_DARWIN AND ARCH_ARM64)
+ SRCS(
+ nistec.go
+ p224.go
+ p224_sqrt.go
+ p256_asm.go
+ p256_asm_arm64.s
+ p256_ordinv.go
+ p384.go
+ p521.go
+ )
+
+ GO_EMBED_PATTERN(p256_asm_table.bin)
+ELSEIF (OS_DARWIN AND ARCH_AARCH64)
+ SRCS(
+ nistec.go
+ p224.go
+ p224_sqrt.go
+ p256_asm.go
+ p256_asm_arm64.s
+ p256_ordinv.go
+ p384.go
+ p521.go
+ )
+
+ GO_EMBED_PATTERN(p256_asm_table.bin)
+ELSEIF (OS_WINDOWS AND ARCH_X86_64)
+ SRCS(
+ nistec.go
+ p224.go
+ p224_sqrt.go
+ p256_asm.go
+ p256_asm_amd64.s
+ p256_ordinv.go
+ p384.go
+ p521.go
+ )
+
+ GO_EMBED_PATTERN(p256_asm_table.bin)
+ELSEIF (OS_WINDOWS AND ARCH_ARM64)
+ SRCS(
+ nistec.go
+ p224.go
+ p224_sqrt.go
+ p256_asm.go
+ p256_asm_arm64.s
+ p256_ordinv.go
+ p384.go
+ p521.go
+ )
+
+ GO_EMBED_PATTERN(p256_asm_table.bin)
+ELSEIF (OS_WINDOWS AND ARCH_AARCH64)
SRCS(
- p256_asm_arm64.s
+ nistec.go
+ p224.go
+ p224_sqrt.go
+ p256_asm.go
+ p256_asm_arm64.s
+ p256_ordinv.go
+ p384.go
+ p521.go
)
+
+ GO_EMBED_PATTERN(p256_asm_table.bin)
ENDIF()
-
-GO_EMBED_PATTERN(p256_asm_table.bin)
-
END()
+
RECURSE(
- fiat
+ fiat
)
diff --git a/contrib/go/_std_1.21/src/crypto/internal/randutil/ya.make b/contrib/go/_std_1.21/src/crypto/internal/randutil/ya.make
index 070825d9f3..931334b636 100644
--- a/contrib/go/_std_1.21/src/crypto/internal/randutil/ya.make
+++ b/contrib/go/_std_1.21/src/crypto/internal/randutil/ya.make
@@ -1,7 +1,42 @@
GO_LIBRARY()
+IF (FALSE)
+ MESSAGE(FATAL this shall never happen)
-SRCS(
- randutil.go
-)
-
+ELSEIF (OS_LINUX AND ARCH_X86_64)
+ SRCS(
+ randutil.go
+ )
+ELSEIF (OS_LINUX AND ARCH_ARM64)
+ SRCS(
+ randutil.go
+ )
+ELSEIF (OS_LINUX AND ARCH_AARCH64)
+ SRCS(
+ randutil.go
+ )
+ELSEIF (OS_DARWIN AND ARCH_X86_64)
+ SRCS(
+ randutil.go
+ )
+ELSEIF (OS_DARWIN AND ARCH_ARM64)
+ SRCS(
+ randutil.go
+ )
+ELSEIF (OS_DARWIN AND ARCH_AARCH64)
+ SRCS(
+ randutil.go
+ )
+ELSEIF (OS_WINDOWS AND ARCH_X86_64)
+ SRCS(
+ randutil.go
+ )
+ELSEIF (OS_WINDOWS AND ARCH_ARM64)
+ SRCS(
+ randutil.go
+ )
+ELSEIF (OS_WINDOWS AND ARCH_AARCH64)
+ SRCS(
+ randutil.go
+ )
+ENDIF()
END()
diff --git a/contrib/go/_std_1.21/src/crypto/internal/ya.make b/contrib/go/_std_1.21/src/crypto/internal/ya.make
index 72a1f578a2..7feea64606 100644
--- a/contrib/go/_std_1.21/src/crypto/internal/ya.make
+++ b/contrib/go/_std_1.21/src/crypto/internal/ya.make
@@ -1,8 +1,9 @@
+
RECURSE(
- alias
- bigmod
- boring
- edwards25519
- nistec
- randutil
+ alias
+ bigmod
+ boring
+ edwards25519
+ nistec
+ randutil
)