Closed dd86k closed 2 years ago
Currently, because of the (rather silly) use of an enum for a structure template parameter, I cannot make inner_t types available outside the scope for compile-time keyed input.
inner_t
The new idea would be:
struct BLAKE2b(uint digestSize = 512, ulong[8] key = null)
struct BLAKE2s(uint digestSize = 256, uint[8] key = null)
template BLAKE2Impl(T, ...)
I think you get the idea. I'll do this on my free time.
Done in v0.3.0
Currently, because of the (rather silly) use of an enum for a structure template parameter, I cannot make
inner_t
types available outside the scope for compile-time keyed input.The new idea would be:
struct BLAKE2b(uint digestSize = 512, ulong[8] key = null)
defining inner parametersstruct BLAKE2s(uint digestSize = 256, uint[8] key = null)
defining inner parameterstemplate BLAKE2Impl(T, ...)
called from either (and possible p variants)I think you get the idea. I'll do this on my free time.