1. Sep 04, 2019
    • Richard Levitte's avatar
      For Grasshopper OMAC_ACPKM, OMAC and MAGMA, support XOF · 899f0856
      Richard Levitte authored
      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.
      899f0856
  2. Aug 28, 2019
  3. Aug 27, 2019
  4. Aug 26, 2019
  5. Aug 25, 2019
    • Richard Levitte's avatar
      test/run_tests: extend support for more operating systems · 28e0ece4
      Richard Levitte authored
      Not all systems recognise LD_LIBRARY_PATH, and we therefore need to
      set other environment variables.
      
      Currently set:
      
      - LD_LIBRARY_PATH (Linux and ELF HP-UX)
      - DYLD_LIBRARY_PATH (MacOS X)
      - LIBPATH (AIX, OS/2)
      
      More can be added as the need arises.
      
      Fixes #146
      28e0ece4
  6. Aug 24, 2019
    • Dmitry Belyavskiy's avatar
      Merge pull request #160 from levitte/fix-146 · 2e5995f5
      Dmitry Belyavskiy authored
      test/run_tests: Always set paths when OPENSSL_ROOT_DIR is defined
      2e5995f5
    • Richard Levitte's avatar
      .cirrus.yml: install pkgconf · 0fe110a4
      Richard Levitte authored
      That will add the pkg-config on FreeBSD
      0fe110a4
    • Richard Levitte's avatar
      test/run_tests: Always set paths when OPENSSL_ROOT_DIR is defined · 023afe35
      Richard Levitte authored
      When the environment variable OPENSSL_ROOT_DIR is defined, we need to
      ensure that PATH and LD_LIBRARY_PATH are properly affected.
      
      This is a little bit complicated, since OPENSSL_ROOT_DIR could point
      at an OpenSSL build directory as well as an OpenSSL installation
      tree.  Fortunately, it's easy to detect the difference; if it's a
      build tree, there's a sub-directory 'apps'.
      
      For installation trees, it's further complicated by OpenSSL's
      'multilib' target attribute, which exists for platforms that support
      directory separated libraries for differing bitness (typically 32-bit
      and 64-bit libraries).  We trust pkg-config to give us the answer.
      Binaries are easier, they live in $OPENSL_ROOT_DIR/bin.
      
      Fixes #146
      023afe35
    • Dmitry Belyavskiy's avatar
      Merge pull request #159 from levitte/fix-154 · 53a09efd
      Dmitry Belyavskiy authored
      gost_pmeth.c: mitigate for constness difference in copy function
      53a09efd
    • Richard Levitte's avatar
      gost_pmeth.c: mitigate for constness difference in copy function · 3c14a70b
      Richard Levitte authored
      The second argument for the pkey_copy function has been constified in
      OpenSSL to be 3.0.  This is normally not a problem, but when passing a
      pointer to such a function, the compiler does complain.
      
      This change solves the issue by looking at the macros
      OPENSSL_VERSION_MAJOR, which is new in OpenSSL to be 3.0, and set
      constness based on that.
      
      Fixes #154
      3c14a70b
  7. Aug 01, 2019
  8. Jul 28, 2019
  9. Jul 12, 2019
  10. Jun 10, 2019
  11. Jun 09, 2019
  12. Jun 08, 2019
  13. Jun 06, 2019
  14. May 18, 2019
  15. May 14, 2019
  16. May 13, 2019
  17. Apr 30, 2019
  18. Apr 21, 2019
  19. Apr 11, 2019