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

[openssl-gost] [gost-engine/engine] c5958a: Start implementing MAGMA algorithm



  Branch: refs/heads/master
  Home:   https://github.com/gost-engine/engine
  Commit: c5958ad35eb481ec342fef73bb4544fd8846eeb5
      https://github.com/gost-engine/engine/commit/c5958ad35eb481ec342fef73bb4544fd8846eeb5
  Author: Dmitry Belyavskiy <beldmit@gmail.com>
  Date:   2018-06-08 (Fri, 08 Jun 2018)

  Changed paths:
    M gost89.c
    M gost89.h
    M gost_crypt.c
    M gost_eng.c
    M gost_lcl.h
    R patches/1.0.2/cipher_modes.diff
    R patches/1.0.2/numeric.diff
    R patches/1.0.2/oids.diff
    R patches/1.0.2/pkcs12.diff
    R patches/1.0.2/smimecap.diff
    A patches/1.1.1/6438.diff

  Log Message:
  -----------
  Start implementing MAGMA algorithm


  Commit: 954aae2c257b164aea3660c8baf98dfc2d03012d
      https://github.com/gost-engine/engine/commit/954aae2c257b164aea3660c8baf98dfc2d03012d
  Author: Dmitry Belyavskiy <beldmit@gmail.com>
  Date:   2018-06-09 (Sat, 09 Jun 2018)

  Changed paths:
    M gost89.c
    M gost_crypt.c

  Log Message:
  -----------
  Finalized magma-cbc


  Commit: a1fe77e9eea4068c5f92fcfa75bbc7db2944ed4b
      https://github.com/gost-engine/engine/commit/a1fe77e9eea4068c5f92fcfa75bbc7db2944ed4b
  Author: Dmitry Belyavskiy <beldmit@gmail.com>
  Date:   2018-06-09 (Sat, 09 Jun 2018)

  Changed paths:
    R patches/1.1.1/6438.diff

  Log Message:
  -----------
  Patch commited to upstream, no need to update


  Commit: 78c3ffe75dfea328fd604f8e2f34338079e09c98
      https://github.com/gost-engine/engine/commit/78c3ffe75dfea328fd604f8e2f34338079e09c98
  Author: Dmitry Belyavskiy <beldmit@gmail.com>
  Date:   2018-06-09 (Sat, 09 Jun 2018)

  Changed paths:
    M INSTALL.md

  Log Message:
  -----------
  This branch requires openssl 1.1.1


  Commit: 2810b8ebebeda933e723c33f8c9f893b76f2391a
      https://github.com/gost-engine/engine/commit/2810b8ebebeda933e723c33f8c9f893b76f2391a
  Author: Dmitry Belyavskiy <beldmit@gmail.com>
  Date:   2018-06-09 (Sat, 09 Jun 2018)

  Changed paths:
    M gost_crypt.c

  Log Message:
  -----------
  Missing free


  Commit: debbfa1ae38f18ea06750514dd950775ad9889d8
      https://github.com/gost-engine/engine/commit/debbfa1ae38f18ea06750514dd950775ad9889d8
  Author: Dmitry Belyavskiy <beldmit@gmail.com>
  Date:   2018-06-14 (Thu, 14 Jun 2018)

  Changed paths:
    M e_gost_err.c
    M e_gost_err.h
    M gost.ec
    A gost.txt
    M gost_grasshopper_cipher.c
    M gost_pmeth.c

  Log Message:
  -----------
  Error codes rebuild


  Commit: 14e654cab19089027b00733594480eb03d8c6da5
      https://github.com/gost-engine/engine/commit/14e654cab19089027b00733594480eb03d8c6da5
  Author: Dmitry Belyavskiy <beldmit@gmail.com>
  Date:   2018-06-14 (Thu, 14 Jun 2018)

  Changed paths:
    M CMakeLists.txt
    M e_gost_err.c
    M e_gost_err.h
    M gost.txt
    M gost_ameth.c
    M gost_eng.c
    M gost_lcl.h
    A gost_omac.c
    M gost_pmeth.c

  Log Message:
  -----------
  OMACs implementation. Unfinished.


  Commit: 6ee305aa55f793269627735081a1133265e91bfb
      https://github.com/gost-engine/engine/commit/6ee305aa55f793269627735081a1133265e91bfb
  Author: Dmitry Belyavskiy <beldmit@gmail.com>
  Date:   2018-06-14 (Thu, 14 Jun 2018)

  Changed paths:
    M e_gost_err.c
    M e_gost_err.h
    M gost.txt
    M gost_ameth.c
    M gost_pmeth.c

  Log Message:
  -----------
  Finalizing OMAC


  Commit: 37e242a6a246cbf51d0e7f16f11f122a8c2051eb
      https://github.com/gost-engine/engine/commit/37e242a6a246cbf51d0e7f16f11f122a8c2051eb
  Author: Dmitry Belyavskiy <beldmit@gmail.com>
  Date:   2018-06-15 (Fri, 15 Jun 2018)

  Changed paths:
    M gost_eng.c
    M gost_pmeth.c

  Log Message:
  -----------
  Corrected MAC name
Redundant values removed


  Commit: 843b2565fba31413f4cfc29cbc08e3e6a863b362
      https://github.com/gost-engine/engine/commit/843b2565fba31413f4cfc29cbc08e3e6a863b362
  Author: Dmitry Belyavskiy <beldmit@gmail.com>
  Date:   2018-06-15 (Fri, 15 Jun 2018)

  Changed paths:
    M gost_eng.c

  Log Message:
  -----------
  Missing digest registration


  Commit: 02519bca598ef347958d0fd70b1c2210afe4a5e4
      https://github.com/gost-engine/engine/commit/02519bca598ef347958d0fd70b1c2210afe4a5e4
  Author: Dmitry Belyavskiy <beldmit@gmail.com>
  Date:   2018-06-15 (Fri, 15 Jun 2018)

  Changed paths:
    M gost_pmeth.c

  Log Message:
  -----------
  Cleanup


  Commit: 920ae61478fa9fc91068910254ca130637ce045a
      https://github.com/gost-engine/engine/commit/920ae61478fa9fc91068910254ca130637ce045a
  Author: Dmitry Belyavskiy <beldmit@gmail.com>
  Date:   2018-06-15 (Fri, 15 Jun 2018)

  Changed paths:
    M gost_omac.c

  Log Message:
  -----------
  Missing initialization


  Commit: 25729ddc501fecd873943450dec45e15d885c20f
      https://github.com/gost-engine/engine/commit/25729ddc501fecd873943450dec45e15d885c20f
  Author: Dmitry Belyavskiy <beldmit@gmail.com>
  Date:   2018-06-15 (Fri, 15 Jun 2018)

  Changed paths:
    A etalon/gh.dat
    A etalon/mac.txt
    A etalon/magma.dat

  Log Message:
  -----------
  Etalon files for GOST R 34.13-2015 (MAC)


  Commit: 586ebd520657eaed361968c55c1ef3e268cf5053
      https://github.com/gost-engine/engine/commit/586ebd520657eaed361968c55c1ef3e268cf5053
  Author: Dmitry Belyavskiy <beldmit@gmail.com>
  Date:   2018-06-15 (Fri, 15 Jun 2018)

  Changed paths:
    M gost_omac.c

  Log Message:
  -----------
  Bugfix - copy dgst context


  Commit: 5186d798730c1ecec7ed40126beaf493804fcf45
      https://github.com/gost-engine/engine/commit/5186d798730c1ecec7ed40126beaf493804fcf45
  Author: Dmitry Belyavskiy <beldmit@gmail.com>
  Date:   2018-06-19 (Tue, 19 Jun 2018)

  Changed paths:
    M gost_crypt.c
    M gost_eng.c
    M gost_grasshopper_cipher.c
    M gost_lcl.h

  Log Message:
  -----------
  Magma CTR (no meshing), compile-only version.


  Commit: b7834a0ee1405853dda1d85abd66634574982438
      https://github.com/gost-engine/engine/commit/b7834a0ee1405853dda1d85abd66634574982438
  Author: Dmitry Belyavskiy <beldmit@gmail.com>
  Date:   2018-06-20 (Wed, 20 Jun 2018)

  Changed paths:
    M gost_crypt.c

  Log Message:
  -----------
  Make test happy


  Commit: 2d2f10ed798cdc221ca63058768d4dcfdab901f8
      https://github.com/gost-engine/engine/commit/2d2f10ed798cdc221ca63058768d4dcfdab901f8
  Author: Dmitry Belyavskiy <beldmit@gmail.com>
  Date:   2018-06-21 (Thu, 21 Jun 2018)

  Changed paths:
    M CMakeLists.txt

  Log Message:
  -----------
  Make tags


  Commit: 805c35f310917157b9618122784f4aba7a929344
      https://github.com/gost-engine/engine/commit/805c35f310917157b9618122784f4aba7a929344
  Author: Dmitry Belyavskiy <beldmit@gmail.com>
  Date:   2018-06-21 (Thu, 21 Jun 2018)

  Changed paths:
    M gost89.c

  Log Message:
  -----------
  ACPKM meshing for Magma


  Commit: f8071bfb8908b78e57b44c54806d91bfbd80320b
      https://github.com/gost-engine/engine/commit/f8071bfb8908b78e57b44c54806d91bfbd80320b
  Author: Dmitry Belyavskiy <beldmit@gmail.com>
  Date:   2018-06-21 (Thu, 21 Jun 2018)

  Changed paths:
    M gost89.c

  Log Message:
  -----------
  Some more iterations of key meshing.


  Commit: bca47af46027b1b84c23af1c84aef1bf901778f8
      https://github.com/gost-engine/engine/commit/bca47af46027b1b84c23af1c84aef1bf901778f8
  Author: Dmitry Belyavskiy <beldmit@gmail.com>
  Date:   2018-07-12 (Thu, 12 Jul 2018)

  Changed paths:
    M gost_ec_sign.c
    M gost_lcl.h
    M gost_params.c

  Log Message:
  -----------
  Explicitely setting cofactor


  Commit: 01d26132d156ba9fff7a8142d5a6899d7b2e6286
      https://github.com/gost-engine/engine/commit/01d26132d156ba9fff7a8142d5a6899d7b2e6286
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2018-07-19 (Thu, 19 Jul 2018)

  Changed paths:
    M CMakeLists.txt
    M gost_ameth.c

  Log Message:
  -----------
  Make it compile with shimmed openssl-1.0.2


  Commit: 4c6fcee148d708f035edaa43e7f26785c15fa7a5
      https://github.com/gost-engine/engine/commit/4c6fcee148d708f035edaa43e7f26785c15fa7a5
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2018-07-20 (Fri, 20 Jul 2018)

  Changed paths:
    M gost_md.c
    M gost_md2012.c

  Log Message:
  -----------
  Produce correct GOST signatures

Offset commit 7f572e958b13041056f377a62d3219633cfb1e8a
Old openssl still needs EVP_MD_FLAG_PKEY_METHOD_SIGNATURE flag to be
set.


  Commit: 0ee4f8fc839278672e47213549bfb152ad3d2654
      https://github.com/gost-engine/engine/commit/0ee4f8fc839278672e47213549bfb152ad3d2654
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2018-07-20 (Fri, 20 Jul 2018)

  Changed paths:
    M CMakeLists.txt
    M INSTALL.md
    M e_gost_err.c
    M e_gost_err.h
    A etalon/gh.dat
    A etalon/mac.txt
    A etalon/magma.dat
    M gost.ec
    A gost.txt
    M gost89.c
    M gost89.h
    M gost_ameth.c
    M gost_crypt.c
    M gost_eng.c
    M gost_grasshopper_cipher.c
    M gost_lcl.h
    A gost_omac.c
    M gost_pmeth.c

  Log Message:
  -----------
  Merge branch 'magma_impl' into openssl_1_0_2_alt


  Commit: 6547c44e46129c1d9d32760fa37a1a81fa085231
      https://github.com/gost-engine/engine/commit/6547c44e46129c1d9d32760fa37a1a81fa085231
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2018-07-22 (Sun, 22 Jul 2018)

  Changed paths:
    M CMakeLists.txt
    A test_grasshopper.c

  Log Message:
  -----------
  Add make test and test_grasshopper

test_grasshopper: test modes to match GOST vectors
Only ECB and CTR modes are tested. OBF, CBC, CFB modes is not testable
under openssl.


  Commit: 370c40dfa4e9a372da03b68453a4af0c10d30a90
      https://github.com/gost-engine/engine/commit/370c40dfa4e9a372da03b68453a4af0c10d30a90
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2018-07-22 (Sun, 22 Jul 2018)

  Changed paths:
    M test_grasshopper.c

  Log Message:
  -----------
  test_grasshopper: Test for OMAC


  Commit: cf2ab51a449ce3d92163217c8078f0f625aac7ae
      https://github.com/gost-engine/engine/commit/cf2ab51a449ce3d92163217c8078f0f625aac7ae
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2018-07-22 (Sun, 22 Jul 2018)

  Changed paths:
    M gost_grasshopper_cipher.c

  Log Message:
  -----------
  grasshopper: Fix streaming for CTR mode

Previously CTR did not continue unfinished block on the next cipher
iteration.


  Commit: 6e163b2cdd1233b2b0f46ddd2c9e0fdab0d318f8
      https://github.com/gost-engine/engine/commit/6e163b2cdd1233b2b0f46ddd2c9e0fdab0d318f8
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2018-07-22 (Sun, 22 Jul 2018)

  Changed paths:
    M test_grasshopper.c

  Log Message:
  -----------
  test_grasshopper: Stream modes testing

Make sure stream modes can encrypt any block size.


  Commit: d40efde88e6c6589d9d4f5128ec92178776c518a
      https://github.com/gost-engine/engine/commit/d40efde88e6c6589d9d4f5128ec92178776c518a
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2018-07-23 (Mon, 23 Jul 2018)

  Changed paths:
    M test_grasshopper.c

  Log Message:
  -----------
  test_grasshopper: ctr test 2 and ofb with truncated iv tests

Full test of OFB to match GOST R 34.13-2015 test vectors is impossible,
due to test IVs are having size (256-bits) over the maximum openssl can
allow (128-bits).

I generated new test vectors from canonical implementation
from `PR_GOSTR_bch_v9.zip` (revision of 2016-10-28) by truncating test
IVs in half.


  Commit: 1e15537d7583cdd5a4b003b5efb92f0b6e1fdcc6
      https://github.com/gost-engine/engine/commit/1e15537d7583cdd5a4b003b5efb92f0b6e1fdcc6
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2018-07-23 (Mon, 23 Jul 2018)

  Changed paths:
    M gost_grasshopper_cipher.c
    M gost_grasshopper_cipher.h

  Log Message:
  -----------
  grasshopper: Fix OFB implementation.

Previous implementation was not OFB at all, and fail tests.

Note: This implementation is for fixed width 128-bit IV which makes
shift regiser redundant.


  Commit: ee15414bf118b8e3370ec8b5f0c4ff74eea9b31f
      https://github.com/gost-engine/engine/commit/ee15414bf118b8e3370ec8b5f0c4ff74eea9b31f
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2018-07-23 (Mon, 23 Jul 2018)

  Changed paths:
    M test_grasshopper.c

  Log Message:
  -----------
  test_grasshopper: Test OFB after it's fixed


  Commit: 9c0f7cd74fc568fdd62571c660060be2a93aeab9
      https://github.com/gost-engine/engine/commit/9c0f7cd74fc568fdd62571c660060be2a93aeab9
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2018-07-23 (Mon, 23 Jul 2018)

  Changed paths:
    M test_grasshopper.c

  Log Message:
  -----------
  test_grasshopper: Tests for CBC and CFB

These tests are with generated test vectors from canonical TC26
implementation with truncated IVs.


  Commit: 3b13010957ba21890b5a9ece321a14aada1d7deb
      https://github.com/gost-engine/engine/commit/3b13010957ba21890b5a9ece321a14aada1d7deb
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2018-07-23 (Mon, 23 Jul 2018)

  Changed paths:
    M test_grasshopper.c

  Log Message:
  -----------
  test_grasshopper: Add chunked test and summarize testing

Encrypt with small chunks to verify that internal state is handled
correctly between calls.


  Commit: 74d13288e0a664f2615014d441087792eabc5cfa
      https://github.com/gost-engine/engine/commit/74d13288e0a664f2615014d441087792eabc5cfa
  Author: Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
  Date:   2018-07-25 (Wed, 25 Jul 2018)

  Changed paths:
    M gost_grasshopper_cipher.c
    M gost_grasshopper_cipher.h

  Log Message:
  -----------
  Fix grasshopper-ctr reinitialization

Also, document why CTR IV size is now set to 16, so user is noted to set
IV appropriately to full extent (including counter). Basically, it's for
openssh (and alike) to make it copy IV from privilege separated process.


  Commit: a53589ac2f9dffe4ef3c7f92d11d1d1a04cf0c49
      https://github.com/gost-engine/engine/commit/a53589ac2f9dffe4ef3c7f92d11d1d1a04cf0c49
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2018-07-25 (Wed, 25 Jul 2018)

  Changed paths:
    M test_grasshopper.c

  Log Message:
  -----------
  test_grasshopper: Remove long IV test for CTR mode


  Commit: 300c5372b29a3752256af69ee8f642970186b099
      https://github.com/gost-engine/engine/commit/300c5372b29a3752256af69ee8f642970186b099
  Author: Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
  Date:   2018-07-25 (Wed, 25 Jul 2018)

  Changed paths:
    M CMakeLists.txt
    M test/00-engine.t

  Log Message:
  -----------
  Fix perl tests and library name


  Commit: 1476de45543e8ff75ec591040b4da1df268c4d39
      https://github.com/gost-engine/engine/commit/1476de45543e8ff75ec591040b4da1df268c4d39
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2018-07-25 (Wed, 25 Jul 2018)

  Changed paths:
    M CMakeLists.txt

  Log Message:
  -----------
  Add perl test harness to CMakeLists to run on make test


  Commit: 0329b9a709d7467284fdde076fa63cec7834980d
      https://github.com/gost-engine/engine/commit/0329b9a709d7467284fdde076fa63cec7834980d
  Author: Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
  Date:   2018-07-25 (Wed, 25 Jul 2018)

  Changed paths:
    M test/run_tests

  Log Message:
  -----------
  test: Make perl tests report success or failure

Co-authored-by: Mikhail Gordeev <obirvalger@altlinux.org>


  Commit: 767ac3fdf61c3aaec9069a9a42bbb39b3b772574
      https://github.com/gost-engine/engine/commit/767ac3fdf61c3aaec9069a9a42bbb39b3b772574
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2018-07-25 (Wed, 25 Jul 2018)

  Changed paths:
    M CMakeLists.txt
    R gost_grasshopper_mac.c
    R gost_grasshopper_mac.h

  Log Message:
  -----------
  Remove empty gost_grasshopper_mac.* files


  Commit: eb01b80247de3fa3848d58d7f2816aff8f396630
      https://github.com/gost-engine/engine/commit/eb01b80247de3fa3848d58d7f2816aff8f396630
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2018-07-25 (Wed, 25 Jul 2018)

  Changed paths:
    M CMakeLists.txt
    A compat.h
    M gost_ameth.c
    M gost_grasshopper_cipher.c
    M gost_lcl.h
    M gost_md.c
    M gost_md2012.c

  Log Message:
  -----------
  Move openssl-1.0.2 shim layer here

Previously, we had shim layer in our openssl branch
Could be squashed with 01d26132d156ba9fff7a8142d5a6899d7b2e6286


  Commit: 20e590a4f0dc7a563b78e798c0a352b835d50bfa
      https://github.com/gost-engine/engine/commit/20e590a4f0dc7a563b78e798c0a352b835d50bfa
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2018-07-25 (Wed, 25 Jul 2018)

  Changed paths:
    M test_grasshopper.c

  Log Message:
  -----------
  test_grasshopper: Make it compile on 1.1.0

openssl-1.1.0 made ctx opaque and does not allow it on stack anymore.


  Commit: d44131cf7cae81da5bafb9cb1129b026b8cb0797
      https://github.com/gost-engine/engine/commit/d44131cf7cae81da5bafb9cb1129b026b8cb0797
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2018-07-25 (Wed, 25 Jul 2018)

  Changed paths:
    M gost_omac.c

  Log Message:
  -----------
  Make grasshopper OMAC result size 8 instead of 4

Two reasons: to match GOST R test vector size, just make it bigger.


  Commit: 641223f4d077bfd41143420c852aabbef8ca7fdf
      https://github.com/gost-engine/engine/commit/641223f4d077bfd41143420c852aabbef8ca7fdf
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2018-07-25 (Wed, 25 Jul 2018)

  Changed paths:
    M test_grasshopper.c

  Log Message:
  -----------
  test_grasshopper: Warn if EVP_MD_meth_set_result_size is performed


  Commit: 234823a6d6971a72b29247a4893db5a61f8b992a
      https://github.com/gost-engine/engine/commit/234823a6d6971a72b29247a4893db5a61f8b992a
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2018-07-26 (Thu, 26 Jul 2018)

  Changed paths:
    M test_grasshopper.c

  Log Message:
  -----------
  test_grasshopper: Rework tests to be more flexible


  Commit: 488f3da97f0833c1608bffb6ea510be4314cef7f
      https://github.com/gost-engine/engine/commit/488f3da97f0833c1608bffb6ea510be4314cef7f
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2018-07-26 (Thu, 26 Jul 2018)

  Changed paths:
    M gost_eng.c
    M gost_grasshopper_cipher.c
    M gost_grasshopper_cipher.h
    M test/00-engine.t
    M test_grasshopper.c

  Log Message:
  -----------
  Add kuznyechik_ctracpkm


  Commit: 07c957df13588802781cb36d1539e22fba7e071e
      https://github.com/gost-engine/engine/commit/07c957df13588802781cb36d1539e22fba7e071e
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2018-07-26 (Thu, 26 Jul 2018)

  Changed paths:
    M gost_grasshopper_cipher.c
    M test_grasshopper.c

  Log Message:
  -----------
  Set default value for CTR ACPKM limit

Default limit for Kuznyechik is 4KiB, from TLS 1.2 recommendations. As
a consequence it does not need to be configured via EVP_CTRL_KEY_MESH.
Also, explicitly set ACPKM limit in tests.


  Commit: 2be13cb5c7e96d6bdead59b37717c2f49a581e9e
      https://github.com/gost-engine/engine/commit/2be13cb5c7e96d6bdead59b37717c2f49a581e9e
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2018-07-26 (Thu, 26 Jul 2018)

  Changed paths:
    M gost_grasshopper_cipher.c

  Log Message:
  -----------
  Ensure proper cipher type for EVP_CTRL_KEY_MESH


  Commit: ae390d45207aadb69eb96d8c11c1ee888f70815f
      https://github.com/gost-engine/engine/commit/ae390d45207aadb69eb96d8c11c1ee888f70815f
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2018-07-31 (Tue, 31 Jul 2018)

  Changed paths:
    M gost_grasshopper_cipher.c
    M gost_grasshopper_cipher.h
    M test_grasshopper.c

  Log Message:
  -----------
  Optimize out skip_sections and add tests for ACPKM-Master

ACPKM-Master is from R 23565.1.017-2018, it will be required for
ACPKM-OMAC for TLS 1.2.


  Commit: 636dd0c1f36872f0abcb4f8a465e837929ed19d1
      https://github.com/gost-engine/engine/commit/636dd0c1f36872f0abcb4f8a465e837929ed19d1
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2018-08-02 (Thu, 02 Aug 2018)

  Changed paths:
    M gost_omac.c

  Log Message:
  -----------
  Fix EVP_MD_CTX_copy_ex for OMAC

Openssl copies a state between valid contexts. But, EVP_MD_CTX_copy_ex
just memcpy-s private data (md_data), which points to OMAC_CTX), which
have pointer to CMAC_CTX. Copying pointer makes CMAC context just the
same on the both sides. As a consequence, we can not do normal copy of a
state between CMAC contexts. As a fix, we just clone it if it's equal
between copy sides.

Reported-by: Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>


  Commit: 10ae275fd54e600c08ee330eaf9738aa476e0ca4
      https://github.com/gost-engine/engine/commit/10ae275fd54e600c08ee330eaf9738aa476e0ca4
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2018-08-08 (Wed, 08 Aug 2018)

  Changed paths:
    M compat.h
    M gost_omac.c

  Log Message:
  -----------
  Fix possible overflow of digest result writing

Openssl is already have output result size in EVP_MD.md_size
We should not exceed its value when writing digest output.
This should be fixed more consistently, probably, by removing
dgst_size from OMAC_CTX.


  Commit: e0816ed2014bad0e5293cafcce2c07a66a4f1cb0
      https://github.com/gost-engine/engine/commit/e0816ed2014bad0e5293cafcce2c07a66a4f1cb0
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2018-08-08 (Wed, 08 Aug 2018)

  Changed paths:
    M gost_omac.c

  Log Message:
  -----------
  Allow EVP_MD_CTX_copy_ex OMAC before key is set

Reported-by: Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>


  Commit: 28ab2b8b0ab2d1677df3940cf4fcdf1597da4ccf
      https://github.com/gost-engine/engine/commit/28ab2b8b0ab2d1677df3940cf4fcdf1597da4ccf
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2018-08-08 (Wed, 08 Aug 2018)

  Changed paths:
    M CMakeLists.txt
    M gost_eng.c
    M gost_lcl.h
    A gost_omac_acpkm.c
    M test_grasshopper.c

  Log Message:
  -----------
  Add grasshopper_omac_acpkm (OMAC-ACPKM)


  Commit: dd507838fbe0b7d8e56570384b5fd6b44a6403b6
      https://github.com/gost-engine/engine/commit/dd507838fbe0b7d8e56570384b5fd6b44a6403b6
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2018-08-08 (Wed, 08 Aug 2018)

  Changed paths:
    M compat.h

  Log Message:
  -----------
  Add NIDs to compile with vanilla OpenSSL_1_1_0-stable


Compare: https://github.com/gost-engine/engine/compare/ae3020da5ffb...dd507838fbe0
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.