Giter Site home page Giter Site logo

opentrv / otaesgcm Goto Github PK

View Code? Open in Web Editor NEW
13.0 9.0 5.0 480 KB

IoT-friendly, permissively licensed, AES-GCM implementation as Arduino library.

Home Page: http://opentrv.org.uk/

License: Apache License 2.0

C++ 95.62% C 2.08% Shell 1.25% Meson 1.06%

otaesgcm's Introduction

Build Status

OTAESGCM

IoT-/Microcontroller- friendly, permissively licensed, AES-GCM implementation as 1.0+ Arduino library.

otaesgcm's People

Contributors

damonhd avatar denzo77 avatar markeq avatar

Stargazers

Simon Ratner avatar Jeff Carpenter avatar Travis Burtrum avatar Leah LaSalla avatar Pete Doyle avatar 流螢 avatar  avatar max.chen avatar MaX Falstein avatar Pedro Ferreira avatar Ugur avatar  avatar Jevin Sweval avatar

Watchers

Jevin Sweval avatar James Cloos avatar  avatar Bohdan Kmit avatar Pedro Ferreira avatar  avatar  avatar  avatar  avatar

otaesgcm's Issues

Failing NIST test vector with partial blocksize pdata

13 bytes of CData generated correctly but incorrect tag generated.

JIRA issue: TODO-1115

[ RUN ] Main.GCMVS1ViaFixed13BTextSizeWITHWORKSPACE
../portableUnitTests/main.cpp:693: Failure
Value of: tag[1]
Actual: '\x91' (145)
Expected: 0xa3
Which is: 163

Test vector from:
http://csrc.nist.gov/groups/STM/cavp/documents/mac/gcmtestvectors.zip
//[Keylen = 128]
//[IVlen = 96]
//[PTlen = 104]
//[AADlen = 128]
//[Taglen = 128]
//
//Count = 0
//Key = dfefde23c6122bf0370ab5890e804b73
//IV = 92d6a8029990670f16de79e2
//PT = 64260a8c287de978e96c7521d0
//AAD = a2b16d78251de6c191ce350e5c5ef242
//CT = bf78de948a847c173649d4b4d0
//Tag = 9da3829968cdc50794d1c30d41cd4515

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.