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

[openssl-gost] [gost-engine/engine] 486cd1: Allow to use raw VKO in EVP_PKEY_derive



  Branch: refs/heads/master
  Home:   https://github.com/gost-engine/engine
  Commit: 486cd1d88be05434966105074afedf1b1e32314c
      https://github.com/gost-engine/engine/commit/486cd1d88be05434966105074afedf1b1e32314c
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2020-07-09 (Thu, 09 Jul 2020)

  Changed paths:
    M gost_ec_keyx.c
    M gost_lcl.h
    M gost_pmeth.c

  Log Message:
  -----------
  Allow to use raw VKO in EVP_PKEY_derive

Suitable for tests. Use EVP_PKEY_CTRL_SET_VKO ctrl with appropriate
digest nid to enable VKO mode.


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

  Changed paths:
    M CMakeLists.txt
    A test_derive.c

  Log Message:
  -----------
  test_derive: Add VKO tests from R 50.1.113-2016


  Commit: 1c8b7f9a2a51ba2a6d668c2cd4e4672ed6731166
      https://github.com/gost-engine/engine/commit/1c8b7f9a2a51ba2a6d668c2cd4e4672ed6731166
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2020-07-09 (Thu, 09 Jul 2020)

  Changed paths:
    M gost_lcl.h
    M gost_pmeth.c

  Log Message:
  -----------
  Add string option 'vko' for EVP_PKEY_CTRL_SET_VKO

Format: vko:<bit length>
Such as:
  vko:256 for VKO_256
  vko:512 for VKO_512
  vko:0   disable strict VKO mode, switch to other derive methods.


  Commit: 136c63196d92b5d1eac34dfedcbc2b4a63f83752
      https://github.com/gost-engine/engine/commit/136c63196d92b5d1eac34dfedcbc2b4a63f83752
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2020-07-09 (Thu, 09 Jul 2020)

  Changed paths:
    M test_derive.c

  Log Message:
  -----------
  test_derive: Test all modes of EVP_PKEY_derive

Test all VKOs and KEGs to work and produce same keys for both parties.


Compare: https://github.com/gost-engine/engine/compare/bc346202fbb3...136c63196d92