summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2013-01-09 15:57:16 +1100
committerDamien Miller <djm@mindrot.org>2013-01-09 15:57:16 +1100
commit3739c8f0413bc7a90a1fc3a6c723436bd285bf86 (patch)
tree6554957cf787a62c947d040d7e3c89f5ecf980fb
parent441384453c7400e8b122e7368c50ab713399fd80 (diff)
- djm@cvs.openbsd.org 2013/01/03 12:49:01
[PROTOCOL] fix description of MAC calculation for EtM modes; ok markus@
-rw-r--r--ChangeLog3
-rw-r--r--PROTOCOL7
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 66cc48ba2..67d4884d6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -16,6 +16,9 @@
16 add a couple of ServerOptions members that should be copied to the privsep 16 add a couple of ServerOptions members that should be copied to the privsep
17 child (for consistency, in this case they happen only to be accessed in 17 child (for consistency, in this case they happen only to be accessed in
18 the monitor); ok dtucker@ 18 the monitor); ok dtucker@
19 - djm@cvs.openbsd.org 2013/01/03 12:49:01
20 [PROTOCOL]
21 fix description of MAC calculation for EtM modes; ok markus@
19 22
2020121217 2320121217
21 - (dtucker) [Makefile.in] Add some scaffolding so that the new regress 24 - (dtucker) [Makefile.in] Add some scaffolding so that the new regress
diff --git a/PROTOCOL b/PROTOCOL
index 834716cc9..eb5d0889c 100644
--- a/PROTOCOL
+++ b/PROTOCOL
@@ -70,9 +70,10 @@ verified without decrypting unauthenticated data.
70 70
71As such, the MAC covers: 71As such, the MAC covers:
72 72
73 mac = MAC(key, sequence_number || encrypted_packet) 73 mac = MAC(key, sequence_number || packet_length || encrypted_packet)
74 74
75where "encrypted_packet" contains: 75where "packet_length" is encoded as a uint32 and "encrypted_packet"
76contains:
76 77
77 byte padding_length 78 byte padding_length
78 byte[n1] payload; n1 = packet_length - padding_length - 1 79 byte[n1] payload; n1 = packet_length - padding_length - 1
@@ -318,4 +319,4 @@ link(oldpath, newpath) and will respond with a SSH_FXP_STATUS message.
318This extension is advertised in the SSH_FXP_VERSION hello with version 319This extension is advertised in the SSH_FXP_VERSION hello with version
319"1". 320"1".
320 321
321$OpenBSD: PROTOCOL,v 1.18 2012/12/11 22:31:18 markus Exp $ 322$OpenBSD: PROTOCOL,v 1.19 2013/01/03 12:49:01 djm Exp $