X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=gost_lcl.h;h=c3015c9e439f6a970baae464fba3c084bb5f8fc1;hb=65d9677890ca5eeca45bca0fb09d6cd08238161e;hp=8471ed062cecde22fe78931015eaec8b0b5eb483;hpb=1c8b7f9a2a51ba2a6d668c2cd4e4672ed6731166;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 {