Re: rsaenh(2/6): Add support for SHA-256, SHA-384, and SHA-512 (try 2)
> ULL constants are not portable and should be avoided. Ah, right. Sorry, I only glanced at the source after checking the license. I'll fix and resend (and have a closer look.) --Juan
Re: rsaenh(2/6): Add support for SHA-256, SHA-384, and SHA-512 (try 2)
Juan Lang writes: > +/* Hash constant words K for SHA-384 and SHA-512: */ > +const static sha2_word64 K512[80] = { > + 0x428a2f98d728ae22ULL, 0x7137449123ef65cdULL, > + 0xb5c0fbcfec4d3b2fULL, 0xe9b5dba58189dbbcULL, ULL constants are not portable and should be avoided. -- Alexandre Jull