Coder Social home page Coder Social logo

grain's Introduction

Grain

Hardware implementation for the Grain family of stream ciphers:

  • Grain80 (or Grain-1) from "Grain - A Stream Cipher for Constrained Environments" ( PDF )
  • Grain128 from "A Stream Cipher Proposal: Grain-128" ( PDF )
  • "Grain-128a: a new version of Grain-128 with optional authentication" ( PDF )

The first two were phase-3 candidates in the eSTREAM project .

The main strength of Grain is its small hardware footprint. For example, Grain80 can be implemented in less than 50 Xilinx slices.

Open source

I am using this project evaluate free and open-source EDA tools. Since verilog is better supported by FOSS EDA tools I will eventually re-write the VHDL code in verilog.

If you are interested in a similar evaluation for a minimal SoC, have a look at my ARM-FOSS project.

Notes

  • This project is very much a work-in-progress.
  • Right now, only grain80 and grain128 have been verified in real hardware.
  • These are FPGA implementations. ASIC implementations would look very different.
  • Once qflow is stable, I hope to publish ASIC implementations.

grain's People

Contributors

avahidi 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.