Blake implementation in C

Its about security and thread safety. What happens if you call blake from multiple threads. Its not thread safe. Also globals can leak information about data as the memory is not secure.