8 bytes issue . . .

Werner Koch wk at gnupg.org
Mon Apr 2 10:15:14 CEST 2001


On Sun, 1 Apr 2001, Kahil D. Jallad wrote:

> assumes that all ciphers have a blocksize of 8 for encrypted packets (both
> with and without MDC), so it says the Symmetric Key Encrypted Packet is
> (data_size + 10) bytes long regardless of the blocksize of the alorithm.

You are right.  I think that this problem has not yet shown up
becuase we usually use partial length encoded packets (where ed->len
is zero).

I have fixed that and hopefully it does not break too much - if it
does we have to add another bug emulation options :-)

Many thanks,

  Werner
  

-- 
Werner Koch        Omnis enim res, quae dando non deficit, dum habetur
g10 Code           et non datur, nondum habetur, quomodo habenda est.
Privacy Solutions                                        -- Augustinus




More information about the Gnupg-devel mailing list