siphash: Properly set mac size in sipcopy
authorTomas Mraz <tomas@openssl.org>
Thu, 21 Apr 2022 15:09:14 +0000 (17:09 +0200)
committerTomas Mraz <tomas@openssl.org>
Wed, 27 Apr 2022 08:05:03 +0000 (10:05 +0200)
commit905fec4f4d6bb8a978476cbce0f293ffc683b5fd
tree73cd55ab1bd8acccebb0c88decf4c3d4999dadb1
parent650b142c2e4c1d57868bdbbe1f7f4549ee77f8eb
siphash: Properly set mac size in sipcopy

Also fully duplicate the context on dup

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18142)
providers/implementations/macs/siphash_prov.c