]> www.wagner.pp.ru Git - openssl-gost/engine.git/commit
Added support for raw public key export and import 453/head
authorarx11 <>
Sat, 23 Mar 2024 10:13:59 +0000 (06:13 -0400)
committerarx11 <>
Sat, 23 Mar 2024 10:13:59 +0000 (06:13 -0400)
commit432a3d9f3a238abea966f94f0f6de0e2c663d823
tree9d9beeb0460e9367e968d8f50dca023f489f4ec7
parentede3886cc5507c2ba000ab9b057f198da03e8766
Added support for raw public key export and import

In total there are 3 new functions to export/import raw values of public and private keys.
Public key functions are used to handle ASN1_PKEY_CTRL_GET1_TLS_ENCPT and ASN1_PKEY_CTRL_SET1_TLS_ENCPT control codes used by SSL stack during key exchange.
Private key export function is just a convenient way to get the key value (EVP_PKEY_new_raw_private_key does not provide paramset to use for key import).
gost_ameth.c
test_sign.c