[openssl-users] BIO Pair vs Custom BIO for non standard transport
lilulo
lilulo at gmail.com
Mon Aug 29 13:27:00 UTC 2016
Hi All,
I need to use TLS on the top of our collection of low-level transport
classes. It looks like the standard choice is to create a BIO Pair and to
manage data transfer between transport layer and the TLS through it. This
looks fine but actual implementation of a socket's BIO in
openssl\crypto\bio\bss_sock.c looks much cleaner then the code which is
using BIO Pairs and I think I can create a custom BIO which is talking to
our layer, instead of socket, based on this as an example.
Is it considered a normal practice to create a custom BIO? The actual
structure for BIO is hidden in openssl\include\internal\bio.h and it
doesn't look like it is really encouraged to use it.
Thanks,
Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20160829/569726e5/attachment.html>
More information about the openssl-users
mailing list