]> wagner.pp.ru Git - openssl-gost/engine.git/blobdiff - gost_lcl.h
gost_crypt: Allow templates in GOST_cipher
[openssl-gost/engine.git] / gost_lcl.h
index e117f9fd82d04edeabbd47b4f3190f260f5f8cab..a9cb8b0032b0159517cc9ea1b5129644401ba4a4 100644 (file)
@@ -320,6 +320,7 @@ BIGNUM *gost_get0_priv_key(const EVP_PKEY *pkey);
 
 /* Struct describing cipher and used for init/deinit.*/
 struct gost_cipher_st {
+    struct gost_cipher_st *template; /* template struct */
     int nid;
     EVP_CIPHER *cipher;
     int block_size;     /* (bytes) */
@@ -344,5 +345,10 @@ void GOST_deinit_cipher(GOST_cipher *c);
 extern GOST_cipher Gost28147_89_cipher;
 extern GOST_cipher Gost28147_89_cbc_cipher;
 extern GOST_cipher Gost28147_89_cnt_cipher;
+extern GOST_cipher Gost28147_89_cnt_12_cipher;
+extern GOST_cipher magma_ctr_cipher;
+extern GOST_cipher magma_ctr_acpkm_cipher;
+extern GOST_cipher magma_ctr_acpkm_omac_cipher;
+extern GOST_cipher magma_cbc_cipher;
 #endif
 /* vim: set expandtab cinoptions=\:0,l1,t0,g0,(0 sw=4 : */