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

[openssl-gost] [gost-engine/engine] 0232aa: test_digest: simple digest tests



  Branch: refs/heads/master
  Home:   https://github.com/gost-engine/engine
  Commit: 0232aa9efea28d3a3ecde4f8ce8ce9c96189af30
      https://github.com/gost-engine/engine/commit/0232aa9efea28d3a3ecde4f8ce8ce9c96189af30
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2019-04-10 (Wed, 10 Apr 2019)

  Changed paths:
    M CMakeLists.txt
    A test_digest.c

  Log Message:
  -----------
  test_digest: simple digest tests

Especially test alginment problems on MIPSel.


  Commit: e576f52929756beb785f29aa14b6393d7ac6c298
      https://github.com/gost-engine/engine/commit/e576f52929756beb785f29aa14b6393d7ac6c298
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2019-04-10 (Wed, 10 Apr 2019)

  Changed paths:
    M gosthash2012.c

  Log Message:
  -----------
  Fix Streebog alignment problem

Some architectures in some circumstances do not allow unaligned
memory access (such as ARM, MIPS) triggering SIGBUS. This patch
very crudely fixes this issue.

The issue is found and original fix is proposed by Eric Biggers:

  https://patchwork.kernel.org/patch/10878865/


  Commit: a7a5ff4a0eaff8586f963d7d15a3b3236201c5d0
      https://github.com/gost-engine/engine/commit/a7a5ff4a0eaff8586f963d7d15a3b3236201c5d0
  Author: Dmitry Belyavskiy <beldmit@users.noreply.github.com>
  Date:   2019-04-10 (Wed, 10 Apr 2019)

  Changed paths:
    M CMakeLists.txt
    M gosthash2012.c
    A test_digest.c

  Log Message:
  -----------
  Merge pull request #130 from vt-alt/align2

test_digest and alignment fix for Streebog


Compare: https://github.com/gost-engine/engine/compare/89d1db911673...a7a5ff4a0eaf