-static struct gost_cipher_minfo {
- int nid;
- const EVP_CIPHER *(*cipher)(void);
- GOST_cipher *reg;
-} gost_cipher_array[] = {
- {
- NID_id_Gost28147_89,
- NULL,
- &Gost28147_89_cipher,
- },
- {
- NID_gost89_cnt,
- NULL,
- &Gost28147_89_cnt_cipher,
- },
- {
- NID_gost89_cnt_12,
- NULL,
- &Gost28147_89_cnt_12_cipher,
- },
- {
- NID_gost89_cbc,
- NULL,
- &Gost28147_89_cbc_cipher,
- },
- {
- NID_grasshopper_ecb,
- NULL,
- &grasshopper_ecb_cipher,
- },
- {
- NID_grasshopper_cbc,
- NULL,
- &grasshopper_cbc_cipher,
- },
- {
- NID_grasshopper_cfb,
- NULL,
- &grasshopper_cfb_cipher,
- },
- {
- NID_grasshopper_ofb,
- NULL,
- &grasshopper_ofb_cipher,
- },
- {
- NID_grasshopper_ctr,
- NULL,
- &grasshopper_ctr_cipher,
- },
- {
- NID_magma_cbc,
- NULL,
- &magma_cbc_cipher,
- },
- {
- NID_magma_ctr,
- NULL,
- &magma_ctr_cipher,
- },
- {
- NID_magma_ctr_acpkm,
- NULL,
- &magma_ctr_acpkm_cipher,
- },
- {
- NID_magma_ctr_acpkm_omac,
- NULL,
- &magma_ctr_acpkm_omac_cipher,
- },
- {
- NID_kuznyechik_ctr_acpkm,
- NULL,
- &grasshopper_ctr_acpkm_cipher,
- },
- {
- NID_kuznyechik_ctr_acpkm_omac,
- NULL,
- &grasshopper_ctr_acpkm_omac_cipher,
- },
- {
- NID_magma_kexp15,
- cipher_magma_wrap,
- },
- {
- NID_kuznyechik_kexp15,
- cipher_kuznyechik_wrap,
- },
- { 0 },
+GOST_cipher *gost_cipher_array[] = {
+ &Gost28147_89_cipher,
+ &Gost28147_89_cnt_cipher,
+ &Gost28147_89_cnt_12_cipher,
+ &Gost28147_89_cbc_cipher,
+ &grasshopper_ecb_cipher,
+ &grasshopper_cbc_cipher,
+ &grasshopper_cfb_cipher,
+ &grasshopper_ofb_cipher,
+ &grasshopper_ctr_cipher,
+ &grasshopper_mgm_cipher,
+ &magma_cbc_cipher,
+ &magma_ctr_cipher,
+ &magma_ctr_acpkm_cipher,
+ &magma_ctr_acpkm_omac_cipher,
+ &magma_mgm_cipher,
+ &grasshopper_ctr_acpkm_cipher,
+ &grasshopper_ctr_acpkm_omac_cipher,
+ &magma_kexp15_cipher,
+ &kuznyechik_kexp15_cipher,