ietf-openpgp
[Top] [All Lists]

Re: 5.1 Clarification re padding

2000-07-09 19:30:48
Ulf, Sen and others,

> I noticed in section 5.1 that (third last paragraph):

> "This value is then padded as described in PKCS-1 block type 02 [RFC2437]
> to form the "m" value used in the formulas above."

The OpenPGP RFC refers to RFC 2313. In a later draft, Jon Callas changed
the reference to RFC 2437, but failed to update the contents.

In terms of RFC 2437, OpenPGP uses EME-PKCS1-v1_5 and EMSA-PKCS1-v1_5.

I believe I have it worked out now...after reading the "File Formats used by 2.x" document, 2313 and 2437, does the m value look like this?:

m = 0x00 0x02 (random non zero data - 8 bytes minimum) 0x00 0x0A (session key) (checksum)

The 0x0A represents the Twofish algorithm.

TIA.






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>