UPDATED BLAKE IMPLEMENTATION IN C