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

[openssl-gost] [gost-engine/engine] 16b2dd: Provide cmake test if alignment requirement is strict



  Branch: refs/heads/openssl_1_1_1
  Home:   https://github.com/gost-engine/engine
  Commit: 16b2dd87b36105d549b29ee0f34284350c8024c0
      https://github.com/gost-engine/engine/commit/16b2dd87b36105d549b29ee0f34284350c8024c0
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2020-09-18 (Fri, 18 Sep 2020)

  Changed paths:
    M CMakeLists.txt

  Log Message:
  -----------
  Provide cmake test if alignment requirement is strict

This is based on AX_CHECK_ALIGNED_ACCESS_REQUIRED from autoconf-archive.

Note, that on some arches unaligned access behavior could be changed at
runtime via prctl(1). Also, unaligned memory access is still slower (and
very slow on some arches) even if it's not strictly required.

(cherry picked from commit d2810d23a9f30ae885f9bf0783f0847a12972ff3)


  Commit: 22d446a1f4320318704d4050b0486567505dc960
      https://github.com/gost-engine/engine/commit/22d446a1f4320318704d4050b0486567505dc960
  Author: Dmitry Belyavskiy <beldmit@gmail.com>
  Date:   2020-09-18 (Fri, 18 Sep 2020)

  Changed paths:
    M gost_grasshopper_math.h

  Log Message:
  -----------
  Strict alignment Kuznyechik bugfix

(cherry picked from commit 1997dd99db27383a89d1f91bd4d7091b553ca6ee)


Compare: https://github.com/gost-engine/engine/compare/fc2f9624c3ae...22d446a1f432