mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-03-10 09:09:27 -04:00

Instead of allocating the blake2s_ctx in the blake2s() function we pass it as a pointer as an argument to be able to better control where the variable is in memory.
blake2s
A Blake2s implementation taken from Joachim Strömbergson's
https://github.com/secworks/blake2s
Specifically from
https://github.com/secworks/blake2s/tree/master/src/model
Minor local changes for build purposes.