X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=gost_prov_cipher.c;h=ea42f239776b21fca2dfcf8de58fd5c69f7d88aa;hb=ae5079bb87b16f6ac437e5dc5409c1f83f551cea;hp=d64b0ffc888ae54a757e7d66bacf6e806c32987c;hpb=bd2d5542f307ae0e9e98a291f0d765a0be58b5fd;p=openssl-gost%2Fengine.git diff --git a/gost_prov_cipher.c b/gost_prov_cipher.c index d64b0ff..ea42f23 100644 --- a/gost_prov_cipher.c +++ b/gost_prov_cipher.c @@ -234,21 +234,21 @@ static int cipher_final(void *vgctx, return res > 0; } -static const OSSL_PARAM known_Gost28147_89_cipher_params[] = {}; -static const OSSL_PARAM known_Gost28147_89_cbc_cipher_params[] = {}; -static const OSSL_PARAM known_Gost28147_89_cnt_cipher_params[] = {}; -static const OSSL_PARAM known_Gost28147_89_cnt_12_cipher_params[] = {}; -static const OSSL_PARAM known_grasshopper_ecb_cipher_params[] = {}; -static const OSSL_PARAM known_grasshopper_cbc_cipher_params[] = {}; -static const OSSL_PARAM known_grasshopper_cfb_cipher_params[] = {}; -static const OSSL_PARAM known_grasshopper_ofb_cipher_params[] = {}; -static const OSSL_PARAM known_grasshopper_ctr_cipher_params[] = {}; -static const OSSL_PARAM known_magma_ctr_cipher_params[] = {}; -static const OSSL_PARAM known_magma_ctr_acpkm_cipher_params[] = {}; -static const OSSL_PARAM known_magma_ctr_acpkm_omac_cipher_params[] = {}; -static const OSSL_PARAM known_magma_cbc_cipher_params[] = {}; -static const OSSL_PARAM known_grasshopper_ctr_acpkm_cipher_params[] = {}; -static const OSSL_PARAM known_grasshopper_ctr_acpkm_omac_cipher_params[] = {}; +static const OSSL_PARAM *known_Gost28147_89_cipher_params; +static const OSSL_PARAM *known_Gost28147_89_cbc_cipher_params; +static const OSSL_PARAM *known_Gost28147_89_cnt_cipher_params; +static const OSSL_PARAM *known_Gost28147_89_cnt_12_cipher_params; +static const OSSL_PARAM *known_grasshopper_ecb_cipher_params; +static const OSSL_PARAM *known_grasshopper_cbc_cipher_params; +static const OSSL_PARAM *known_grasshopper_cfb_cipher_params; +static const OSSL_PARAM *known_grasshopper_ofb_cipher_params; +static const OSSL_PARAM *known_grasshopper_ctr_cipher_params; +static const OSSL_PARAM *known_magma_ctr_cipher_params; +static const OSSL_PARAM *known_magma_ctr_acpkm_cipher_params; +static const OSSL_PARAM *known_magma_ctr_acpkm_omac_cipher_params; +static const OSSL_PARAM *known_magma_cbc_cipher_params; +static const OSSL_PARAM *known_grasshopper_ctr_acpkm_cipher_params; +static const OSSL_PARAM *known_grasshopper_ctr_acpkm_omac_cipher_params; /* * These are named like the EVP_CIPHER templates in gost_crypt.c, with the * added suffix "_functions". Hopefully, that makes it easy to find the