OpenSSL in Linux kernel

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

OpenSSL in Linux kernel

Lei Kong
Can SSL library be used in Linux kernel mode?
Thanks.
           

--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
Reply | Threaded
Open this post in threaded view
|

Re: OpenSSL in Linux kernel

Salz, Rich

> Can SSL library be used in Linux kernel mode?

The crypto libraries can, and are in some places, in the kernel.

If you want to put the SSL/TLS protocol into the kernel, you will need to do some work, just as writing a BIO type that works in the kernel and perhaps malloc/free routines, probably some other stuff.

That would be cool to see :)           
--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
Reply | Threaded
Open this post in threaded view
|

Re: OpenSSL in Linux kernel

Viktor Dukhovni
On Thu, Apr 21, 2016 at 09:00:07PM +0000, Salz, Rich wrote:
>
> > Can SSL library be used in Linux kernel mode?
>
> The crypto libraries can, and are in some places, in the kernel.
>
> If you want to put the SSL/TLS protocol into the kernel, you will need to do some work, just as writing a BIO type that works in the kernel and perhaps malloc/free routines, probably some other stuff.
>
> That would be cool to see :)           

It might not be so simple.  The kernel is preemptable and must not
block.  libssl is not designed with the kernel in mind.

--
        Viktor.
--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
Reply | Threaded
Open this post in threaded view
|

Re: OpenSSL in Linux kernel

Matěj Cepl
In reply to this post by Lei Kong
On 2016-04-21, 20:50 GMT, Lei Kong wrote:
> Can SSL library be used in Linux kernel mode?

A bit of problem is that the OpenSSL’s license is incompatible
with GPLv2.

Matěj

--
https://matej.ceplovi.cz/blog/, Jabber: [hidden email]
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
 
How many Bavarian Illuminati does it take to screw in a light
bulb?
Three: one to screw it in, and one to confuse the issue.

--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users