]> wagner.pp.ru Git - openssl-gost/engine.git/commit
ec: Use BN_{CTX_,}secure_new memory API for priv keys
authorVitaly Chikunov <vt@altlinux.org>
Mon, 17 Feb 2020 21:35:10 +0000 (00:35 +0300)
committerDmitry Belyavskiy <beldmit@users.noreply.github.com>
Tue, 25 Feb 2020 21:14:25 +0000 (00:14 +0300)
commitf3e7c24d4733bb1c096e43345602d3258e994e3c
treed755b54b7cb57b1d526bc4dc377389ca74ef7926
parent77551c5d97feeceed87b10e66070e8004ffb0135
ec: Use BN_{CTX_,}secure_new memory API for priv keys

OpenSSL suggests to use (and internally itself uses)
`BN_{CTX_,}secure_new' primitives to work with private keys.

These are using `OPENSSL_secure_malloc' et al. calls, which use
special 'secure heap' memory.

Along, optimize out `hashsum2bn' with `BN_lebin2bn'.
gost_ameth.c
gost_ec_keyx.c
gost_ec_sign.c
gost_lcl.h