We have a crypto server that uses OpenSSL as a library. (SSL *) contexts
are given memory BIOs for I/O. OpenSSL is driven by calls to SSL_read(),
SSL_write(), BIO_read() and BIO_write(). There are no sockets.
I am attaching an archive containing the source code that implements
this API and a README file. This software is provided "as is". See the
README file for details.
Please regard this as a work in progress. I am interested in seeing
OpenSSL evolve to a library.
Ron.
> -----Original Message-----
> From: Bodo Moeller [SMTP:[EMAIL PROTECTED]]
> Sent: Saturday, May 15, 1999 1:28 AM
> To: [EMAIL PROTECTED]
> Subject: Re: IO Completion Ports and openssl
>
> On Fri, May 14, 1999 at 04:20:49PM +0200, Roger Bod�n wrote:
>
> > We have an application on Windows NT that uses IO Completion ports
> for
> > its socket communication. I now need to add SSL support to secure
> this
> > communication and we are considering using openssl for this.
> >
> > I had a look at header files, the documentation I could get hold of
> and
> > some of the apps that come with openssl, but was unable to find any
> > explicit IO Completion Port info.
> >
> > What is the best way to implement this? Is it to use BIO_f_ssl() to
> > encrypt/decrypt the data before writing and after reading,
> respectively?
>
> I have no idea what IO completion ports are; but BIO_f_ssl most
> probably is not the solution you are looking for. It is a filter BIO
> module that you have to push on top of some other BIO module to use
> it. For example, BIO_new_ssl_connect combines BIO_f_ssl with
> BIO_s_connect.
>
> I intend to write an additional BIO module BIO_pair, which will allow
> applications to handle data in whatever way they want to: The program
> will have to relay all data between the SSL library and some "real"
> I/O ports. I don't think this is currently possible using any of the
> existing modules.
> ______________________________________________________________________
> OpenSSL Project http://www.openssl.org
> Development Mailing List [EMAIL PROTECTED]
> Automated List Manager [EMAIL PROTECTED]
api.tar.gz