Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/forentfraps/fast-aes
Fast AES implementation in C and x86 windows.
https://github.com/forentfraps/fast-aes
aes aes-128 assembly-x86 c
Last synced: about 2 months ago
JSON representation
Fast AES implementation in C and x86 windows.
- Host: GitHub
- URL: https://github.com/forentfraps/fast-aes
- Owner: forentfraps
- License: gpl-3.0
- Created: 2023-05-27T22:49:48.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-16T17:11:32.000Z (about 1 year ago)
- Last Synced: 2023-10-17T10:56:24.730Z (about 1 year ago)
- Topics: aes, aes-128, assembly-x86, c
- Language: C
- Homepage:
- Size: 151 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fast-aes
Fast AES implementation in C and x86 windows, sadly wihtout SIMD, because my cpu does not support avx512 :-(
Platform is windows and the code will not work on other OS or architectures, due to the ABI calling conventions difference in windows and Linux.To compile on windows you need nasm and gcc.
Resulting object file is statically linked.Fast is a massive overstatement, since I do not have access to SIMD instruction set, which would really help.
Current speed is 1Gb per 15.9 seconds, so -> so about 64.4 mb/s which is quite poor, in comparison with 24gbit in industrial implementations
Decryption would be a bit slower due to unfortunate coeffitients in inverse mix column matrixInspired by Professor Paar Cryptography lectures, [check them out](https://www.youtube.com/@introductiontocryptography4223)