aboutsummaryrefslogtreecommitdiff
path: root/gost_eng.c
diff options
context:
space:
mode:
authorDmitry Belyavskiy <beldmit@gmail.com>2020-05-02 18:26:53 +0300
committerDmitry Belyavskiy <beldmit@gmail.com>2020-05-04 14:57:59 +0300
commit359bc05a9d4ee696f3a025ac0d35d27c89ea62ac (patch)
tree82c355084e20fc414e71f1d8a14f8e1208ee0046 /gost_eng.c
parent5f76803c2582cccacd73cf285267418cb40d9a3d (diff)
downloadgost-engine-359bc05a9d4ee696f3a025ac0d35d27c89ea62ac.zip
gost-engine-359bc05a9d4ee696f3a025ac0d35d27c89ea62ac.tar.gz
gost-engine-359bc05a9d4ee696f3a025ac0d35d27c89ea62ac.tar.bz2
GOST wrap ciphers registration
Diffstat (limited to 'gost_eng.c')
-rw-r--r--gost_eng.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/gost_eng.c b/gost_eng.c
index 8257072..249b5e4 100644
--- a/gost_eng.c
+++ b/gost_eng.c
@@ -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();