Re: Possible typo in NOTES

Denis Corbin <[email protected]> Wed, 30 Mar 2005 19:52:13 +0200
Newsgroups gmane.comp.sysutils.backup.dar.general
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Wesley Leggette wrote:
| In section XVII Strong Encryption paragraph 6, there is a possible typo:
|
| Elastic buffers are also used inside compression blocks. The underlying
| cypher may not be able...

No Elastic buffers are never compressed, nor is compresses the
terminateur, there is no typo in NOTES.

|
| Should "compression" be "encryption"? In the context, I'm assuming so.

No "compression" is correct in the diagram.

| If not, I can't find the code where elastic buffers are used in the
| compressor.

they are not (see op_create_in in libdar/archive.cpp file for example).

|
|
| Also, I'm assuming that while this is the model when using strong
| encryption:
|
| +----------+---------------------------------------------------------+
| | version  | Encrypted data                                          |
| | header   |                                                         |
| +----------+---------------------------------------------------------+
|
| |          +-----+---------------------------------------+------+----+
| |          | EEE | Compressed data                       | TTTT | EE |
| |          |     |                                       |      |    |
| |          +-----+---------------------------------------+------+----+
| |
| |                +------+--+...................+---------+
| |                | file |EA|                   | Catalog |
| |                | data |  |                   |         |
| |                +------+--+...................+---------+
| ^
| zero offset
|
| Is the following model used when scrambling is used instead of strong
encryption?

yes, this is the same, the zero offset is also the first byte of version
header.

|
|
| +----------+---------------------------------------------------------+
| | version  | Encrypted data                                          |
| | header   |                                                         |
| +----------+---------------------------------------------------------+
|
| |          +--------------------------------------------------+------+
| |          | Compressed data                                  | TTTT |
| |          |                                                  |      |
| |          +--------------------------------------------------+------+
| |
| |                +------+--+...................+---------+
| |                | file |EA|                   | Catalog |
| |                | data |  |                   |         |
| |                +------+--+...................+---------+
| ^
| zero offset

this previous diagram is also correct.

|
|
| Thanks as always,
| Wesley
|
| 	

Cheers,
Denis.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFCSudNpC5CI8gYGlIRArYcAKDDzRG+1Pkq76KFeBLcoTcZ66hlTACfUB8x
Im3qWTkNSDywh2iNhiJUjEU=
=xXXl
-----END PGP SIGNATURE-----



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click