]> www.wagner.pp.ru Git - openssl-gost/engine.git/blobdiff - gost_eng.c
GOST wrap ciphers registration
[openssl-gost/engine.git] / gost_eng.c
index 8257072a3c8637d94fa9c3282cc398201a1f872a..249b5e413f9f51d83e4f4bf1d9cea2e1b5b85e2c 100644 (file)
@@ -158,6 +158,14 @@ static struct gost_cipher_minfo {
         NID_id_tc26_cipher_gostr3412_2015_kuznyechik_ctracpkm,
         cipher_gost_grasshopper_ctracpkm,
     },
+    {
+        NID_magma_kexp15,
+        cipher_magma_wrap,
+    },
+    {
+        NID_kuznyechik_kexp15,
+        cipher_kuznyechik_wrap,
+    },
     { 0 },
 };
 
@@ -261,6 +269,7 @@ static int gost_engine_destroy(ENGINE* e) {
 
     cipher_gost_destroy();
     cipher_gost_grasshopper_destroy();
+    wrap_ciphers_destroy();
 
     gost_param_free();