Skip to content

tux3/ChaCha20

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

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

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published