Sujet : AES problem (was: Good hash for pointers)
De : already5chosen (at) *nospam* yahoo.com (Michael S)
Groupes : comp.lang.cDate : 05. Jun 2024, 17:51:59
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <20240605195159.00002f0e@yahoo.com>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13
User-Agent : Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-w64-mingw32)
On Wed, 05 Jun 2024 08:58:46 -0700
Tim Rentsch <
tr.17687@z991.linuxsc.com> wrote:
Michael S <already5chosen@yahoo.com> writes:
I couldn't get the AES-based hash function to compile. There
was a complaint about not being able to inline an 'always-inline'
function. I played around with it for a while but didn't get
anywhere.
Not that using my reference hash is particularly important (I needed it
as a quick way to get something I could rely on; you already have
something else with similar properties) but it's still worth
investigation.
There are two possibilities:
1. gcc compiler's -march=native logic incorrectly detects CPU type on
your computer.
2. you CPU really does not support AES instructions.
If the former, you can force compiler's hand with -maes flag.
If the later, then you can compile it, but wouldn't be able to run my
"reference" hash function on this particular computer
What CPU are you using?