octavo icon indicating copy to clipboard operation
octavo copied to clipboard

Implement SHAKE128 and SHAKE256 functions

Open hauleth opened this issue 9 years ago • 1 comments

hauleth avatar Oct 28 '15 15:10 hauleth

There is notable issue with SHAKE128 and SHAKE256 functions implementation. It's output size depends on variable which make Digest::output_bits dependent on internal state. Main problem here is that this would require using Vec in HMAC implementation and it would be impossible to replace it with static array when associated constants lands. Currently there is no RFC to provide template constants that could solve this problem so discussion remains.

hauleth avatar Nov 07 '15 17:11 hauleth