- || !EVP_add_cipher(&cipher_gost)
- || !EVP_add_cipher(&cipher_gost_cbc)
- || !EVP_add_cipher(&cipher_gost_cpacnt)
- || !EVP_add_cipher(&cipher_gost_cpcnt_12)
- || !EVP_add_digest(&digest_gost)
- || !EVP_add_digest(&digest_gost2012_512)
- || !EVP_add_digest(&digest_gost2012_256)
- || !EVP_add_digest(&imit_gost_cpa)
- || !EVP_add_digest(&imit_gost_cp_12)
- ) {
+ || !EVP_add_cipher(cipher_gost())
+ || !EVP_add_cipher(cipher_gost_cbc())
+ || !EVP_add_cipher(cipher_gost_cpacnt())
+ || !EVP_add_cipher(cipher_gost_cpcnt_12())
+ || !EVP_add_cipher(cipher_gost_grasshopper_ecb())
+ || !EVP_add_cipher(cipher_gost_grasshopper_cbc())
+ || !EVP_add_cipher(cipher_gost_grasshopper_cfb())
+ || !EVP_add_cipher(cipher_gost_grasshopper_ofb())
+ || !EVP_add_cipher(cipher_gost_grasshopper_ctr())
+ || !EVP_add_cipher(cipher_gost_grasshopper_ctracpkm())
+ || !EVP_add_cipher(cipher_magma_cbc())
+ || !EVP_add_cipher(cipher_magma_ctr())
+ || !EVP_add_digest(digest_gost())
+ || !EVP_add_digest(digest_gost2012_512())
+ || !EVP_add_digest(digest_gost2012_256())
+ || !EVP_add_digest(imit_gost_cpa())
+ || !EVP_add_digest(imit_gost_cp_12())
+ || !EVP_add_digest(magma_omac())
+ || !EVP_add_digest(grasshopper_omac())
+/* || !EVP_add_digest(magma_omac_acpkm()) */
+ || !EVP_add_digest(grasshopper_omac_acpkm())
+ ) {
+ goto end;
+ }
+
+ if(!EVP_add_digest_alias(SN_id_GostR3411_2012_256, "streebog256")
+ || !EVP_add_digest_alias(SN_id_GostR3411_2012_512, "streebog512")) {