[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[openssl-gost] [gost-engine/engine] 899f08: For Grasshopper OMAC_ACPKM, OMAC and MAGMA, suppor...



  Branch: refs/heads/master
  Home:   https://github.com/gost-engine/engine
  Commit: 899f08567f4ee15fc7c54ec01cd2adafe2ac7b60
      https://github.com/gost-engine/engine/commit/899f08567f4ee15fc7c54ec01cd2adafe2ac7b60
  Author: Richard Levitte <richard@levitte.org>
  Date:   2019-09-04 (Wed, 04 Sep 2019)

  Changed paths:
    M gost_omac.c
    M gost_omac_acpkm.c
    M test_grasshopper.c

  Log Message:
  -----------
  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.


  Commit: 31c3aa7e30ab0820409ed702c668c19508af9604
      https://github.com/gost-engine/engine/commit/31c3aa7e30ab0820409ed702c668c19508af9604
  Author: Dmitry Belyavskiy <beldmit@users.noreply.github.com>
  Date:   2019-09-04 (Wed, 04 Sep 2019)

  Changed paths:
    M gost_omac.c
    M gost_omac_acpkm.c
    M test_grasshopper.c

  Log Message:
  -----------
  Merge pull request #169 from levitte/omac-ctx-size

For Grasshopper OMAC_ACPKM, OMAC and MAGMA, support XOF


Compare: https://github.com/gost-engine/engine/compare/ecad16119a10...31c3aa7e30ab