Commit Graph

12 Commits

Author SHA1 Message Date
Stephen Heumann 58a9c564ae Implement "KDF in Counter Mode" from NIST SP 800-108.
This is currently instantiated with HMAC-SHA256 as the pseudo-random function, but is implemented using a template so that other PRFs could also be used.
2024-04-15 19:48:42 -05:00
Stephen Heumann 60e4998d16 Implement AES-CMAC. 2024-04-14 22:17:07 -05:00
Stephen Heumann 5a986a996f Implement RC4.
This is another old algorithm with known vulnerabilities, but it is still used in some places.
2023-12-01 21:39:40 -06:00
Stephen Heumann 8469c7744c Implement MD4.
This is an old and insecure hash algorithm, but some things of interest still use it.
2023-11-30 18:35:11 -06:00
Stephen Heumann c1e1caa766 Implement HMAC-MD5, HMAC-SHA1, and HMAC-SHA256. 2023-11-29 20:03:37 -06:00
Stephen Heumann df0de0d979 Use a common template for all the file checksum programs. 2017-11-19 22:43:31 -06:00
Stephen Heumann 5c9b2f0877 Build libraries containing the crypto and hash codes.
There are separate libraries for crypto and hashing, lib65816crypto and lib65816hash. The test programs are now built by linking to the libraries.
2017-11-19 22:40:09 -06:00
Stephen Heumann 756ff98a6a Revise makefile to generate object files separately from programs. 2017-11-19 21:07:45 -06:00
Stephen Heumann 2f34f006ba Force MD5 tables to be page-aligned, which should save a cycle in some cases. 2017-07-04 14:37:17 -05:00
Stephen Heumann 0f144df99b Add implementation of MD5 hash function. 2017-07-04 12:15:00 -05:00
Stephen Heumann 015ae8559f Add makefile entries for SHA-256 programs. 2017-07-03 23:58:57 -05:00
Stephen Heumann 58a3945d53 Add basic makefile. 2017-07-02 20:26:20 -05:00