Re: RSA settings?

2005-05-17 Thread Layla
and a windows generated message is displayed where it says that an error has occured with the application. Does that ring a bell? Sebastian [EMAIL PROTECTED] wrote: Hi Layla,there a no special settings for RSA. What are your problems to run your app - please tell us the errors / abends you get to help us

RSA settings?

2005-05-13 Thread Layla
the private key. Too, this function show RSA size correctly. I hope this function solve your problem. Regards. P.D.: Your name remember me a very famous song of Eric Clapton ... ;-) - Original Message - From: Layla To: openssl-users@openssl.org Sent: Tuesday, May 10, 2005 3:55

Re: RSA Encryption/Decryption.

2005-05-10 Thread Layla
Thank you :)Sebastian [EMAIL PROTECTED] wrote: Hmm,take a look at routines like RSA_new() to create RSA structures. As you coded 'sizeof apub', this will return the size of a _pointer_ - assuming a 32-bit architecture you will get round about four bytes ;-).See:

Loading RSA keys from file.

2005-05-10 Thread Layla
I'm still not able to load the key from its file and I'm still encountering an error when I use RSA_size();a run time error occured when I try to print the returned size. I'm including a segment of my code after modification: RSA *apub;

Re: Loading RSA keys from file.

2005-05-10 Thread Layla
error when encountered as well. I can't think of anything since I'm initializing my RSA object. Suggestions ? Angel Martinez Gonzalez [EMAIL PROTECTED] wrote: Hello Layla: Maybe, your error disapear if you will change the following: apub = PEM_read_RSAPublicKey(f, NULL, NULL, NULL); Regards

RSA Encryption/Decryption.

2005-05-08 Thread Layla
Hi all, I'm trying to develop a C++ application to encrypt and decrypt data using RSA public key cryptography scheme. I have generated the public/private keys using OpenSSL command line tool.The following C++ code should read a public key, encrypt data, read private key and decrypt the data:

RSA Public Key Cryptography.

2005-04-25 Thread Layla
Hi all, I would like to use RSA public key cryptography. My question is: Is it possible to generate RSA keys from command line and have them stored in a file in order for a C application to access/use them? If not, then what is it the best way to go about this? Thanks in advance. Layla

Re: RAND_seed()

2005-04-06 Thread Layla
Ok I don't know if I understood your problem correctly, but if you're looking for ways for seeding you can always use current system time, I believe this is pretty much available on all systems. Hope that helps."Bibbs, Christopher" [EMAIL PROTECTED] wrote: Ok, here's my problem. I'm using OpenSSL

RE: RAND_seed()

2005-04-06 Thread Layla
I wouldn't say Seeding PRNG using system time is the best practice, but it is used sometimes, personally I had to use it since I'm developing my applications on win32 platfrom therefore I can't use /dev/random. The other option was to use EGADS, this is a good option security-wise, but it tends to

Re: RAND_seed()

2005-04-06 Thread Layla
In addition to RAND_screen(), you can use: RAND_event(...,...,...); but you must know that use of both functions is highly discouraged, in other words they should be your last resort.Egon Andersen [EMAIL PROTECTED] wrote: Bibbs, Christopher wrote:From: Michael D'ErricoYou can try using

Re: Initialization Vectors.

2005-03-26 Thread Layla
Thank you.Nils Larsch [EMAIL PROTECTED] wrote: On Thu, Mar 24, 2005, Layla wrote: Hi, I'm writing a program which requires the use of encryption/decryption functions, therefore, I have been using EVP functions for initializing cipher contexts. I generated keys and initialization vectors

Initialization Vectors.

2005-03-24 Thread Layla
Hi, I'm writing a program which requires the use of encryption/decryption functions, therefore, I have been using EVP functions for initializing cipher contexts. I generated keys and initialization vectors for this purpose, but someone told me that initialization vectors aren't necessary for

Re: LIBEAY32.dll

2004-12-27 Thread Layla
months ago and I never had to deal with environment variables. But I do remember placing Libeay32.dll and ssleay32.dll under windows sys folder, could that be it? Thank you again for your help. Layla"Dr. Stephen Henson" [EMAIL PROTECTED] wrote: On Sun, Dec 26, 2004, Layla wrote: Hello all

LIBEAY32.dll

2004-12-26 Thread Layla
the visual studio and openssl are installed on two different partitions, whereas they were both installed on the same partition on the other machine. I am able to compile and link, but the messages is given when I run the programs. Your help is highly appreciated, thanks in advance. Layla. Do

RE: 'ml' is not recognized as an internal or external command, operable program or batch file. NMAKE : fatal error U1077: 'ml' : return code '0x1'

2004-10-07 Thread Layla
Hi Peter, I had the same problem a few months ago, there are two ways to go about this: 1- Since "ml" is messing as its not part of the standard VC++6 (assuming that's what you're using) you need to install MS VC+6 Processor Pack. Note that this requires the installation of either service pack 4

Maintaining Symmetric Keys.

2004-09-27 Thread Layla
in the program for easy retrieval of the key and either using it for encryption or passing it in a message? Thanks in advance for your help. Layla.__Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

Re: Generating a Random Nonce Identifier.

2004-09-24 Thread Layla
, Layla. Richard Levitte - VMS Whacker [EMAIL PROTECTED] wrote: In message [EMAIL PROTECTED] on Sun, 19 Sep 2004 12:21:53 -0700 (PDT), Layla <[EMAIL PROTECTED]>said:layla_a2002 Richard, Thanks for replying,You're welcome!layla_a2002 I'm supposed to implement Needham-Schroeder computerlayla

Generating a Random Nonce Identifier.

2004-09-19 Thread Layla
appreciated, Thank you. Layla. Do you Yahoo!?vote.yahoo.com - Register online to vote today!

Re: Generating a Random Nonce Identifier.

2004-09-19 Thread Layla
to give a clear description of my problem, and I apologize if my questions tend to seem a bit obvious, but I'm really new at this. Thanks again for your help, Layla. Richard Levitte - VMS Whacker [EMAIL PROTECTED] wrote: In message [EMAIL PROTECTED] on Sun, 19 Sep 2004 07:30:33 -0700 (PDT), Layla

How should I start?

2004-08-15 Thread Layla
Security with OpenSSL But i would really appreciate it if anyone can tell me where to start from, or if there's even some sort of a catalog listing the different functions and their uses. Thank you all in advance. Layla. Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses.

Re: Linking Error.

2004-07-28 Thread Layla
ronment variable that points to the root directory of OpenSSL, and I'm sure that I've read about this in one of the sites. Could this be the cau se of my problem? Your help is highly appreciated. Layla. */David Schwartz <[EMAIL PROTECTED]>/* wrote: 1) D:\Documents and Settings\A

Re: Linking Error.

2004-07-28 Thread Layla
fig --cxxflags` -I/d/ssl/run/include -I./ssl -Wall -pthread -o MyFrame.o MyFrame.cpp g++ -g -o MyApp MyApp.o MySSL.o MyFrame.o MyCustom.o `wx-config --libs` -L/d/ssl/run/lib -lssl -lcrypto -Wall -pthread First one is a compile command, second is a linking command. So you need the seco nd one. Hope

Re: Linking Error.

2004-07-28 Thread Layla
find your lib etc.I believe the VC++ can show you somewhere of the enviornment set.You can get clues byexaming the difference too. Weijie - Original Message - From: Layla To: [EMAIL PROTECTED] Sent: Wednesday, July 28, 2004 11:10 AM Subject: Re: Linking Error. Thanks for the respon

RE: Linking Error.

2004-07-28 Thread Layla
compile/link/run from graphical user interface or the command line? Thank you again for your help."jain, anuj" [EMAIL PROTECTED] wrote: Layla, To link in the ssl libraries using VC++ IDE do the following: "Project-Settings-Link tab-Object/library modules:" in the end of the list

RE: Linking Error.

2004-07-28 Thread Layla
the command line? is there something that I must run first? and does it really make any difference whether I compile/link/run from graphical user interface or the command line? Thank you again for your help."jain, anuj" [EMAIL PROTECTED] wrote: Layla, To link in the ssl libraries using

Re: Linking Error.

2004-07-28 Thread Layla
Ken, Thank you.Ken Goldman [EMAIL PROTECTED] wrote: Thank you SO much! :) that certainly solved the linking problem using the graphical user interface of MS visual studio, but would you know why isn't it compiling or linking from the command line? is there something that I must run first? and