X-Git-Url: http://www.wagner.pp.ru/gitweb/?a=blobdiff_plain;f=gost_md2012.c;h=3ea1e3642855cb7644001d6e221d886ae198ec84;hb=970934039a4481b67c9c6433e20ca3002098cae6;hp=2616abe9d4255cb662e98413e742cd58311b0723;hpb=1d5c8f8d6422049b58dc83e113039e95207edf33;p=openssl-gost%2Fengine.git diff --git a/gost_md2012.c b/gost_md2012.c index 2616abe..3ea1e36 100644 --- a/gost_md2012.c +++ b/gost_md2012.c @@ -47,16 +47,6 @@ GOST_digest GostR3411_2012_256_digest = { .ctrl = gost_digest_ctrl_256, }; -EVP_MD *digest_gost2012_256(void) -{ - return GOST_init_digest(&GostR3411_2012_256_digest); -} - -void digest_gost2012_256_destroy(void) -{ - GOST_deinit_digest(&GostR3411_2012_256_digest); -} - GOST_digest GostR3411_2012_512_digest = { .nid = NID_id_GostR3411_2012_512, .alias = "streebog512", @@ -66,16 +56,6 @@ GOST_digest GostR3411_2012_512_digest = { .ctrl = gost_digest_ctrl_512, }; -EVP_MD *digest_gost2012_512(void) -{ - return GOST_init_digest(&GostR3411_2012_512_digest); -} - -void digest_gost2012_512_destroy(void) -{ - GOST_deinit_digest(&GostR3411_2012_512_digest); -} - static int gost_digest_init512(EVP_MD_CTX *ctx) { init_gost2012_hash_ctx((gost2012_hash_ctx *) EVP_MD_CTX_md_data(ctx),