Compile OpenSSL with Visual Stdio 8 Windows Vista

2008-01-29 Thread Tyler Durden
Hello, I cannot compile and build openssl with Visual Studio 8 Windows Vista business. I don't know if openssl is compatible with Windows Vista or now it is not possible use and run Openssl in this OS. I have run the configure without any problem and I used masm but I run nmake -f ms\ntdll.mak

Re: problem with X509_get_ext_d2i() and AUTHORITY_KEYID

2005-06-11 Thread Tyler Durden
Hello, You have to instantiate the pointer variable name akid. For more inforrmation of how use the i2d_*(), d2i_*() functions, please consult the FAQ, with the question 3. How do I read or write a DER encoded buffer using the ASN1 functions? [EMAIL PROTECTED] wrote: Hi, I need to use

Re: Recommended SSL Books...

2005-06-06 Thread Tyler Durden
Hello, I have been using the book that you can see in this link: http://www.oreilly.com/catalog/openssl/ I do not know any book of openSSL, but I know others that explains the SSL protocol. This book is good, but the openSSL version that use, I think that is the 0.96, so the documentation is

Problems with the function i2d_DSA_PUBKEY(...)

2005-05-19 Thread Tyler Durden
Hellos, I have some problems with the function i2d_DSA_PUBKEY. I want serialize the public key to send this to a client Java for this can read this public key. I get serialize with openSSL, but the Java client throw an exception of the bad encoded when read this. Java have some functions to read

Re: Callback function in c++ methods

2005-05-13 Thread Tyler Durden
Thank you very much, I don't know the use of the function SSL_set_app_data and SSL_get_app_data. This method is better for me because I am implementing a server that manage the SSL_SESSIONS externaly with threads, and in the threads I use this technique (To pass the this pointer to the callback

Callback function in c++ methods

2005-05-11 Thread Tyler Durden
Hello, I am implementing an object model for secure communications and secure sessions gestor. I am using the openSSL library for this task. My problem is when I define the callback functions for external SSL sessions, the callback functions cannot methods of a class if these are not static, but

Re: Problem with RSA_private_decrypt RSA_print_fp

2005-04-14 Thread Tyler Durden
I am using Windows 2000 and XP with Visula Studio .NET. Sorry I don't know what is backtrace. Thanks. On 4/13/05, Nils Larsch [EMAIL PROTECTED] wrote: Tyler Durden wrote: Sorry, I forget put in the flen parameter of the function RSA_private_decrypt(int flen, unsigned char *from

Problem with RSA_private_decrypt RSA_print_fp

2005-04-13 Thread Tyler Durden
Hello, I have a problem wiht the function int RSA_private_decrypt(int flen, unsigned char *from, unsigned char *to, RSA *rsa, int padding); When I call this function after to call the RSA_public_encrypt, I get -1 return value, therefore I get an error. The information error is: LIB: rsa

Re: Error to sign with OpenSSL

2005-04-13 Thread Tyler Durden
Hello, I think that you have a problem with the call strlen(firma), because this function use the character '\0' to find the length of the char* and you has not initialized the char* firma. On 4/13/05, Angel Martinez Gonzalez [EMAIL PROTECTED] wrote: Hello: I want sign with OpenSSL, and I

Re: Encrypting files diferent than .txt

2005-04-13 Thread Tyler Durden
Hello, Yes, I encrypt with symmetric key ciphers *.doc and *.pdf. You have that open the files in binary mode. On 4/13/05, Rafael Cividanes [EMAIL PROTECTED] wrote: Hi, I'm trying to make a function to get a file in word format (.doc) , encrypt and decrypt it. I'm using symetric

Re: Problem with RSA_private_decrypt RSA_print_fp

2005-04-13 Thread Tyler Durden
offset). Someboy can help me? Thanks. On 4/13/05, Tyler Durden [EMAIL PROTECTED] wrote: Hello, I have a problem wiht the function int RSA_private_decrypt(int flen, unsigned char *from, unsigned char *to, RSA *rsa, int padding); When I call this function after to call the RSA_public_encrypt

nid and ciphername

2005-04-01 Thread Tyler Durden
Hello, I am doing a high level library that use openssl and I need know the nids and the openssl name of the all ciphers (symmetric and asymmetric) and digests. There is some maner to get these? Thank you very much. __ OpenSSL

Problems with EVP_DecryptFinal

2005-03-29 Thread Tyler Durden
Hello, I write the next c programming code that allow to do a test of encryption and decryption. I understand that I do bad, because the EVP_DecryptionFinal return 0 therefore the decrypted data are not match that the original data. Please help me. Thaks very much The code is this. I am using

6721:error:140830B5:SSL routines:SSL3_CLIENT_HELLO:no ciphers available:s3_clnt.c:571:

2005-02-23 Thread Tyler Durden
Hello, I have next problem: I implement a simple TLS cliente server with openssl that these funcions with all ciphers TLS suit except with the cifer DH, that are: DH-DSS-AES128-SHA DH-DSS-AES256-SHA DH-RSA-AES128-SHA DH-RSA-AES256-SHA. I have proved with all functions of the generate key and I

Fwd: SSL routines:SSL3_CLIENT_HELLO with some ciphers

2005-01-25 Thread Tyler Durden
Hello, I make a client that send some bytes to a server. Both have a certificata an key and they autenticate the peer. I have got that both use several ciphes of the TLSv1 protocol but I haven't got that five ciphers can be used. The ciphers are: EDH-DSS-CBC-SHA DH-DSS-AES128-SHA DH-DSS-AES256-SHA

SSL routines:SSL3_CLIENT_HELLO with some ciphers

2005-01-25 Thread Tyler Durden
Hello, I make a client that send some bytes to a server. Both have a certificata an key and they autenticate the peer. I have got that both use several ciphes of the TLSv1 protocol but I haven't got that five ciphers can be used. The ciphers are: EDH-DSS-CBC-SHA DH-DSS-AES128-SHA DH-DSS-AES256-SHA

SSL routines SSL3_CLIENT_HELLO with some ciphers

2005-01-25 Thread Tyler Durden
Hello, I make a client that send some bytes to a server. Both have a certificata an key and they autenticate the peer. I have got that both use several ciphes of the TLSv1 protocol but I haven't got that five ciphers can be used. The ciphers are: EDH-DSS-CBC-SHA DH-DSS-AES128-SHA DH-DSS-AES256-SHA

SSL routines SSL3_CLIENT_HELLO with some ciphers

2005-01-25 Thread Tyler Durden
Hello, I make a client that send some bytes to a server. Both have a certificata an key and they autenticate the peer. I have got that both use several ciphes of the TLSv1 protocol but I haven't got that five ciphers can be used. The ciphers are: EDH-DSS-CBC-SHA DH-DSS-AES128-SHA DH-DSS-AES256-SHA

SSL routines:SSL3_CLIENT_HELLO with some ciphers

2005-01-24 Thread Tyler Durden
Hello, I make a client that send some bytes to a server. Both have a certificata an key and they autenticate the peer. I have got that both use several ciphes of the TLSv1 protocol but I haven't got that five ciphers can be used. The ciphers are: EDH-DSS-CBC-SHA DH-DSS-AES128-SHA

Re: The time of the openssl-ciphers is constant?

2005-01-14 Thread Tyler Durden
The stablishing of the a symmetric key it has in the handshake and I am calculating the time of the handshake and the time to sent data. __ OpenSSL Project http://www.openssl.org User Support

Re: The time of the openssl-ciphers is constant?

2005-01-13 Thread Tyler Durden
Thanks, I had forgotten that the time that I am calculating it is not the time of the CPU and I was calculating the time of the data send with the time that is lost with other processes that the linux scheduler assign. Somebody how I can profile only the time spent by SSL_write and SSL_read?

The time of the openssl-ciphers is constant?

2005-01-11 Thread Tyler Durden
Hello, I am trying to get the transfering time between a client and a server with different size of data because I want to know that ciphers are more efficient and after I can choose the cipher more efficient and secures, because I want build a library for to transfer data in mobile devices (PDA,

How use EXP-EDH-DSS-DES-CBC-SHA, ... ciphers.

2004-10-26 Thread Tyler Durden
Hi, I have created a server and a client that connection and communicate well if I use this ciphers: NULL-MD5, NULL-SHA, EXP-RC4-MD5, RC4-MD5, RC4-SHA, EXP-RC2-CBC-MD5, IDEA-CBC-SHA, EXP-DES-CBC-SHA, DES-CBD-SHA, DES-CBC3-SHA, AES128-SHA, AES256-SHA. Four days ago I asked here that I had problems

Re: CSR generation not happy

2004-10-26 Thread Tyler Durden
Sorry, I know a lot, but what do you want to get?, A certificate or a certificate request, because that I think that this command (openssl req) genrates a certificate request. On Fri, 22 Oct 2004 11:53:44 -0400, Dan O'Brien [EMAIL PROTECTED] wrote: Hi, We're having some trouble generating a

Problems with EDH-RSA-DES-CBC-SHA cipher

2004-10-22 Thread Tyler Durden
Hi, I have created a server and a client that connection and communicate well if I use this ciphers: NULL-MD5, NULL-SHA, EXP-RC4-MD5, RC4-MD5, RC4-SHA, EXP-RC2-CBC-MD5, IDEA-CBC-SHA, EXP-DES-CBC-SHA, DES-CBD-SHA, DES-CBC3-SHA, AES128-SHA, AES256-SHA. The client and the server use the TLSv1

Profiling openssl functions

2004-09-21 Thread Tyler Durden
Hi, I want to get profiling information about my applications, but if my application contain openssl functions, then I cannot get profiling information. The gprof (software for profile applications) get 0 miliseconds for all functions that I have made and they use openssl functions. I use g++,

openssl gprof

2004-09-07 Thread Tyler Durden
Hello, I want to use gprof with my openssl applications and I can get the spent time for the several openssl functions that I used in my application. I don't know how to compile my applications and neither how to execute gprof with my applications My application is simple, only I have a client