ietf-openpgp
[Top] [All Lists]

Re: ElGamal, EME-PKCS1-v1_5

2010-06-24 16:36:22
Hello,

Brian Lewis wrote:
So I need m = EME-PKCS1-v1_5(...). According to
http://tools.ietf.org/html/rfc3447#section-7.2.1, PS is k - mLen
- 3 random nonzero bytes, where k is the length of RSA n in bytes. But I
don't have RSA n. I have ElGamal p, g, and y.

In EME-PKCS1-v1_5, what is k if I'm using ElGamal?

You should use the length of ElGamal p.

-- 
Daniel

Attachment: signature.asc
Description: OpenPGP digital signature

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