Giter Site home page Giter Site logo

aes's People

Contributors

dhuertas avatar nikitacartes avatar

Stargazers

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

Watchers

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

aes's Issues

关于gmult.c

你好,多谢你的代码,很久之前就在用你的AES源码,刚刚看到gmult.c这个文件,我不清楚是来干嘛的,我是小白,请问这个有什么作用,以前我记得是没有的,谢谢。

About the transposition of the input?

Hi,
I notice that a transposition is applied to the input in this code. Just as follows,

for (i = 0; i < 4; i++) {
    for (j = 0; j < Nb; j++) {
        state[Nb*i+j] = in[i+4*j];
    }
}

I think this is used because the state of AES is column-major, as shown below. It is different with the array in C. But I do not think it is useful. Actually, this piece of code may cause some misunderstanding.

// state of AES
s0 s4 s8  s12
s1 s5 s9  s13
s2 s6 s10 s14
s3 s7 s11 s15

licence?

Hi there

What is the licence of this project? MIT? GPL? LGPL? BSD?

Niek

MODE OF AES

I WAS LOOKING FOR A CODE TO PERFORM AES ENCRYPTION IN C. I CAME ACROSS A DOCUMENT STATING THAT THERE ARE DIFFERENT MODES OF AES (for eg:CBC,ECB). PLEASE TELL ME WHICH MODE OF AES IS BEING IMPLEMENTED THROUGH THIS CODE? IF I RUN THIS CODE IN A MICROCONTROLLER FOR MY PROJECT, WHICH RUNS AT 168Mhz CLOCK, HOW MUCH TIME WILL THE AES ENCRYPTION PART ALONE WILL TAKE TO COMPLETE THE PROCESS. LOOKING FORWARD FOR YOUR REPLY.
THANKS & REGARDS

main two implementation

hello! i have a question, why you have two implementation of main function in aes.c and main.c? in codeblock throw an error

T

fine job

How to aes encrypt more than 16 bytes of data

Hi all,

I need help in encrypting more than 16 bytes of data at a time and number of bytes is not multiple of 4.
Please help me how can I do it.

If I pass data more than 16 bytes, it is encrypting and decrypting only 16 bytes of data. I am using 256-bit key.

<-- Plaintext message: -->
30 81 87 02 01 00 30 13 06 07 2a 86 48 ce 3d 02 01 06 08 2a 86 48 ce 3d 03 01 07 04 6d 30 6b 02 01 01 04 20 de 44 7e 52 39 ad cc 4a 15 b5 16 41 36 17 18 a3 9a 9a 9a 8b 19 5e 1e 74 cd f5 8e 86 f4 cb a9 d5 a1 44 03 42 00 04 af 10 95 51 b7 a5 4f e7 9b 94 71 e6 a3 8f fc 27 0a b3 a1 11 f8 12 cd 11 34 6d df 40 c1 2a ce 75 23 e3 8c 9d 37 d6 10 cf 4d 13 28 86 fd fb de 3f e8 66 64 64 7b 35 22 c1 53 99 ff 29 44 5e 8b ef
Ciphered message:
79 5b d0 b0 45 30 2c 84 fa 4d 89 57 f2 52 1b e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Original message (after inv cipher):
30 81 87 02 01 00 30 13 06 07 2a 86 48 ce 3d 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

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.