Giter Site home page Giter Site logo

mdpc-gf-p's Introduction

Implementation of p-ary QC-MDPC McEliece

This repository contains an implementation of the p-ary QC-MDPC McEliece cryptosystem as defined in the article Improved Decoders for p-ary MDPC. It is being developed as a team project at the Slovak University of Technology, Faculty of Electrical Engineering and Information Technology.

This implementation is currently WIP.

How to compile

You can compile this project using the provided CMakeLists.txt. You need the g++ compiler and cmake. The code is compiled with the c++17 standard and makes heavy use of c++17 features. From the project's root directory run:

$ mkdir -p build
$ cd build
$ cmake ..
$ cmake --build .

The resulting binary will be located in the build directory.

Note, that this implementation depends on FLINT. You can install FLINT using your distribution's package manager. For instance, on Fedora 35 you may run this command:

$ sudo dnf install flint flint-devel flint-static

The provided CMakeLists.txt assumes FLINT's header files are available in the /usr/include/flint directory. Should you distribution place them elsewhere, you must modify the Makefile. You can find the location of these files running these commands:

$ sudo updatedb
$ locate flint

Note about previous implementation

The master branch contains the current implementation. There is also the old-master branch. This contains the previous work on this project largely based on NTL. This implementation is not in a usable state and was kept only due to archival reasons.

We decided to switch from NTL to FLINT because NTL's featureset didn't meet our requirements. During the implementation, it became obvious that we will have to work extensively with rational numbers. FLINT implements these, NTL does not. We may create our own implementation and keep using NTL, but that is not the focus of this project. We therefore concluded that a switch to FLINT is necessary.

mdpc-gf-p's People

Watchers

 avatar  avatar

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.