openssl/crypto/siphash
Richard Levitte 425036130d Fix SipHash init order.
Setting the SipHash hash size and setting its key is done with two
independent functions...  and yet, the internals depend on both.

Unfortunately, the function to change the size wasn't adapted for the
possibility that the key was set first, with a different hash size.

This changes the hash setting function to fix the internal values
(which is easy, fortunately) according to the hash size.

evpmac.txt value for digestsize:8 is also corrected.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/7613)
2018-11-12 07:15:55 +01:00
..
build.info EVP_MAC: Integrate SipHash EVP_PKEY_METHOD into generic MAC EVP_PKEY_METHOD 2018-10-30 08:09:07 +01:00
siphash.c Fix SipHash init order. 2018-11-12 07:15:55 +01:00
siphash_ameth.c Add support getting raw private/public keys 2018-06-08 10:04:09 +01:00
siphash_local.h
siphash_meth.c EVP_MAC: Add SipHash implementation 2018-10-30 08:09:07 +01:00