rsaenh(2/6): Add support for SHA-256, SHA-384, and SHA-512 (try 2)

Alexandre Julliard julliard at winehq.org
Mon Mar 15 09:06:02 CDT 2010


Juan Lang <juan.lang at gmail.com> 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 Julliard
julliard at winehq.org



More information about the wine-devel mailing list