Re: How BN_bin2bn works

2004-05-03 Thread Lev Walkin
Carlos Cabañero wrote: Hi! I'm giving a look to the code of OpenSSL as I'm very interested in RSA encryptation / decryp. specially for a subject called Discrete Math. My problem is that I have to work on an algorithm by myself and, of course, I'm trying to implement and understand some thing

Re: How BN_bin2bn works

2004-05-03 Thread Carlos Cabañero
Obviously I know how atoi, atof, itoa, ... works... but I want to know how they work internally, to pass the value to the pointer (like the BIGNUM do with bn_dec2bn), and to create my own classes for bignum. I could use atoi in a limited way, but that's not fun and I want a lower level way to do

Re: How BN_bin2bn works

2004-05-03 Thread Carlos Cabañero
Not sure, because what I want to know is how BN_bin2bn works INTERNALLY, and not how to use it, anyway, I've sent the message to the openssl-users list too. Thank you From: Geoff Thorpe <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: Carlos Cabañero <[EMAIL PROTECTED]>

Re: loading an RSA pubkey that is hex encoded and DER

2004-05-03 Thread Dr. Stephen Henson
On Mon, May 03, 2004, Eleanor Nagai wrote: > Steven, > > Hi! > > Thanks very much for your response. I tried the -keyform option in the dgst > command but get the message "unable to load key file". So I tried your > suggestion > to convert the key to pem format using: > > openssl

Re: How BN_bin2bn works

2004-05-03 Thread Geoff Thorpe
Such a question will have a wider and more appropriate pool of responders on the openssl-users list than openssl-dev. Regards, Geoff On May 3, 2004 10:57 am, Carlos Cabañero wrote: > I'm giving a look to the code of OpenSSL as I'm very interested in RSA > encryptation / decryp. specially f

No CAs in CertificateRequest message

2004-05-03 Thread Erik Tkal
A customer performing interoperability testing sent me a message and indicated that our TLS server was sending a CertificateRequest message with a CAs length of 0, followed by no additional data. This appears to be in violation of section 7.4.4 of RFC 2246, which implies that the certificate_a

How BN_bin2bn works

2004-05-03 Thread Carlos Cabañero
Hi! I'm giving a look to the code of OpenSSL as I'm very interested in RSA encryptation / decryp. specially for a subject called Discrete Math. My problem is that I have to work on an algorithm by myself and, of course, I'm trying to implement and understand some things that OSSL uses like the

No CAs in CertificateRequest message

2004-05-03 Thread Erik Tkal
A customer performing interoperability testing sent me a message and indicated that our TLS server was sending a CertificateRequest message with a CAs length of 0, followed by no additional data. This appears to be in violation of section 7.4.4 of RFC 2246, which implies that the certificate_au

RE: loading an RSA pubkey that is hex encoded and DER

2004-05-03 Thread Eleanor Nagai
Steven, Hi! Thanks very much for your response. I tried the -keyform option in the dgst command but get the message "unable to load key file". So I tried your suggestion to convert the key to pem format using: openssl rsa -in -pubin -inform der -pubout -outform pem but got th