public inbox for nncp-devel@lists.cypherpunks.su
Atom feed
From: Sergey Matveev <stargrave@stargrave•org>
To: nncp-devel@lists.cypherpunks.ru
Subject: Re: nncp-bundle, nncp-caller, and .seen not working?
Date: Wed, 30 Dec 2020 22:16:59 +0300	[thread overview]
Message-ID: <X+zSKwbankXje0I0@stargrave.org> (raw)
In-Reply-To: <X+zQuM1f22vn/emf@stargrave.org>

[-- Attachment #1: Type: text/plain, Size: 500 bytes --]

*** Sergey Matveev [2020-12-30 22:10]:
>Problem with streaming is that you do not know exact file size in
>advance, that is written in the beginning of the first encrypted block.

Actually it is not stored in the first block, but just preceedes it. So
"size" is just a 64-bit ciphertext + 128-bit MAC tag. So we do not have
to store that 128KiB of data, just only the 64-bit size.

-- 
Sergey Matveev (http://www.stargrave.org/)
OpenPGP: CF60 E89A 5923 1E76 E263  6422 AE1A 8109 E498 57EF

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2020-12-30 19:17 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-30  6:37 nncp-bundle, nncp-caller, and .seen not working? John Goerzen
2020-12-30 14:08 ` Sergey Matveev
2020-12-30 15:37   ` John Goerzen
2020-12-30 15:44     ` John Goerzen
2020-12-30 19:10     ` Sergey Matveev
2020-12-30 19:16       ` Sergey Matveev [this message]
2021-01-01  5:36       ` John Goerzen
2021-01-02 12:56         ` Sergey Matveev
2021-01-01  5:39       ` John Goerzen
2021-01-02 13:04         ` Sergey Matveev
2021-01-06 17:15         ` Sergey Matveev
2021-01-06 18:55           ` Sergey Matveev
2021-01-07 17:56           ` John Goerzen