encrypt with RSA public key!

2004-02-27 Thread todayhill
encrypt with RSA public key!but my public key come from a buffer,like char* buf,how can I use this buf encrypt my data?I know maybe use RSA struct,so how can I use that buf make a RSA struct? my key is in DER format.

encrypt with RSA public key!

2004-02-27 Thread todayhill
but my public key come from a buffer,like char* buf,how can I use this buf encrypt my data?I know maybe use RSA struct,so how can I use that buf make a RSA struct?my key is in text format.

Re: LINUX - 3DES slow with static linking

2004-02-27 Thread Dr. Stephen Henson
On Fri, Feb 27, 2004, Ujval Lodha wrote: > I'm testing Triple DES encryption speeds with the OpenSSL library on Linux > on my machine. > > With dynamic linking, I get about 16 Mbytes per second whereas with static > linking, I get only about 5 Mbytes per second. For compiling, I used: > > DYNAMI

openSSL over SCTP

2004-02-27 Thread Martin Jarl
Hi We are trying to run openSSL on top of SCTP. We need to know which parts of the openSSL code that communicates with the lower layer (TCP) so that we can adapts these calls to SCTP. We have found socket calls in the following files: /apps/s_socket.c /crypto/bio/bss_socket.c /crypto/rand/rand_

Re: SHA-1 hash of public key

2004-02-27 Thread Dr. Stephen Henson
On Fri, Feb 27, 2004, Guido Noord wrote: > Hi, > > I am a newbe to openssl. The documentation is not very enlightning to me > so far I'm afraid. > > What I am trying to do is to take the "sha-1 hash of a public key > obtained from a peer". So, I first do a SSL_connect, > obtaining the X509 certi

SHA-1 hash of public key

2004-02-27 Thread Guido Noord
Hi, I am a newbe to openssl. The documentation is not very enlightning to me so far I'm afraid. What I am trying to do is to take the "sha-1 hash of a public key obtained from a peer". So, I first do a SSL_connect, obtaining the X509 certificate of the peer. So far so good, this is standard SSL s

Re: Non TCP/IP socket

2004-02-27 Thread Goetz Babin-Ebell
Hello Ronan, Ronan Daniellou wrote: Thank you for your answer, in fact what I am trying to do is to use TLS over a bluetooth socket. I use the L2CAP layer which is reliable. [...] Why don't you use BIOs ? Implementing a BIO that reads data from the bluetooth layer should be trivial... Bye Goet

Compiling an project with OpenSSL and PocketPC2002 ActiveX

2004-02-27 Thread Antonio Ruiz Martínez
Hello! I'm trying to compile an ATL ActiveX for PocketPC2002. This activeX compile properly. However, when I've included some code from Openssl when compile using the static version of the library I'm getting the followings errors: C:\Archivos de programa\Windows CE Toolsrama\wce300\Pocket PC