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

[openssl-gost] [gost-engine/engine] bbcf0a: Update gost_grasshopper_cipher.c



  Branch: refs/heads/openssl_1_1_0
  Home:   https://github.com/gost-engine/engine
  Commit: bbcf0a8fdd0a84563e65d9e9aea3b8e6254e7343
      https://github.com/gost-engine/engine/commit/bbcf0a8fdd0a84563e65d9e9aea3b8e6254e7343
  Author: andyk555 <36532623+andyk555@users.noreply.github.com>
  Date:   2018-08-20 (Mon, 20 Aug 2018)

  Changed paths:
    M gost_grasshopper_cipher.c

  Log Message:
  -----------
  Update gost_grasshopper_cipher.c

(cherry picked from commit 6be1ab0065c7b2d24d1835f8b1bcb7cd28fb76e5)


  Commit: fb4e4e11e21242b10d4c24ffcfa406ed335191fa
      https://github.com/gost-engine/engine/commit/fb4e4e11e21242b10d4c24ffcfa406ed335191fa
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2018-08-20 (Mon, 20 Aug 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.

(cherry picked from commit cf2ab51a449ce3d92163217c8078f0f625aac7ae)


  Commit: 6fc723c572a2df36cad8c523a66702c39f7aea5c
      https://github.com/gost-engine/engine/commit/6fc723c572a2df36cad8c523a66702c39f7aea5c
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2018-08-20 (Mon, 20 Aug 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.

(cherry picked from commit 1e15537d7583cdd5a4b003b5efb92f0b6e1fdcc6)


  Commit: ed191fe63d7ac2c4906d828eb4ea673f3004c847
      https://github.com/gost-engine/engine/commit/ed191fe63d7ac2c4906d828eb4ea673f3004c847
  Author: Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
  Date:   2018-08-20 (Mon, 20 Aug 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.

(cherry picked from commit 74d13288e0a664f2615014d441087792eabc5cfa)


  Commit: bad240e1016c8cb2554994eda9f67ea0ad8ee89d
      https://github.com/gost-engine/engine/commit/bad240e1016c8cb2554994eda9f67ea0ad8ee89d
  Author: Dmitry Belyavskiy <beldmit@users.noreply.github.com>
  Date:   2018-08-21 (Tue, 21 Aug 2018)

  Changed paths:
    M gost_grasshopper_cipher.c
    M gost_grasshopper_cipher.h

  Log Message:
  -----------
  Merge pull request #76 from glebfm/openssl_1_1_0-grasshopper-ctr-ofb-fixes

Backport grasshopper-ctr and grasshopper-ofb fixes to 1.1.0 branch


Compare: https://github.com/gost-engine/engine/compare/4b7d6a59d4aa...bad240e1016c
      **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.