Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

README.md

ChaCha20

A homemade ChaCha20 implementation in x86_64 nasm ASM

Note that this code is NOT optimized, has NOT been thoroughly checked, and breaks all calling conventions ever made.
It Works On My Machine, but please use an official implementation for any serious project.

An example test file is provided, it can be compiled and run like this :

nasm chacha20.asm -f elf64 -g -F dwarf
nasm test.asm -f elf64 -g -F dwarf
ld chacha20.o test.o -o test
./test | xxd

The output should match the all-zero test vector provided here

About

ChaCha20 implementation in x86_64 nasm ASM

Resources

Releases

No releases published

Packages

No packages published