Search found 732 matches
- Fri Jun 03, 2022 12:04 pm
- Forum: Showcase
- Topic: SHA and HMAC functions ported to Hollywood
- Replies: 10
- Views: 7098
Re: SHA and HMAC functions ported to Hollywood
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 kn...
- Tue Apr 26, 2022 10:28 am
- Forum: Announcements
- Topic: Hollywood 9.1 out now
- Replies: 10
- Views: 7674
Re: Hollywood 9.1 out now
Thank you Andreas, the change log is impressive
- Sun Apr 17, 2022 9:32 am
- Forum: Hollywood bugs
- Topic: Different results on different systems
- Replies: 8
- Views: 3677
Re: Different results on different systems
Thank you Andreas for your efforts to fix this problem
32 bit precision is fine
32 bit precision is fine
- Fri Apr 15, 2022 4:25 pm
- Forum: Hollywood bugs
- Topic: Different results on different systems
- Replies: 8
- Views: 3677
Re: Different results on different systems
Hi jalih, thank you for the suggestion, I'll try your code to see if it's faster than mine :) What I was trying to do is to reduce a 64bit number to a 32bit one ignoring the bits 63-33 so I can use bitwise operators on Linux ARM which currently returns wrong results for number bigger than 32bit, whi...
- Fri Apr 15, 2022 9:14 am
- Forum: Showcase
- Topic: SHA and HMAC functions ported to Hollywood
- Replies: 10
- Views: 7098
Re: SHA and HMAC functions ported to Hollywood
Hello all :) As you can see in the "bug report" subforum I've found a bug with bitwise operators that was returning a full 32bit value if the number is bigger than 32bit. This is happening only on my Raspberry Pi 4 and not on Windows where the bit greater than 32 bit are simply ignored. I'...
- Thu Apr 14, 2022 9:37 am
- Forum: Hollywood bugs
- Topic: Different results on different systems
- Replies: 8
- Views: 3677
Re: Different results on different systems
Hello again, I've found a relatively fast way to deal with this bug, for all people facing this problem and want to reduce a number to 32bit without using bitwise operators (which cause problems on ARM devices) here is my solution: Local max32bit = 4294967295 Local overflow = max32bit + 1 Local mb =...
- Thu Apr 14, 2022 8:47 am
- Forum: Hollywood bugs
- Topic: Different results on different systems
- Replies: 8
- Views: 3677
Re: Different results on different systems
Hello, seems that Cast() has the same problem on ARM machines, a >32bit number cannot be converted into a 32bit one. DebugPrint("CAST() TEST") Local maxvalue = 2^32-1 Local overflow1 = maxvalue+1 Local overflow2 = maxvalue+2^33 DebugPrint(" 1. max 32 bit: ", maxvalue) DebugPrint(...
- Sun Apr 03, 2022 6:15 pm
- Forum: Hollywood bugs
- Topic: Different results on different systems
- Replies: 8
- Views: 3677
Re: Different results on different systems
mmm... ok, I see... so if I split it into two 32bit numbers and do a manual ror/rol on them and then reassemble the "big" number it should work? I will try
- Wed Mar 30, 2022 11:08 am
- Forum: Hollywood bugs
- Topic: Different results on different systems
- Replies: 8
- Views: 3677
Different results on different systems
Hello, I've a strange behaviour with my sha library because it works on Windows but fails on Raspberry, digging in the code I've isolated the problem and seems that bit functions are giving different results, here is the test code: Function _ROL(x, y) Return(Rol(x, y)) EndFunction Local v = 51405282...
Re: ANSI Lib
Thank you very much Andreas!
Yes, I could add many basic stuff like requesters for example
This is very useful on Linux servers with just the console.
Yes, I could add many basic stuff like requesters for example
This is very useful on Linux servers with just the console.