aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/digest
diff options
context:
space:
mode:
authoralexv-smirnov <alex@ydb.tech>2023-03-15 19:59:12 +0300
committeralexv-smirnov <alex@ydb.tech>2023-03-15 19:59:12 +0300
commit056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11 (patch)
tree4740980126f32e3af7937ba0ca5f83e59baa4ab0 /library/cpp/digest
parent269126dcced1cc8b53eb4398b4a33e5142f10290 (diff)
downloadydb-056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11.tar.gz
add library/cpp/actors, ymake build to ydb oss export
Diffstat (limited to 'library/cpp/digest')
-rw-r--r--library/cpp/digest/argonish/benchmark/ya.make11
-rw-r--r--library/cpp/digest/argonish/internal/argon2/ya.make9
-rw-r--r--library/cpp/digest/argonish/internal/blake2b/ya.make7
-rw-r--r--library/cpp/digest/argonish/internal/blamka/ya.make7
-rw-r--r--library/cpp/digest/argonish/internal/proxies/avx2/ya.make16
-rw-r--r--library/cpp/digest/argonish/internal/proxies/macro/ya.make3
-rw-r--r--library/cpp/digest/argonish/internal/proxies/ref/ya.make15
-rw-r--r--library/cpp/digest/argonish/internal/proxies/sse2/ya.make16
-rw-r--r--library/cpp/digest/argonish/internal/proxies/sse41/ya.make16
-rw-r--r--library/cpp/digest/argonish/internal/proxies/ssse3/ya.make17
-rw-r--r--library/cpp/digest/argonish/internal/rotations/ya.make3
-rw-r--r--library/cpp/digest/argonish/ut/ya.make11
-rw-r--r--library/cpp/digest/argonish/ut_fat/ya.make19
-rw-r--r--library/cpp/digest/argonish/ya.make29
-rw-r--r--library/cpp/digest/crc32c/ut/ya.make7
-rw-r--r--library/cpp/digest/crc32c/ya.make16
-rw-r--r--library/cpp/digest/lower_case/ut/ya.make8
-rw-r--r--library/cpp/digest/lower_case/ya.make13
-rw-r--r--library/cpp/digest/md5/bench/ya.make11
-rw-r--r--library/cpp/digest/md5/medium_ut/ya.make13
-rw-r--r--library/cpp/digest/md5/ut/ya.make7
-rw-r--r--library/cpp/digest/md5/ya.make18
-rw-r--r--library/cpp/digest/murmur/ut/ya.make13
-rw-r--r--library/cpp/digest/murmur/ya.make11
-rw-r--r--library/cpp/digest/old_crc/gencrc/ya.make7
-rw-r--r--library/cpp/digest/old_crc/ut/ya.make7
-rw-r--r--library/cpp/digest/old_crc/ya.make17
-rw-r--r--library/cpp/digest/sfh/ut/ya.make7
-rw-r--r--library/cpp/digest/sfh/ya.make11
29 files changed, 345 insertions, 0 deletions
diff --git a/library/cpp/digest/argonish/benchmark/ya.make b/library/cpp/digest/argonish/benchmark/ya.make
new file mode 100644
index 0000000000..8d7d2a51fd
--- /dev/null
+++ b/library/cpp/digest/argonish/benchmark/ya.make
@@ -0,0 +1,11 @@
+Y_BENCHMARK()
+
+PEERDIR(
+ library/cpp/digest/argonish
+)
+
+SRCS(
+ mbench.cpp
+)
+
+END()
diff --git a/library/cpp/digest/argonish/internal/argon2/ya.make b/library/cpp/digest/argonish/internal/argon2/ya.make
new file mode 100644
index 0000000000..f5220c3f61
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/argon2/ya.make
@@ -0,0 +1,9 @@
+LIBRARY()
+
+PEERDIR(
+ library/cpp/digest/argonish/internal/blamka
+ library/cpp/digest/argonish/internal/blake2b
+ library/cpp/threading/poor_man_openmp
+)
+
+END()
diff --git a/library/cpp/digest/argonish/internal/blake2b/ya.make b/library/cpp/digest/argonish/internal/blake2b/ya.make
new file mode 100644
index 0000000000..a0b99aa4b2
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/blake2b/ya.make
@@ -0,0 +1,7 @@
+LIBRARY()
+
+PEERDIR(
+ library/cpp/digest/argonish/internal/rotations
+)
+
+END()
diff --git a/library/cpp/digest/argonish/internal/blamka/ya.make b/library/cpp/digest/argonish/internal/blamka/ya.make
new file mode 100644
index 0000000000..a0b99aa4b2
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/blamka/ya.make
@@ -0,0 +1,7 @@
+LIBRARY()
+
+PEERDIR(
+ library/cpp/digest/argonish/internal/rotations
+)
+
+END()
diff --git a/library/cpp/digest/argonish/internal/proxies/avx2/ya.make b/library/cpp/digest/argonish/internal/proxies/avx2/ya.make
new file mode 100644
index 0000000000..efeed5ad4d
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/proxies/avx2/ya.make
@@ -0,0 +1,16 @@
+LIBRARY()
+
+NO_UTIL()
+
+IF (ARCH_X86_64 OR ARCH_I386)
+ PEERDIR(
+ library/cpp/digest/argonish/internal/proxies/macro
+ library/cpp/digest/argonish/internal/argon2
+ library/cpp/digest/argonish/internal/blake2b
+ )
+ SRC_C_AVX2(
+ proxy_avx2.cpp
+ )
+ENDIF()
+
+END()
diff --git a/library/cpp/digest/argonish/internal/proxies/macro/ya.make b/library/cpp/digest/argonish/internal/proxies/macro/ya.make
new file mode 100644
index 0000000000..9865d255c8
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/proxies/macro/ya.make
@@ -0,0 +1,3 @@
+LIBRARY()
+
+END()
diff --git a/library/cpp/digest/argonish/internal/proxies/ref/ya.make b/library/cpp/digest/argonish/internal/proxies/ref/ya.make
new file mode 100644
index 0000000000..e48de6d9eb
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/proxies/ref/ya.make
@@ -0,0 +1,15 @@
+LIBRARY()
+
+NO_UTIL()
+
+PEERDIR(
+ library/cpp/digest/argonish/internal/proxies/macro
+ library/cpp/digest/argonish/internal/argon2
+ library/cpp/digest/argonish/internal/blake2b
+)
+
+SRCS(
+ proxy_ref.cpp
+)
+
+END()
diff --git a/library/cpp/digest/argonish/internal/proxies/sse2/ya.make b/library/cpp/digest/argonish/internal/proxies/sse2/ya.make
new file mode 100644
index 0000000000..0598fb9c9a
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/proxies/sse2/ya.make
@@ -0,0 +1,16 @@
+LIBRARY()
+
+NO_UTIL()
+
+IF (ARCH_X86_64 OR ARCH_I386)
+ PEERDIR(
+ library/cpp/digest/argonish/internal/proxies/macro
+ library/cpp/digest/argonish/internal/argon2
+ library/cpp/digest/argonish/internal/blake2b
+ )
+ SRC_C_SSE2(
+ proxy_sse2.cpp
+ )
+ENDIF()
+
+END()
diff --git a/library/cpp/digest/argonish/internal/proxies/sse41/ya.make b/library/cpp/digest/argonish/internal/proxies/sse41/ya.make
new file mode 100644
index 0000000000..f0839adcb0
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/proxies/sse41/ya.make
@@ -0,0 +1,16 @@
+LIBRARY()
+
+NO_UTIL()
+
+IF (ARCH_X86_64 OR ARCH_I386)
+ PEERDIR(
+ library/cpp/digest/argonish/internal/proxies/macro
+ library/cpp/digest/argonish/internal/argon2
+ library/cpp/digest/argonish/internal/blake2b
+ )
+ SRC_C_SSE41(
+ proxy_sse41.cpp
+ )
+ENDIF()
+
+END()
diff --git a/library/cpp/digest/argonish/internal/proxies/ssse3/ya.make b/library/cpp/digest/argonish/internal/proxies/ssse3/ya.make
new file mode 100644
index 0000000000..95e32e5ee0
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/proxies/ssse3/ya.make
@@ -0,0 +1,17 @@
+LIBRARY()
+
+NO_UTIL()
+
+IF (ARCH_X86_64 OR ARCH_I386)
+ PEERDIR(
+ library/cpp/digest/argonish/internal/proxies/macro
+ library/cpp/digest/argonish/internal/argon2
+ library/cpp/digest/argonish/internal/blake2b
+ )
+
+ SRC_C_SSSE3(
+ proxy_ssse3.cpp
+ )
+ENDIF()
+
+END()
diff --git a/library/cpp/digest/argonish/internal/rotations/ya.make b/library/cpp/digest/argonish/internal/rotations/ya.make
new file mode 100644
index 0000000000..9865d255c8
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/rotations/ya.make
@@ -0,0 +1,3 @@
+LIBRARY()
+
+END()
diff --git a/library/cpp/digest/argonish/ut/ya.make b/library/cpp/digest/argonish/ut/ya.make
new file mode 100644
index 0000000000..38d41702d2
--- /dev/null
+++ b/library/cpp/digest/argonish/ut/ya.make
@@ -0,0 +1,11 @@
+UNITTEST_FOR(library/cpp/digest/argonish)
+
+PEERDIR(
+ library/cpp/digest/argonish
+)
+
+SRCS(
+ ut.cpp
+)
+
+END()
diff --git a/library/cpp/digest/argonish/ut_fat/ya.make b/library/cpp/digest/argonish/ut_fat/ya.make
new file mode 100644
index 0000000000..6f0a77611d
--- /dev/null
+++ b/library/cpp/digest/argonish/ut_fat/ya.make
@@ -0,0 +1,19 @@
+UNITTEST_FOR(library/cpp/digest/argonish)
+
+PEERDIR(
+ library/cpp/digest/argonish
+)
+
+SRCS(
+ ut.cpp
+)
+
+TAG(
+ sb:intel_e5_2660v4
+ ya:fat
+ ya:force_sandbox
+)
+
+SIZE(LARGE)
+
+END()
diff --git a/library/cpp/digest/argonish/ya.make b/library/cpp/digest/argonish/ya.make
new file mode 100644
index 0000000000..771307059e
--- /dev/null
+++ b/library/cpp/digest/argonish/ya.make
@@ -0,0 +1,29 @@
+LIBRARY()
+
+IF (ARCH_X86_64 OR ARCH_I386)
+ PEERDIR(
+ library/cpp/threading/poor_man_openmp
+ library/cpp/digest/argonish/internal/proxies/avx2
+ library/cpp/digest/argonish/internal/proxies/ref
+ library/cpp/digest/argonish/internal/proxies/sse2
+ library/cpp/digest/argonish/internal/proxies/sse41
+ library/cpp/digest/argonish/internal/proxies/ssse3
+ )
+ELSE()
+ PEERDIR(
+ library/cpp/threading/poor_man_openmp
+ library/cpp/digest/argonish/internal/proxies/ref
+ )
+ENDIF()
+
+SRCS(
+ factory/factory.cpp
+)
+
+END()
+
+RECURSE(
+ benchmark
+ ut
+ ut_fat
+)
diff --git a/library/cpp/digest/crc32c/ut/ya.make b/library/cpp/digest/crc32c/ut/ya.make
new file mode 100644
index 0000000000..8a4e5cb861
--- /dev/null
+++ b/library/cpp/digest/crc32c/ut/ya.make
@@ -0,0 +1,7 @@
+UNITTEST_FOR(library/cpp/digest/crc32c)
+
+SRCS(
+ crc32c_ut.cpp
+)
+
+END()
diff --git a/library/cpp/digest/crc32c/ya.make b/library/cpp/digest/crc32c/ya.make
new file mode 100644
index 0000000000..a2f8e87da1
--- /dev/null
+++ b/library/cpp/digest/crc32c/ya.make
@@ -0,0 +1,16 @@
+LIBRARY()
+
+#!!!
+PEERDIR(
+ contrib/libs/crcutil
+)
+
+SRCS(
+ crc32c.cpp
+)
+
+END()
+
+RECURSE_FOR_TESTS(
+ ut
+)
diff --git a/library/cpp/digest/lower_case/ut/ya.make b/library/cpp/digest/lower_case/ut/ya.make
new file mode 100644
index 0000000000..159d49aa2a
--- /dev/null
+++ b/library/cpp/digest/lower_case/ut/ya.make
@@ -0,0 +1,8 @@
+UNITTEST_FOR(library/cpp/digest/lower_case)
+
+SRCS(
+ lchash_ut.cpp
+ hash_ops_ut.cpp
+)
+
+END()
diff --git a/library/cpp/digest/lower_case/ya.make b/library/cpp/digest/lower_case/ya.make
new file mode 100644
index 0000000000..6d6d804a5b
--- /dev/null
+++ b/library/cpp/digest/lower_case/ya.make
@@ -0,0 +1,13 @@
+LIBRARY()
+
+SRCS(
+ lciter.cpp
+ lchash.cpp
+ hash_ops.cpp
+)
+
+END()
+
+RECURSE_FOR_TESTS(
+ ut
+)
diff --git a/library/cpp/digest/md5/bench/ya.make b/library/cpp/digest/md5/bench/ya.make
new file mode 100644
index 0000000000..eb3c7ea5f6
--- /dev/null
+++ b/library/cpp/digest/md5/bench/ya.make
@@ -0,0 +1,11 @@
+G_BENCHMARK()
+
+PEERDIR(
+ library/cpp/digest/md5
+)
+
+SRCS(
+ main.cpp
+)
+
+END()
diff --git a/library/cpp/digest/md5/medium_ut/ya.make b/library/cpp/digest/md5/medium_ut/ya.make
new file mode 100644
index 0000000000..5ccfc9a6ee
--- /dev/null
+++ b/library/cpp/digest/md5/medium_ut/ya.make
@@ -0,0 +1,13 @@
+UNITTEST_FOR(library/cpp/digest/md5)
+
+SIZE(MEDIUM)
+
+TIMEOUT(120)
+
+SRCS(
+ md5_medium_ut.cpp
+)
+
+REQUIREMENTS(ram:10)
+
+END()
diff --git a/library/cpp/digest/md5/ut/ya.make b/library/cpp/digest/md5/ut/ya.make
new file mode 100644
index 0000000000..76b61b4b19
--- /dev/null
+++ b/library/cpp/digest/md5/ut/ya.make
@@ -0,0 +1,7 @@
+UNITTEST_FOR(library/cpp/digest/md5)
+
+SRCS(
+ md5_ut.cpp
+)
+
+END()
diff --git a/library/cpp/digest/md5/ya.make b/library/cpp/digest/md5/ya.make
new file mode 100644
index 0000000000..1e6ffd9642
--- /dev/null
+++ b/library/cpp/digest/md5/ya.make
@@ -0,0 +1,18 @@
+LIBRARY()
+
+SRCS(
+ md5.cpp
+)
+
+PEERDIR(
+ contrib/libs/nayuki_md5
+ library/cpp/string_utils/base64
+)
+
+END()
+
+RECURSE(
+ bench
+ medium_ut
+ ut
+)
diff --git a/library/cpp/digest/murmur/ut/ya.make b/library/cpp/digest/murmur/ut/ya.make
new file mode 100644
index 0000000000..de14ca6fb6
--- /dev/null
+++ b/library/cpp/digest/murmur/ut/ya.make
@@ -0,0 +1,13 @@
+UNITTEST()
+
+PEERDIR(
+ ADDINCL library/cpp/digest/murmur
+)
+
+SRCDIR(library/cpp/digest/murmur)
+
+SRCS(
+ murmur_ut.cpp
+)
+
+END()
diff --git a/library/cpp/digest/murmur/ya.make b/library/cpp/digest/murmur/ya.make
new file mode 100644
index 0000000000..9c4bb887b7
--- /dev/null
+++ b/library/cpp/digest/murmur/ya.make
@@ -0,0 +1,11 @@
+LIBRARY()
+
+SRCS(
+ murmur.cpp
+)
+
+END()
+
+RECURSE_FOR_TESTS(
+ ut
+)
diff --git a/library/cpp/digest/old_crc/gencrc/ya.make b/library/cpp/digest/old_crc/gencrc/ya.make
new file mode 100644
index 0000000000..4d89e96669
--- /dev/null
+++ b/library/cpp/digest/old_crc/gencrc/ya.make
@@ -0,0 +1,7 @@
+PROGRAM()
+
+SRCS(
+ main.cpp
+)
+
+END()
diff --git a/library/cpp/digest/old_crc/ut/ya.make b/library/cpp/digest/old_crc/ut/ya.make
new file mode 100644
index 0000000000..8b3f7b3fd3
--- /dev/null
+++ b/library/cpp/digest/old_crc/ut/ya.make
@@ -0,0 +1,7 @@
+UNITTEST_FOR(library/cpp/digest/old_crc)
+
+SRCS(
+ crc_ut.cpp
+)
+
+END()
diff --git a/library/cpp/digest/old_crc/ya.make b/library/cpp/digest/old_crc/ya.make
new file mode 100644
index 0000000000..6bd8b7a1f8
--- /dev/null
+++ b/library/cpp/digest/old_crc/ya.make
@@ -0,0 +1,17 @@
+LIBRARY()
+
+SRCS(
+ crc.cpp
+)
+
+RUN_PROGRAM(
+ library/cpp/digest/old_crc/gencrc
+ STDOUT crc.inc
+)
+
+END()
+
+RECURSE(
+ gencrc
+ ut
+)
diff --git a/library/cpp/digest/sfh/ut/ya.make b/library/cpp/digest/sfh/ut/ya.make
new file mode 100644
index 0000000000..4308c181e1
--- /dev/null
+++ b/library/cpp/digest/sfh/ut/ya.make
@@ -0,0 +1,7 @@
+UNITTEST_FOR(library/cpp/digest/sfh)
+
+SRCS(
+ sfh_ut.cpp
+)
+
+END()
diff --git a/library/cpp/digest/sfh/ya.make b/library/cpp/digest/sfh/ya.make
new file mode 100644
index 0000000000..630a2d16bc
--- /dev/null
+++ b/library/cpp/digest/sfh/ya.make
@@ -0,0 +1,11 @@
+LIBRARY()
+
+SRCS(
+ sfh.cpp
+)
+
+END()
+
+RECURSE_FOR_TESTS(
+ ut
+)