]> wagner.pp.ru Git - openssl-gost/engine.git/commit
For Grasshopper OMAC_ACPKM, OMAC and MAGMA, support XOF 169/head
authorRichard Levitte <richard@levitte.org>
Wed, 4 Sep 2019 14:22:26 +0000 (16:22 +0200)
committerRichard Levitte <richard@levitte.org>
Wed, 4 Sep 2019 14:33:52 +0000 (16:33 +0200)
commit899f08567f4ee15fc7c54ec01cd2adafe2ac7b60
treefcc5bfe1fefac568cce8737fb90ba2c3efc2ef31
parentecad16119a101a1f1947a80e9f630ac2dc2c2794
For Grasshopper OMAC_ACPKM, OMAC and MAGMA, support XOF

XOF (eXtendable-Output Function) is supported in OpenSSL since version
1.1.1.  Unfortunately, that support is limited, as it requires calling
EVP_DigestFinalXOF().  However, the grasshopper code wasn't compatible.

This changeset adds XOF support in grasshopper

This changeset removes the _meth_ calls from test_grasshopper.c (they
should never have been there, but considering support for XOF came so
late in OpenSSL, their presence is understandable) and uses supported
functionality for this sort of thing instead.
gost_omac.c
gost_omac_acpkm.c
test_grasshopper.c