projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Comment changes.
[silc.git]
/
lib
/
silccore
/
silcpacket.c
diff --git
a/lib/silccore/silcpacket.c
b/lib/silccore/silcpacket.c
index 17aee8d46fa27432a43a8bb1c7f587b5b57ea9a6..af437c2fc6cea155157d7fb4888c2748135e3971 100644
(file)
--- a/
lib/silccore/silcpacket.c
+++ b/
lib/silccore/silcpacket.c
@@
-1490,7
+1490,7
@@
static inline void silc_packet_send_ctr_increment(SilcPacketStream stream,
SILC_LOG_HEXDUMP(("IV"), ret_iv, 8);
SILC_LOG_HEXDUMP(("IV"), ret_iv, 8);
- /* Set new
nonce
to counter block */
+ /* Set new
IV
to counter block */
memcpy(iv + 4, ret_iv, 8);
} else {
/* Increment 64-bit packet counter */
memcpy(iv + 4, ret_iv, 8);
} else {
/* Increment 64-bit packet counter */
@@
-1505,7
+1505,7
@@
static inline void silc_packet_send_ctr_increment(SilcPacketStream stream,
SILC_LOG_HEXDUMP(("Counter Block"), iv, 16);
}
SILC_LOG_HEXDUMP(("Counter Block"), iv, 16);
}
-/* Internal routine to assemble outgoing packet. Assembles and encrypt
e
s
+/* Internal routine to assemble outgoing packet. Assembles and encrypts
the packet. The silc_packet_stream_write needs to be called to send it
after this returns TRUE. */
the packet. The silc_packet_stream_write needs to be called to send it
after this returns TRUE. */