Git Product home page Git Product logo

decoding's People

Contributors

floydz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

xdcesc

decoding's Issues

TODOs

  • Classic Tree
  • d3
  • add iT in the fill list
  • meta programming
  • changelist, and values in list

build errors

I have got this message when i run python3
bbq@gl:/mnt/c/decoding/decoding$ python3 gen.py -n1284 -l17 -l1 2 -p 1 --hm1_bucketsize 146 --hm2_bucketsize 4 --hm1_nrbuckets 2 --hm2_nrbuckets 15 --bjmm_special_alignment --threads 1 --outer_threads 256 --loops 100000
Build Starting
bjmm 1284 1027 24 inf 17 2 1 0
{'l': 17, 'l1': 2, 'p': 2, 'p1': 1, 'depth': 2, 'perms': 38.492496596372135, 'reps': 2.0, 'lists:': [9.027905996569885, 16.05581199313977], 'T_reps': 1}
{'time': 57.37187642619322, 'memory': 16.08312608974058, 'perms': 38.492496596372135, 'parameters': {'l': 17, 'l1': 2, 'p': 2, 'p1': 1, 'depth': 2, 'perms': 38.492496596372135, 'reps': 2.0, 'lists:': [9.027905996569885, 16.05581199313977], 'T_reps': 1}}
ERROR Build 2 /usr/bin/cmake -S/mnt/c/decoding/decoding -B/mnt/c/decoding/decoding/cmake-build-release --check-build-system CMakeFiles/Makefile.cmake 0
make -f CMakeFiles/Makefile2 main
make[1]: Entering directory '/mnt/c/decoding/decoding/cmake-build-release'
/usr/bin/cmake -S/mnt/c/decoding/decoding -B/mnt/c/decoding/decoding/cmake-build-release --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /mnt/c/decoding/decoding/cmake-build-release/CMakeFiles 1
make -f CMakeFiles/Makefile2 CMakeFiles/main.dir/all
make[2]: Entering directory '/mnt/c/decoding/decoding/cmake-build-release'
make -f CMakeFiles/main.dir/build.make CMakeFiles/main.dir/depend
make[3]: Entering directory '/mnt/c/decoding/decoding/cmake-build-release'
cd /mnt/c/decoding/decoding/cmake-build-release && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /mnt/c/decoding/decoding /mnt/c/decoding/decoding /mnt/c/decoding/decoding/cmake-build-release /mnt/c/decoding/decoding/cmake-build-release /mnt/c/decoding/decoding/cmake-build-release/CMakeFiles/main.dir/DependInfo.cmake --color=
make[3]: Leaving directory '/mnt/c/decoding/decoding/cmake-build-release'
make -f CMakeFiles/main.dir/build.make CMakeFiles/main.dir/build
make[3]: Entering directory '/mnt/c/decoding/decoding/cmake-build-release'
[ 0%] Building CXX object CMakeFiles/main.dir/main.cpp.o
/usr/bin/clang++ -I/usr/local/opt/libomp/include -I/mnt/c/decoding/decoding/deps/cryptanalysislib/deps/fplll -I/mnt/c/decoding/decoding/deps/cryptanalysislib/deps/b63/src -I/mnt/c/decoding/decoding/deps/cryptanalysislib/deps/m4ri/m4ri -I/mnt/c/decoding/decoding/deps/cryptanalysislib/deps/m4ri -I/mnt/c/decoding/decoding/deps/cryptanalysislib/deps/ska_sort -I/mnt/c/decoding/decoding/deps/cryptanalysislib/deps/Static-Sort/include -I/mnt/c/decoding/decoding/deps/cryptanalysislib/src -I/mnt/c/decoding/decoding/src -I/mnt/c/decoding/decoding/test/decoding/challenges -I/mnt/c/decoding/decoding/test/mceliece/challenges -isystem /usr/include/c++/13 -isystem /usr/include/x86_64-linux-gnu/c++/13 -isystem /usr/include/c++/13/backward -isystem /usr/lib/llvm-14/lib/clang/14.0.0/include -isystem /usr/local/include -isystem /usr/include/x86_64-linux-gnu -isystem /usr/include -O3 -DNODEBUG -Wall -fopenmp -march=native -ftree-vectorize -funroll-loops -fomit-frame-pointer -Wno-unused-function -Wno-unused-variable -Wno-unused-value -std=gnu++20 -ffast-math -ftree-vectorize -funroll-loops -DUSE_AVX2 -DEXPECTED_PERMUTATIONS=386719510639 -MD -MT CMakeFiles/main.dir/main.cpp.o -MF CMakeFiles/main.dir/main.cpp.o.d -o CMakeFiles/main.dir/main.cpp.o -c /mnt/c/decoding/decoding/main.cpp
In file included from /mnt/c/decoding/decoding/main.cpp:1:
In file included from /mnt/c/decoding/decoding/main.h:75:
In file included from /mnt/c/decoding/decoding/deps/cryptanalysislib/src/matrix.h:7:
In file included from /mnt/c/decoding/decoding/deps/cryptanalysislib/src/label.h:5:
/mnt/c/decoding/decoding/deps/cryptanalysislib/src/container.h:775:48: error: use of undeclared identifier 'hammingweight_mod2_limb256_nonacc'
acc = _mm256_add_epi64(acc, _mm256_sad_epu8(hammingweight_mod2_limb256_nonacc(z_avx), _mm256_setzero_si256()));
^
/mnt/c/decoding/decoding/deps/cryptanalysislib/src/container.h:1897:52: error: no template named 'kAryContainer_T'
std::ostream& operator<< (std::ostream &out, const kAryContainer_T<T, length> &obj) {
^
/mnt/c/decoding/decoding/deps/cryptanalysislib/src/container.h:1905:52: error: no template named 'kAryPackedContainer_T'
std::ostream& operator<< (std::ostream &out, const kAryPackedContainer_T<T, MOD, length> &obj) {
^
/mnt/c/decoding/decoding/main.cpp:165:32: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat]
fprintf(f, "%llu iters\n", r);
~~~~ ^
%lu
/mnt/c/decoding/decoding/main.cpp:182:34: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat]
fprintf(f, "loops_sum: %llu\n", loops_sum);
~~~~ ^~~~~~~~~
%lu
2 warnings and 3 errors generated.
make[3]: *** [CMakeFiles/main.dir/build.make:79: CMakeFiles/main.dir/main.cpp.o] Error 1
make[3]: Leaving directory '/mnt/c/decoding/decoding/cmake-build-release'
make[2]: *** [CMakeFiles/Makefile2:479: CMakeFiles/main.dir/all] Error 2
make[2]: Leaving directory '/mnt/c/decoding/decoding/cmake-build-release'
make[1]: *** [CMakeFiles/Makefile2:486: CMakeFiles/main.dir/rule] Error 2
make[1]: Leaving directory '/mnt/c/decoding/decoding/cmake-build-release'
make: *** [Makefile:179: main] Error 2

ERROR Build
can anyone help me

TODOs

  • Python wrapper
  • fq algorithms
  • MO
  • sieving
  • pcs
  • low weight algorihtms
  • cuda

Can't reproduce the results on my machine

Good afternoon, i'm trying to reproduce the results of your paper with my machine but there are some problems in the building phase: some errors are generated and i think the cause is the failing cloning of the submodule cryptanalysislib.
Initially, cloning the directory with the command reported in the reproduction of results section (git clone --recurse-submodules -j4 https://github.com/FloydZ/decoding), causes a fail in cloning the submodule cryptanalysislib. Even trying to manually cloning it in the right place and at the right commit doesn't resolve the errors coming out building the project. All the errors signaled after calling the python command or after calling make in cmake-build-release are inside files having as the parent directory cryptoanalysislib.

Thank you in advance, have a good evening
Goodbye

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.