Page 2 of 2

Re: SHA and HMAC functions ported to Hollywood

Posted: Fri Jun 03, 2022 12:04 pm
by Allanon
Hi @lazi!
Happy that it is working now!
If you have updated to the latest version of Hollywood please try the update libSHA I've uploaded just a few minutes ago on GitHub, it should be faster now, no more emulation of bitwise operators since Andreas has fixed this problem on ARM devices :)
Let me know if it works, if not working just change the handle_hw_bug to True:

Code: Select all

; HANDLER FOR BUG IN ARM DEVICES FOR BITWISE OPERATIONS
Local handle_hw_bug = True
I've not removed the old implementation completely because I only tested it on Pi4, Windows & Linux

P.S.: at the end of the script I wrote some time counters to check the performances and to verify if my changes produced speed ups or not :)