summaryrefslogtreecommitdiff
path: root/lib/cipher_int.h
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2017-05-18 04:09:51 +0300
committerDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2019-10-21 14:25:15 +0300
commit7ad363791ebf9c1f45ae6b99b49540d442850ba9 (patch)
tree57929baa2a3d857f3b1d4ce71de24aabb013aad7 /lib/cipher_int.h
parent673422755dcc2327d6c8850de17e68ae05e08e29 (diff)
downloadgnutls-7ad363791ebf9c1f45ae6b99b49540d442850ba9.tar.gz
Support GOST cipher suite MAC calculation
GOST ciphersuites require that MAC is calculated over _all_ packets, rather than just current packet. Add flag to auth_cipher_hd_st controlling this behaviour. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Diffstat (limited to 'lib/cipher_int.h')
-rw-r--r--lib/cipher_int.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/cipher_int.h b/lib/cipher_int.h
index 36c9385fbf..b50a59c64a 100644
--- a/lib/cipher_int.h
+++ b/lib/cipher_int.h
@@ -211,6 +211,9 @@ typedef struct {
#ifdef ENABLE_SSL3
unsigned int ssl_hmac:1;
#endif
+#ifdef ENABLE_GOST
+ unsigned int continuous_mac:1;
+#endif
unsigned int non_null:1;
unsigned int etm:1;
size_t tag_size;