ietf-openpgp
[Top] [All Lists]

Re: 5.1 Clarification re padding

2000-07-09 21:41:23
At 12:53 PM 10/07/2000 +0900, sen_ml(_at_)eccosys(_dot_)com wrote:

<snip>


to all:
i've been curious about the length of the random padding octets.  i
presume none of them are allowed to 0x00 (that's what non-zero data
means, may be?) and thus the 0x00 value preceding the
algorithm-specifying octect can serve as a "marker" to indicate where
the random padding ends.  is that correct?

Yes. The doc located at:

ftp.pgpi.org/pub/pgp/2.x/doc/pgformat.txt

explains that in the section entitled:

"Conventional Data Encryption Key (DEK) "packet""

It also notes it in 2437 (with reference to Ulf's pointers to the padding section/s) and 2313, that you have to use NON ZERO values in the random number.





Regards Comasp Ltd. Level 2, 45 Stirling Hwy NEDLANDS WA 6009
                                                              
http://www.comasp.com

Erron Criddle Tel: 08 9386 9534
ejc(_at_)comasp(_dot_)com                                            Fax: 08 
9386 9473











<Prev in Thread] Current Thread [Next in Thread>