Giter Site home page Giter Site logo

quarkip's Introduction

Quark

This is a Hardware implementation for the Quark hash function written in VHDL.

What is Quark ?

Quark is a cryptographic hash function (family). It was designed by Jean-Philippe Aumasson, Luca Henzen, Willi Meier and María Naya-Plasencia.

Quark was created because of the expressed need by application designers (notably for implementing RFID protocols) for a lightweight cryptographic hash function. The SHA-3 NIST hash function competition concerned general-purpose designs and focused on software performance.

Quark is a lightweight hash function, based on a single security level and on the sponge construction, to minimize memory requirements. Inspired by the lightweight ciphers Grain and KATAN, the hash function family Quark is composed of the three instances u-Quark, d-Quark, and s-Quark. Hardware benchmarks show that Quark compares well to previous lightweight hashes.

Implementation

This is an implementation for the Quark hash family that includes the 3 instances : u-Quark, d-Quark and s-Quark.

It was developped in the Vivado Suite v2017 for a ZedBoard™ Zynq®-7000 board.

The implementation is packaged as an IP that has different parameters including :

  • Quark instance : This parameter allows you to select one of the 3 instances of Quark.
  • Message length.
  • Key length.

By default, the hash function has a rate of 1 bit/clock cycle, but the IP has another parameter that allows you to change this rate and adapt it to your use case.

On the other hand, the Quark IP has an AXI interface.

Example

This is the D-quark IP :

D-QUARK

Test

The project includes 3 testbenches to test every Quark instance with some test values.

Sources

QUARK: A Lightweight Hash, Jean-Philippe Aumasson, NAGRA, route de Genève 22, 1033 Cheseaux, Switzerland

quarkip's People

Contributors

ayoubsoussi avatar

Stargazers

 avatar  avatar

Watchers

 avatar

quarkip's Issues

Things to do

  • Finish my changes
  • Push my commits to GitHub
  • Open a pull request

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.