return 1;
}
/* --------------- Derive init ------------------------------------*/
-int pkey_gost_derive_init(EVP_PKEY_CTX *ctx)
+static int pkey_gost_derive_init(EVP_PKEY_CTX *ctx)
{
return 1;
}
* Packs signature according to Cryptocom rules
* and frees up DSA_SIG structure
*/
-
+/*
int pack_sign_cc(DSA_SIG *s,int order,unsigned char *sig, size_t *siglen)
{
*siglen = 2*order;
DSA_SIG_free(s);
return 1;
}
+*/
/*
* Packs signature according to Cryptopro rules
* and frees up DSA_SIG structure
}
/* Unpack signature according to cryptocom rules */
-
+/*
DSA_SIG *unpack_cc_signature(const unsigned char *sig,size_t siglen)
{
DSA_SIG *s;
s->s = getbnfrombuf(sig + siglen/2, siglen/2);
return s;
}
-
+*/
/* Unpack signature according to cryptopro rules */
DSA_SIG *unpack_cp_signature(const unsigned char *sig,size_t siglen)
{