[Cryptography] New Hash and RNG functions

Pierre Abbat phma at bezitopo.org
Thu Jan 2 17:46:42 EST 2025


On Thursday, January 2, 2025 11:53:35 AM EST Jacob Christian Munch-Andersen 
wrote:
> I wrote some new primitives, they should be the fastest in their respective
> classes on CPUs with AES hardware acceleration.
> 
> Please have a look and leave a comment
> https://github.com/NoHatCoder/Tjald-Hash-and-RNG-Suite
> 
> And feel free to ask questions, sometimes it is a lot easier to address
> specific questions than to divine what info people will want while writing
> documentation.

In the diagrams, there are AES blocks with one input and one output. AES is a 
block cipher, so it takes two inputs, a key and a block of data. Which is the 
input, and where does the other come from?

In reference.c, where do tjaldr_seed and tjaldr_sbox come from?

The repo has no build system. (This is not about cryptography, but about open-
source software in general.) I strongly suggest setting it up with a build 
system, such as CMake (what I use for C++ programs) or Autotools, so that 
users can use the same commands to build it as for other programs, and delete 
the object files, which the build system will produce.

Have you tested it on big-endian hardware?

Pierre
-- 
La sal en el mar es más que en la sangre.
Le sel dans la mer est plus que dans le sang.





More information about the cryptography mailing list