Giter Club home page Giter Club logo

pqc-in-maude's Introduction

Post-Quantum Cryptography in Maude

This repository stores Maude's system modules that construct the symbolic models of three postquantum cryptography schemes. Specifically, the selected schemes are Key Encapsulation Mechanisms (KEMs). The symbolic modules allow us to perform invariant analysis, find a Man In The Middle (MITM) attack, and model checking of Liveness, Fairness and Security properties. The analyzed KEMs are:

Please check the corresponding publication for further insights on the symbolic specification and verification of Kyber.

For a complete detailed explanation of the framework along with three use cases with the above mechanisms, please see the journal paper of PeerJ Computer Science.

Structure

The repository is divided into three main folders, one for each of the specified KEMs. Each folder stores two kinds of files: one txt file and four maude files. The txt file contains basic information and a series of notations on the specified KEM. The maude files are:

  • KEM.maude: Contains the full specification using the framework.
  • KEM-PREDS & KEM-CHECK: Contain the necessary modules to perform model checking with Maude.
  • KEM-test.maude: Stores a series of commands to (i) perform invariant analysis through the search command and (ii) verify three properties with the LTL Model Checker.

where KEM is either kyber, bike or cm respectively for each selected protocol.

Reproduction of experiments

In order to perform invariant analysis and model checking one has to:

  1. Have Maude 3.3 installed. It can be downloaded from the official download page.
  2. Download this repository and extract the contents.
  3. Open a terminal in the parent folder of the downloaded repository.
  4. Start Maude by following the instructions. Maude can be initiated by running the ./maude.darwin64
  5. Load a testing file with the command load KEM-test.maude, where KEM has to be either kyber, bike or cm. The code inside testing files will perform the following commands.
    1. Invariant analysis with the search commands.
    2. Model checking with the reduce commands.

pqc-in-maude's People

Contributors

v1ct0r-byte avatar

Stargazers

Sergio avatar

Watchers

 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.