Hi
Method get_encryption_params from engines/ccgost/gost_crypt.c maby
return NULL with error code
GOSTerr(GOST_F_GET_ENCRYPTION_PARAMS, GOST_R_INVALID_CIPHER_PARAM_OID)
or
GOSTerr(GOST_F_GET_ENCRYPTION_PARAMS,GOST_R_INVALID_CIPHER_PARAMS)
Metod pkey_GOST01cp_encrypt from engines/ccgost/gost2001_keyx.c call
parent method.
Does not check the result by NULL.
In the code
VKO_compute_key(shared_key,32,EC_KEY_get0_public_key(EVP_PKEY_get0(pubk)),EVP_PKEY_get0(sec_key),ukm);
gost_init(&cctx,param->sblock);
results in a segmentation fault.
Aleksey Sushko
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager majord...@openssl.org