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
return res > 0;
}
-static const OSSL_PARAM known_GostR3411_94_digest_params[] = {};
-static const OSSL_PARAM known_GostR3411_2012_256_digest_params[] = {};
-static const OSSL_PARAM known_GostR3411_2012_512_digest_params[] = {};
+static const OSSL_PARAM *known_GostR3411_94_digest_params;
+static const OSSL_PARAM *known_GostR3411_2012_256_digest_params;
+static const OSSL_PARAM *known_GostR3411_2012_512_digest_params;
/*
* These are named like the EVP_MD templates in gost_md.c etc, with the