X-Git-Url: http://www.wagner.pp.ru/gitweb/?a=blobdiff_plain;f=gost_lcl.h;fp=gost_lcl.h;h=c3015c9e439f6a970baae464fba3c084bb5f8fc1;hb=798a847d840c42cc14e67bad882323b830aacab1;hp=8471ed062cecde22fe78931015eaec8b0b5eb483;hpb=4dc691d1177ad328f34bee01128b3a8aa23b2547;p=openssl-gost%2Fengine.git diff --git a/gost_lcl.h b/gost_lcl.h index 8471ed0..c3015c9 100644 --- a/gost_lcl.h +++ b/gost_lcl.h @@ -305,6 +305,9 @@ int pack_sign_cp(ECDSA_SIG *s, int order, unsigned char *sig, size_t *siglen); /* Get private key as BIGNUM from both 34.10-2001 keys*/ /* Returns pointer into EVP_PKEY structure */ BIGNUM *gost_get0_priv_key(const EVP_PKEY *pkey); +/* from gost_crypt.c */ +/* Decrements 8-byte sequence */ +int decrement_sequence(unsigned char *seq, int decrement); /* Struct describing cipher and used for init/deinit.*/ struct gost_cipher_st {