Giter Club home page Giter Club logo

pqc-ake's Introduction

PQC-AKE

Overview

This repo contains a C++ implementation for the Post-Quantum Lattice-Based Authenticated Key Exchange (AKE) based on the work of Del Pino, Lyubashevsky, Pointcheval.

PreReqs

sudo apt-get install libgmp-dev libntl-dev libssl-dev

Running the AKE

cd AKE
make AKE
./AKE

Code Structure

This AKE consists of a Key Encapsulation Mechanism (KEM), a Digital Signature (DS) scheme and huffman encoder (for Message-Recovery)

  • KEM.cc - Key Encapsulation Mechanism
  • DigitalSignature.cc - Digital Signature Scheme (with and without Message Recovery):
  • Huffman.cc - Huffman encoding.
  • AKE.cc - Two-Way Authenticated Key Exchange
  • Param.h - This file defines parameters n, q, etc...

Notes

This repo contains the Post-Quantum research work that I am doing for my Master's Thesis for UCSB (2016-2017).

pqc-ake's People

Contributors

pmsosa avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

pqc-ake's Issues

[DS] What does ||(s1,s2)|| < B mean?

On the Verification method of the Digital Signature, you need to check if ||(s1,s2)|| < B to decide whether the signature is accepted or not.

  1. Find out what this means.
  2. Actually implement this.

[DS] Setup Hash Function

Currently on the DS, we are assuming the message itself is already hashed. We must do the following:

  1. Properly hash a message
  2. Include a random nonce with message hashing (otherwise security can be compromised)

[KEM] Check that f,g are being produced properly.

On the KEM we are producing f,g using the already defined RandomPolyFixedSqNorm.
Just double-check that it is in fact producing proper numbers.
Otherwise use the permutation idea presented on the paper, it might actually be faster in the end.

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.