[Libre-soc-dev] gcc binutils sv cryptoprimitives etc

Luke Kenneth Casson Leighton lkcl at lkcl.net
Wed Jan 20 16:34:28 GMT 2021


https://github.com/cryptonotefoundation/cryptonote/blob/8edd998304431c219b432194b7a3847b44b576c3/src/crypto/blake256.c#L59

blake, part of monero, also uses fixed-width rotates combined with XOR.

https://github.com/cryptonotefoundation/cryptonote/blob/8edd998304431c219b432194b7a3847b44b576c3/src/crypto/chacha8.c#L32

chacha8 likewise, in fact those look like the same rotate offsets: 16 12 8
7.

this is all leaning "hmmm more FUs with general purpose ROR/L" than "hmm
dedicated hardcoded HDL".

l.

-- 
---
crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68


More information about the Libre-soc-dev mailing list