Skip to content
/ asm-hash Public

A collection of cryptographic hash functions, written in C and Assembly and tested on Raspberry Pi

License

Notifications You must be signed in to change notification settings

fsasm/asm-hash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

asm-hash

A collection of common cryptographic hash functions written in C and assembly.

Goal

This project began as an exercise to learn and practice assembly for ARMv6-CPUs and also to learn about cryptographic hash functions. Because these hash functions only need simple arithmetic and logical integer operations, it's a great exercise for beginners. In order to be portable and fast, everything is written in portable C and the critical parts are written in assembly. The assembly code is tested on the Raspberry Pi.

Implemented Hash Algorithms

  • MD5
  • SHA-1
  • SHA-2 (224, 256, 384, 512, 512/224 and 512/256 variants)
  • Whirlpool
  • BLAKE (224, 256 384 and 512 variants)
  • Grøstl (224, 256 384 and 512 variants)
  • JH (224, 256 384 and 512 variants)

License

All the source code in this project is licensed under the 2-clause BSD License. The full text of the license can be found in the file LICENSE.

About

A collection of cryptographic hash functions, written in C and Assembly and tested on Raspberry Pi

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published