Giter VIP home page Giter VIP logo

ascon-arduino's Introduction

ASCON Suite for Arduino

This repository builds a number of useful cryptographic primitives around the ASCON permutation, customized for use as an Arudino library.

This code is a direct port of the more general-purpose ASCON Suite library. If you find a bug or wish to contribute to this project, then please submit a merge request to ASCON Suite instead of this repository. The only exceptions are for Arduino-specific files and examples that do not appear in the other repository.

API's are provided for the following areas:

  • Authenticated Encryption with Associated Data (AEAD)
  • Hashing
  • HMAC-based Key Derivation Function (HKDF)
  • Hashed Message Authentication Code (HMAC)
  • ISAP AEAD Mode with Side Channel Protections
  • Keyed Message Authentication Code (KMAC)
  • Password-Based Key Derivation Function (PBKDF2)
  • Pseudorandom Number Generation (PRNG)
  • Synthetic Initialization Vector (SIV)
  • Extensible Output Functions (XOF)
  • Direct Access to the ASCON Permutation

See the HTML documentation of ASCON Suite for more information on the functionality in the library.

Using the Library

To use the library, include the <ASCON.h> header file, which will include all of the functions and types from the library into your sketch:

#include <ASCON.h>

void setup()
{
    ...
}

void loop()
{
    ...
}

History

The functionality in this library was originally prototyped in the LWC Finalists repository. The ASCON Suite repository extracts and expands the ASCON-specific parts of the original repository.

Contact

For more information on this code, to report bugs, or to suggest improvements, please contact the author Rhys Weatherley via email.

ascon-arduino's People

Contributors

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