X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=gost_lcl.h;h=3a1027dfe15ce90cf4b4b59726a496b81fd8a015;hb=refs%2Fheads%2Fossl_patched;hp=5a012c1d095220e45ad4112b00c1096bcdddce51;hpb=380a2c4f6ff07abed342a7cdc8fb0c5a97ffec9f;p=openssl-gost%2Fengine.git diff --git a/gost_lcl.h b/gost_lcl.h index 5a012c1..3a1027d 100644 --- a/gost_lcl.h +++ b/gost_lcl.h @@ -311,6 +311,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 {