Doubt regarding PKCS7_DataInit

2001-03-03 Thread chandu
Hi every body,   I have a doubt regarding PKCS7_DataInit functions...   I want to know the purpose of the functions PKCS7_DataInit, PKCS7_DataUpdate and PKCS7_DataFinal functions... and their application...   Any help is highly appreciated...   Regards Suram

Doubt regarding BER encode

2001-03-03 Thread chandu
Hi everybody,   I have a doubt regarding BER encoding...  I want to BER encode a piece of data.    Can any one help me with the functions that must be used to BER encode and decode...   Any help is highly appreciated...   Regards Suram

Re: Doubt regarding PKCS7_DataInit

2001-03-03 Thread Dr S N Henson
> chandu wrote: > > Hi every body, > > I have a doubt regarding PKCS7_DataInit functions... > > I want to know the purpose of the functions PKCS7_DataInit, > PKCS7_DataUpdate and PKCS7_DataFinal functions... and their > application... > PKCS7_DataInit() and PKCS7_DataFinal() are low level PKC

Re: Doubt regarding BER encode

2001-03-03 Thread Dr S N Henson
> chandu wrote: > > Hi everybody, > > I have a doubt regarding BER encoding... I want to BER encode a piece > of data. > > Can any one help me with the functions that must be used to BER encode > and decode... > It depends on the data you want to encode and decode. If there's already a struc

RE: security in small signatures

2001-03-03 Thread Darryl Wagoner
> > I'm sure Joseph knows all the following, but just to clarify: > > With "36^3" Joseph's referring to finding two pre-images that hash to the > same image. For that attack, the work effort would indeed be 36^3. It's > not clear from Darryl's query whether his protocol is vulnerable to such

Xenroll and OpenSSL

2001-03-03 Thread Sandipan Gangopadhyay
I want to use Xenroll to generate a keypair on a Windows system and submit the public key over HTTPS POST to an ApacheServer/Mod_SSL with a CGI invoking openssl ca for the signing. Thanks to Greg Stark's samples and the MS Xenroll site, I have been able to start on this task. I have a few questio

BIO pair

2001-03-03 Thread Teemu Piiroinen
Hi   I have tried to use BIO pair and for some reason it doesn't seem to work right. So, here is the code if someone could tell me what's going wrong.   I have tried to make it work without SSL_set_fd and SSL_accept, but it won't work.       ssl = SSL_new (ctx);      SSL_set_fd (ssl, sd

Re: Doubt regarding BER encode(specific question)

2001-03-03 Thread chandu
Thank u Dr. Henson for the reply... My specific question is as follows... I want to set the public key in the certificate request (X509_REQ) structure. The draft for SCEP says that the public key has to be encoded to BER form and set it in the request... Can u help me in solving this puzzle of

Re: BIO pair

2001-03-03 Thread Lutz Jaenicke
On Sat, Mar 03, 2001 at 05:57:49PM +0200, Teemu Piiroinen wrote: > I have tried to use BIO pair and for some reason it doesn't > seem to work right. So, here is the code if someone could > tell me what's going wrong. > > I have tried to make it work without SSL_set_fd and SSL_accept, but it won't

Re: Anyone have Win32 DLL for libcrypt?

2001-03-03 Thread Ng Pheng Siong
On Thu, Mar 01, 2001 at 04:06:56PM -0500, Darryl Wagoner wrote: > I am currently working on an open source DSA signature scheme for Amateur > radio QSL cards. One of the things I would like to do is have a non-US > site that I can point people to where they can get Wintel32 DLLs. Is there > such

Re: Xenroll and OpenSSL

2001-03-03 Thread Dr S N Henson
Sandipan Gangopadhyay wrote: > > I want to use Xenroll to generate a keypair on a Windows system and submit > the public key over HTTPS POST to an ApacheServer/Mod_SSL with a CGI > invoking openssl ca for the signing. Thanks to Greg Stark's samples and the > MS Xenroll site, I have been able to

Re: Doubt regarding BER encode(specific question)

2001-03-03 Thread Dr S N Henson
chandu wrote: > > Thank u Dr. Henson for the reply... > > My specific question is as follows... > > I want to set the public key in the certificate request (X509_REQ) > structure. The draft for SCEP says that the public key has to be encoded to > BER form and set it in the request... > > Can

Maurice Gittens' ReadPrivateKey(), ReadPublicKey(), etc.

2001-03-03 Thread Joe Flowers
I am trying to port pieces of OpenSSL to NetWare. I have been able to compile and link a program with the following function OK. RSA_private_decrypt(pubKeySize, input, buf_dec, privKey->pkey.rsa, RSA_PKCS1_PADDING); However, I would like alternative functions to ERR_load_crypto_strings(); //We

Re: Doubt regarding BER encode(specific question)

2001-03-03 Thread chandu
Hello again Dr. Henson, Once again thank u very much but I am still worried with the function which u pointed to... I have gone through the code of X509_REQ_set_pubkey( ) As far as I understood the function, it stores the public key in DER fromat as it uses the function i2d_PublicKey( ). I

Re: Doubt regarding BER encode(specific question)

2001-03-03 Thread Dr S N Henson
chandu wrote: > > Hello again Dr. Henson, > > Once again thank u very much but I am still worried with the function which > u pointed to... > > I have gone through the code of X509_REQ_set_pubkey( ) > > As far as I understood the function, it stores the public key in DER fromat > as it use

INSTALL: Undefined reference

2001-03-03 Thread bc Wong
Hi, I'm installing openssl on win98 with mingw32. I run ms\mingw32. After seeing the line "Generating the DLLs and input libraries", I see the error: libeay32.exp(.edata+0x784):fake: undefined reference to `RAND_screen' libeay32.exp(.edata+0x237c):fake: undefined reference to `RA

Re: BIO pair

2001-03-03 Thread David Schwartz
You seem to be forgetting, among other things, that if you use BIO pairs, you have _4_ streams of data to deal with, not 2. First there's data received on the socket that needs to go to the SSL engine. Then there's data from the SSL engine that you need to hand to the socket. Third there's th

Problems inastalling OpenSSL on AIX 4.3

2001-03-03 Thread Neil Bradbury
Hi, I am relatively new to installing OpenSSL I have installed Perl on the machine (AIX 4.3.2.0) and have run the configure program using the following command: ./config --prefix=/opt/OpenSSL This seems to work ok but when I run the make command I get a number of warnings most of which are m

License Questions

2001-03-03 Thread Alex Graveley
Hi, I'm interested in using OpenSSL with my project, but I am concerned about license incompatibilities. My project is a library which will be licensed under the LGPL. I have no problem with it conforming to the OpenSSL advertising clause, but I would like applications which use my library to n

Ensuring no-prompt

2001-03-03 Thread Sandipan Gangopadhyay
Thanks for helping me with the problems I have been facing. I need to now address two problems that have remained for some time - I need to solve those now to automate the CA process. I have put in directives as I could understand from the documentation, but I am obviously making some mistake som