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

[openssl-gost] [gost-engine/engine] 2893b9: gost_md: Rework digest registration, add GostR3411...



  Branch: refs/heads/master
  Home:   https://github.com/gost-engine/engine
  Commit: 2893b979bdb5ff1d902dc78c478162854eeb4a4b
      https://github.com/gost-engine/engine/commit/2893b979bdb5ff1d902dc78c478162854eeb4a4b
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2020-05-13 (Wed, 13 May 2020)

  Changed paths:
    M gost_lcl.h
    M gost_md.c

  Log Message:
  -----------
  gost_md: Rework digest registration, add GostR3411_94_digest

Introduce `GOST_digest' to hold digest registration data, and
`GOST_init_digest'/`GOST_deinit_digest` helpers to handle it.

It's single-level templatized.


  Commit: d3756bbed444cfe1072e9469c469bfba8b6c6dbe
      https://github.com/gost-engine/engine/commit/d3756bbed444cfe1072e9469c469bfba8b6c6dbe
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2020-05-13 (Wed, 13 May 2020)

  Changed paths:
    M gost_crypt.c

  Log Message:
  -----------
  gost_crypt: Add Gost28147_89_MAC_digest, Gost28147_89_mac_12_digest

Covert their registration to table method.


  Commit: ec78b0e7d8df62895b6ad489cd7f94699888ffeb
      https://github.com/gost-engine/engine/commit/ec78b0e7d8df62895b6ad489cd7f94699888ffeb
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2020-05-13 (Wed, 13 May 2020)

  Changed paths:
    M gost_md2012.c

  Log Message:
  -----------
  gost_md2012: Add registration using GostR3411_2012_{256,512}_digest


  Commit: ea281d2516111f018f224409098d5a1d11e967bd
      https://github.com/gost-engine/engine/commit/ea281d2516111f018f224409098d5a1d11e967bd
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2020-05-13 (Wed, 13 May 2020)

  Changed paths:
    M gost_omac.c

  Log Message:
  -----------
  gost_omac: Rework registration of magma/kuznyechik OMAC digests

Convert to a table method.


  Commit: 18fd03a780b6f71305bb4af7ae8d74b9bc40293e
      https://github.com/gost-engine/engine/commit/18fd03a780b6f71305bb4af7ae8d74b9bc40293e
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2020-05-13 (Wed, 13 May 2020)

  Changed paths:
    M gost_omac_acpkm.c

  Log Message:
  -----------
  gost_omac_acpkm: Rework registration of kuznyechik_ctracpkm_omac


  Commit: 522de4bf0a1f1d14228034568dc6a3e74e2ffb08
      https://github.com/gost-engine/engine/commit/522de4bf0a1f1d14228034568dc6a3e74e2ffb08
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2020-05-13 (Wed, 13 May 2020)

  Changed paths:
    M gost_lcl.h
    M gost_md.c
    M gost_md2012.c

  Log Message:
  -----------
  gost_md: Rework alias support in digest registration


  Commit: 12d998acc664965cbf63fe61473539d1e022eeb4
      https://github.com/gost-engine/engine/commit/12d998acc664965cbf63fe61473539d1e022eeb4
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2020-05-13 (Wed, 13 May 2020)

  Changed paths:
    M gost_eng.c
    M gost_lcl.h

  Log Message:
  -----------
  gost_eng: Simplify digest registration

Now only simple array of `GOST_digest's. No need to care about aliases
anymore.


  Commit: 1d5c8f8d6422049b58dc83e113039e95207edf33
      https://github.com/gost-engine/engine/commit/1d5c8f8d6422049b58dc83e113039e95207edf33
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2020-05-13 (Wed, 13 May 2020)

  Changed paths:
    M gost_keyexpimp.c
    M gost_lcl.h
    M gost_md.c
    M gost_md2012.c
    M gost_omac.c
    M gost_omac_acpkm.c

  Log Message:
  -----------
  Update Copyright lines after registration rework

- Add year 2020 to old lines.
- Some files did not have original Copyright line - added "Update
  at 2020" to show that I'm not original contributor.
- Some files did not have License line - added reference to OpenSSL
  license.


  Commit: 970934039a4481b67c9c6433e20ca3002098cae6
      https://github.com/gost-engine/engine/commit/970934039a4481b67c9c6433e20ca3002098cae6
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2020-05-13 (Wed, 13 May 2020)

  Changed paths:
    M gost_crypt.c
    M gost_grasshopper_cipher.c
    M gost_grasshopper_cipher.h
    M gost_lcl.h
    M gost_md.c
    M gost_md2012.c
    M gost_omac.c
    M gost_omac_acpkm.c

  Log Message:
  -----------
  Remove unneeded declarations after registration rework


  Commit: 6036eb9be5403af769f211b1056d34bf65028aea
      https://github.com/gost-engine/engine/commit/6036eb9be5403af769f211b1056d34bf65028aea
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2020-05-13 (Wed, 13 May 2020)

  Changed paths:
    M gost_crypt.c
    M gost_grasshopper_cipher.c
    M gost_grasshopper_cipher.h
    M gost_keyexpimp.c
    M gost_md.c
    M gost_omac.c
    M gost_omac_acpkm.c

  Log Message:
  -----------
  Add static to functions that not need to be exported

After registration rework many callbacks not need to be exported. Also,
some functions inconsistently declared static in headers and non-static
in the code. Finally, some functions just not need to be exported.


Compare: https://github.com/gost-engine/engine/compare/c6b44c8eaf68...6036eb9be540