X-Git-Url: http://git.silcnet.org/gitweb/?p=crypto.git;a=blobdiff_plain;f=lib%2Fsilccore%2Fsilcpacket.c;h=af437c2fc6cea155157d7fb4888c2748135e3971;hp=17aee8d46fa27432a43a8bb1c7f587b5b57ea9a6;hb=e8843d383c6557e50ae4ca6ccf201ea49d96cea5;hpb=7187008d2a90f3aad23f8957eb8148a8fbb965d3 diff --git a/lib/silccore/silcpacket.c b/lib/silccore/silcpacket.c index 17aee8d4..af437c2f 100644 --- 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); - /* Set new nonce to counter block */ + /* Set new IV to counter block */ 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); } -/* Internal routine to assemble outgoing packet. Assembles and encryptes +/* 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. */