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

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



  Branch: refs/heads/ossl_patched
  Home:   https://github.com/gost-engine/engine
  Commit: 6a2542d1e514bb8f37f8307fa10e33ad3e092014
      https://github.com/gost-engine/engine/commit/6a2542d1e514bb8f37f8307fa10e33ad3e092014
  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: 4976e022f58f132fb1157fc452499afdbb64a234
      https://github.com/gost-engine/engine/commit/4976e022f58f132fb1157fc452499afdbb64a234
  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/5cd9a218ba51...4976e022f58f