/* BLAKE2 reference source code package - reference C implementations Written in 2012 by Samuel Neves <[email protected]> To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty. You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>. */ #define PARALLELISM_DEGREE … void blake2sp_init( blake2sp_state *S ) { … } struct Blake2ThreadData { … }; void Blake2ThreadData::Update() { … } #ifdef RAR_SMP THREAD_PROC(Blake2Thread) { … } #endif void blake2sp_update( blake2sp_state *S, const byte *in, size_t inlen ) { … } void blake2sp_final( blake2sp_state *S, byte *digest ) { … }