Skip to content

Commit

Permalink
New SHA implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
JoaoDiogoDuarte committed Mar 23, 2024
1 parent f52cf21 commit 6f9475b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
7 changes: 2 additions & 5 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,11 @@
url = https://github.com/formosa-crypto/crypto-specs.git
[submodule "test/external/crypto_kem/xwing/common/JoaoDiogoDuarte_xwing"]
path = test/external/crypto_kem/xwing/common/JoaoDiogoDuarte_xwing
url = https://github.com/JoaoDiogoDuarte/xwing.git
url = https://github.com/X-Wing-KEM-Team/xwing.git
[submodule "test/external/crypto_hash/sha3-256/common/Kyber_FIPS202"]
path = test/external/crypto_hash/sha3-256/common/Kyber_FIPS202
url = https://github.com/JoaoDiogoDuarte/kyber-mlkem-static/
branch = justhash
[submodule "test/external/crypto_kem/xwing_naive/common/JoaoDDuarte_xwing_naive"]
path = test/external/crypto_kem/xwing_naive/common/JoaoDDuarte_xwing_naive
url = https://github.com/JoaoDiogoDuarte/xwing.git
[submodule "test/external/crypto_kem/xwing_naive/common/JoaoDiogoDuarte_xwing_naive"]
path = test/external/crypto_kem/xwing_naive/common/JoaoDiogoDuarte_xwing_naive
url = https://github.com/JoaoDiogoDuarte/xwing.git
url = https://github.com/X-Wing-KEM-Team/xwing.git
Submodule JoaoDiogoDuarte_xwing updated 33 files
+3 −1 .gitignore
+2 −0 README.md
+1 −0 results/jade_hash_sha3_256_amd64_c_avx2_1222.csv
+1 −0 results/jade_hash_sha3_256_amd64_c_avx2_134.csv
+1 −0 results/jade_kem_xwing_amd64_c_avx2_dec.csv
+1 −0 results/jade_kem_xwing_amd64_c_avx2_enc.csv
+1 −0 results/jade_kem_xwing_amd64_c_avx2_enc_derand.csv
+1 −0 results/jade_kem_xwing_amd64_c_avx2_keypair.csv
+1 −0 results/jade_kem_xwing_amd64_c_avx2_keypair_derand.csv
+1 −0 results/jade_kem_xwing_naive_amd64_c_avx2_dec.csv
+1 −0 results/jade_kem_xwing_naive_amd64_c_avx2_enc.csv
+1 −0 results/jade_kem_xwing_naive_amd64_c_avx2_enc_derand.csv
+1 −0 results/jade_kem_xwing_naive_amd64_c_avx2_keypair.csv
+1 −0 results/jade_kem_xwing_naive_amd64_c_avx2_keypair_derand.csv
+2 −2 src/crypto_kem/mlkem/avx2/Makefile
+15 −0 src/crypto_kem/mlkem/avx2/align.h
+576 −617 src/crypto_kem/mlkem/avx2/fips202.c
+767 −0 src/crypto_kem/mlkem/avx2/keccak/KeccakP-1600-AVX2.c
+38 −0 src/crypto_kem/mlkem/avx2/keccak/KeccakP-1600-AVX2.h
+37 −0 src/crypto_kem/mlkem/avx2/keccak/KeccakP-1600-SnP.h
+37 −0 src/crypto_kem/mlkem/avx2/keccak/KeccakSponge-common.h
+318 −0 src/crypto_kem/mlkem/avx2/keccak/KeccakSponge.inc
+56 −0 src/crypto_kem/mlkem/avx2/keccak/KeccakSpongeWidth1600.c
+33 −0 src/crypto_kem/mlkem/avx2/keccak/KeccakSpongeWidth1600.h
+13 −0 src/crypto_kem/mlkem/avx2/keccak/namespace.h
+2 −2 src/crypto_kem/xwing/avx2/Makefile
+1 −1 src/crypto_kem/xwing/avx2/api.h
+9 −3 src/crypto_kem/xwing_naive/avx2/Makefile
+26 −0 src/crypto_kem/xwing_naive/avx2/api.h
+69 −25 src/crypto_kem/xwing_naive/avx2/xkem.c
+2 −2 src/crypto_kem/xwing_naive/ref/params.h
+2 −2 src/crypto_kem/xwing_naive/ref/test/test_xkem_functionality.c
+22 −13 src/crypto_kem/xwing_naive/ref/xkem.h
Submodule JoaoDiogoDuarte_xwing_naive updated 27 files
+2 −0 README.md
+1 −0 results/jade_hash_sha3_256_amd64_c_avx2_1222.csv
+1 −0 results/jade_hash_sha3_256_amd64_c_avx2_134.csv
+1 −0 results/jade_kem_xwing_amd64_c_avx2_dec.csv
+1 −0 results/jade_kem_xwing_amd64_c_avx2_enc.csv
+1 −0 results/jade_kem_xwing_amd64_c_avx2_enc_derand.csv
+1 −0 results/jade_kem_xwing_amd64_c_avx2_keypair.csv
+1 −0 results/jade_kem_xwing_amd64_c_avx2_keypair_derand.csv
+1 −0 results/jade_kem_xwing_naive_amd64_c_avx2_dec.csv
+1 −0 results/jade_kem_xwing_naive_amd64_c_avx2_enc.csv
+1 −0 results/jade_kem_xwing_naive_amd64_c_avx2_enc_derand.csv
+1 −0 results/jade_kem_xwing_naive_amd64_c_avx2_keypair.csv
+1 −0 results/jade_kem_xwing_naive_amd64_c_avx2_keypair_derand.csv
+2 −2 src/crypto_kem/mlkem/avx2/Makefile
+15 −0 src/crypto_kem/mlkem/avx2/align.h
+576 −617 src/crypto_kem/mlkem/avx2/fips202.c
+767 −0 src/crypto_kem/mlkem/avx2/keccak/KeccakP-1600-AVX2.c
+38 −0 src/crypto_kem/mlkem/avx2/keccak/KeccakP-1600-AVX2.h
+37 −0 src/crypto_kem/mlkem/avx2/keccak/KeccakP-1600-SnP.h
+37 −0 src/crypto_kem/mlkem/avx2/keccak/KeccakSponge-common.h
+318 −0 src/crypto_kem/mlkem/avx2/keccak/KeccakSponge.inc
+56 −0 src/crypto_kem/mlkem/avx2/keccak/KeccakSpongeWidth1600.c
+33 −0 src/crypto_kem/mlkem/avx2/keccak/KeccakSpongeWidth1600.h
+13 −0 src/crypto_kem/mlkem/avx2/keccak/namespace.h
+2 −2 src/crypto_kem/xwing/avx2/Makefile
+2 −2 src/crypto_kem/xwing_naive/avx2/Makefile
+2 −2 src/crypto_kem/xwing_naive/ref/test/test_xkem_functionality.c

0 comments on commit 6f9475b

Please sign in to comment.