Re: RSA signing method used by EVP_Sign functions

2004-03-10 Thread Earl Hood
On March 10, 2004 at 13:16, "Dr. Stephen Henson" wrote: > > % openssl rsautl -in openssl.sig -verify -inkey pub.pem -pubin -raw -hexdum > p > > - 00 01 ff ff ff ff ff ff-ff ff ff ff ff ff ff ff > > 0010 - ff ff ff ff ff ff ff ff-ff ff ff ff 00 30 21 30 .0!0 >

Re: Montgomery constants

2004-03-10 Thread Charles B Cranston
Dr. Stephen Henson wrote: The [sic] look like the standard CRT components. So: a = iqmp c = dmp1 f = dmq1 And, in fact, if you look at the PNG's in the posting, "iqmp"Inverse of Q mod P a = Q^-1 mod P "dmp1"D mod prime 1 c = Ks mod (P-1) "dmp2"D mod prime 2

Re: Montgomery constants

2004-03-10 Thread Dr. Stephen Henson
On Wed, Mar 10, 2004, mateus wrote: > Hi Steve, > > I understand that I would not have to calculate this to use a > private key, but the axalto cryptoflex > smart card I'm using needs the RSA key in the following format to work: > > > This format I've got in the "Programmer's Guide of Cryp

Re: Montgomery constants

2004-03-10 Thread mateus
Hi Steve, I understand that I would not have to calculate this to use a private key, but the axalto cryptoflex smart card I'm using needs the RSA key in the following format to work: This format I've got in the "Programmer's Guide of Cryptoflex Cards". The problem is that I don't know h

Re: X.509 extensions: SubjectAlternativeName,PrivateKeyValidity

2004-03-10 Thread Kenichi MORI
Thank you very much! My problems are likely to be solvable. -- Kenichi MORI Dr. Stephen Henson wrote: >On Thu, Mar 11, 2004, Kenichi MORI wrote: > >> Dear everyone, >> >> Could you tell me about X.509 extensions in OpenSSL ? >> >> 1) >> Can I use DirectoryName(DN) in X.509 extensions "Subject

Re: ENGINE_load_private_key

2004-03-10 Thread Richard Levitte - VMS Whacker
In message <[EMAIL PROTECTED]> on Wed, 10 Mar 2004 09:06:36 -0800 (PST), Josh Winkle <[EMAIL PROTECTED]> said: securesockets2004> I was wondering what is the purpose of the ui_method securesockets2004> and callback_data arguments to this function. This is securesockets2004> what I want to do: sec

Re: Montgomery constants

2004-03-10 Thread Dr. Stephen Henson
On Wed, Mar 10, 2004, mateus wrote: > I'd have to ask you to pardon my ignorance too. > In fact I do not know montogomery constants. I'm using cryptoflex smart > cards > and I'm having problems to find out what are a,c and f that it's > Programmer's Guide references. > I've found somewhere that

Re: X.509 extensions: SubjectAlternativeName,PrivateKeyValidity

2004-03-10 Thread Dr. Stephen Henson
On Thu, Mar 11, 2004, Kenichi MORI wrote: > Dear everyone, > > Could you tell me about X.509 extensions in OpenSSL ? > > 1) > Can I use DirectoryName(DN) in X.509 extensions "Subject Alternative Name" ? > According to openssl.txt (included doc directory), I can use "email", "URI", > "DNS", "RID"

ENGINE_load_private_key

2004-03-10 Thread Josh Winkle
This is a repost; it didn't show up the first couple of times. - Hello all. I was wondering what is the purpose of the ui_method and callback_data arguments to this function. This is what I want to do: Write a simple function that will prompt f

Re: Montgomery constants

2004-03-10 Thread mateus
I'd have to ask you to pardon my ignorance too. In fact I do not know montogomery constants. I'm using cryptoflex smart cards and I'm having problems to find out what are a,c and f that it's Programmer's Guide references. I've found somewhere that this would be some of montgomery constants, but

Re: Montgomery constants

2004-03-10 Thread Charles B Cranston
Pardon my ignorance, but I don't know the "canonical" variable name assignments, so "a, c, and f" mean nothing to me. I did a simple google and found this paper which describes Montgomery's method, including a version in MIPS 64 assembly language. Perhaps this will help you get better oriented: h

Montgomery constants

2004-03-10 Thread mateus
Hi, I'd like to know how to use montgomery references at RSA structure to obtain montgomery constants a,c and f. Thanks in advance. Mateus. __ OpenSSL Project http://www.

X.509 extensions: SubjectAlternativeName,PrivateKeyValidity

2004-03-10 Thread Kenichi MORI
Dear everyone, Could you tell me about X.509 extensions in OpenSSL ? 1) Can I use DirectoryName(DN) in X.509 extensions "Subject Alternative Name" ? According to openssl.txt (included doc directory), I can use "email", "URI", "DNS", "RID" and "IP". But I can't find about DirectoryName. 2) Can I