From 81ce1ebf4e769ba8aeca08816aed2f343119a906 Mon Sep 17 00:00:00 2001 From: Balazs Komuves Date: Sat, 14 Oct 2023 17:10:35 +0200 Subject: [PATCH] add zikkurat-algebra and HorizenLabs Poseidon2+etc implementations as submodules --- .gitignore | 4 ++++ .gitmodules | 6 ++++++ hash/cpu/src/HorizenLabs-poseidon2 | 1 + hash/cpu/src/README.md | 2 ++ hash/cpu/src/zikkurat-algebra | 1 + 5 files changed, 14 insertions(+) create mode 100644 .gitignore create mode 100644 .gitmodules create mode 160000 hash/cpu/src/HorizenLabs-poseidon2 create mode 100644 hash/cpu/src/README.md create mode 160000 hash/cpu/src/zikkurat-algebra diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1af3c9c --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +.DS_store +a.out +build +target diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..b4c921d --- /dev/null +++ b/.gitmodules @@ -0,0 +1,6 @@ +[submodule "hash/cpu/src/zikkurat-algebra"] + path = hash/cpu/src/zikkurat-algebra + url = https://github.com/faulhornlabs/zikkurat-algebra +[submodule "hash/cpu/src/HorizenLabs-poseidon2"] + path = hash/cpu/src/HorizenLabs-poseidon2 + url = https://github.com/HorizenLabs/poseidon2 diff --git a/hash/cpu/src/HorizenLabs-poseidon2 b/hash/cpu/src/HorizenLabs-poseidon2 new file mode 160000 index 0000000..bb476b9 --- /dev/null +++ b/hash/cpu/src/HorizenLabs-poseidon2 @@ -0,0 +1 @@ +Subproject commit bb476b9ca38198cf5092487283c8b8c5d4317c4e diff --git a/hash/cpu/src/README.md b/hash/cpu/src/README.md new file mode 100644 index 0000000..e8e462f --- /dev/null +++ b/hash/cpu/src/README.md @@ -0,0 +1,2 @@ + +Sources for various third-party libraries we benchmark, added as git submodules. diff --git a/hash/cpu/src/zikkurat-algebra b/hash/cpu/src/zikkurat-algebra new file mode 160000 index 0000000..e2b0fde --- /dev/null +++ b/hash/cpu/src/zikkurat-algebra @@ -0,0 +1 @@ +Subproject commit e2b0fde371dad9a8be2085ca809d08e11bf4eba9