Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

AES algorithm implementation in C

License

NotificationsYou must be signed in to change notification settings

dhuertas/AES

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AES algorithm implementation using C. Check outthis other repo on how to use it with different modes of operation.

Disclaimer

This is a proof of concept implementation andshould not be used in a productive environment! For example a lookup table implementation of the addition in GF28 is used which is vulnerable to side channel cache attacks.See POC.

Example

Compile the source code (e.g. using GCC):

gcc gmult.c aes.c main.c -o aes

And run:

./aesPlaintext message:00 11 22 33 44 55 66 77 88 99 aa bb cc dd ee ffCiphered message:8e a2 b7 ca 51 67 45 bf eafc 49 90 4b 49 60 89Original message (after inv cipher):00 11 22 33 44 55 66 77 88 99 aa bb cc dd ee ff

About

AES algorithm implementation in C

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp