W3C home > Mailing lists > Public > xml-encryption@w3.org > May 2002

Re: rsa/oaep

From: Jiandong Guo <jguo@phaos.com>
Date: Wed, 29 May 2002 14:59:29 -0400
Message-ID: <3CF52511.54B744AC@phaos.com>
To: reagle@w3.org
CC: merlin <merlin@baltimore.ie>, xml-encryption@w3.org



Joseph Reagle wrote:

> I'm generally happy with [1] (includes some tweaks) but is there a
> reference for MGF1WithSHA!?

I remebered that it was used in the ASN1 syntax for RSA-OAEP. But I could be
wrong.
It is probably safer to write it as "MGF1 with SHA1".

>
>
> [1] The RSAES-OAEP-ENCRYPT algorithm, as specified in RFC 2437 [PKCS1],
> takes three parameters. The two user specified parameters are a MANDATORY
> message digest function and an OPTIONAL encoding octet string OAEPparams.
> The message digest function is indicated by the Algorithm attribute of a
> child ds:DigestMethod element and the mask generation function, the third
> paramter, is always MGF1WithSHA1. Both the message digest and mask
> generation functions are used in the EME-OAEP-ENCODE operation as part of
> RSAES-OAEP-ENCRYPT. The encoding octet string is the base64 decoding of the
> content of an optional OAEPparams child element . If no OAEPparams child is
> provided, a null string is used.

This looks good to me.

Thanks.

Jiandong
Received on Wednesday, 29 May 2002 14:54:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:42:21 GMT