public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Security computation within Linux kernel
@ 2007-04-08 14:36 JanuGerman
  2007-04-09  0:12 ` Lee Revell
  2007-04-12  1:10 ` Carlo Florendo
  0 siblings, 2 replies; 4+ messages in thread
From: JanuGerman @ 2007-04-08 14:36 UTC (permalink / raw)
  To: linuxkernel

Hi every one,

I have one question regarding security libraries, already shipped with Linux Kernel. That is, all PKI, RSA libraries, as provided by OpenSSL are already integrated within the linux kernel source code? OR, one have to use OpenSSL seperately in this regard. 

I can see, linux/crypto.h and linux/hash.h files shipped with 2.6 kernel and know that SHA1 "hashing" can be done using linux/hash.h, but beside that, any possiblity for RSA or PKI.

If yes, any link to their use, will be highly appreciated.


Best,
JG


		
___________________________________________________________ 
Copy addresses and emails from any email account to Yahoo! Mail - quick, easy and free. http://uk.docs.yahoo.com/trueswitch2.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Security computation within Linux kernel
  2007-04-08 14:36 Security computation within Linux kernel JanuGerman
@ 2007-04-09  0:12 ` Lee Revell
  2007-04-12  1:10 ` Carlo Florendo
  1 sibling, 0 replies; 4+ messages in thread
From: Lee Revell @ 2007-04-09  0:12 UTC (permalink / raw)
  To: JanuGerman; +Cc: linuxkernel

On 4/8/07, JanuGerman <doublemalam@yahoo.co.uk> wrote:
> Hi every one,
>
> I have one question regarding security libraries, already shipped with Linux Kernel. That is, all PKI, RSA libraries, as provided by OpenSSL are already integrated within the linux kernel source code? OR, one have to use OpenSSL seperately in this regard.
>
> I can see, linux/crypto.h and linux/hash.h files shipped with 2.6 kernel and know that SHA1 "hashing" can be done using linux/hash.h, but beside that, any possiblity for RSA or PKI.

What do you expect the kernel to use PKI for?  That's userspace stuff.

What problem are you trying to solve?

Lee

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Security computation within Linux kernel
  2007-04-08 14:36 Security computation within Linux kernel JanuGerman
  2007-04-09  0:12 ` Lee Revell
@ 2007-04-12  1:10 ` Carlo Florendo
  2007-04-12  1:18   ` H. Peter Anvin
  1 sibling, 1 reply; 4+ messages in thread
From: Carlo Florendo @ 2007-04-12  1:10 UTC (permalink / raw)
  To: JanuGerman; +Cc: linuxkernel

JanuGerman wrote:
> Hi every one,
> 
> I have one question regarding security libraries, already shipped with Linux Kernel. That is, all PKI, RSA libraries, as provided by OpenSSL are already integrated within the linux kernel source code? OR, one have to use OpenSSL seperately in this regard. 

IIRC, The kernel does some encryption functions, involving TCP, NFS, and 
IPsec since all these are part of the kernel itself.

If you intend to write your own apps that have to use encryption functions, 
it would be best to use the relevant encryption libraries, such as OpenSSL.

Thank you very much.

Best Regards,

Carlo


-- 
Carlo Florendo
Softare Engineer/Network Co-Administrator
Astra Philippines Inc.
UP-Ayala Technopark, Diliman 1101, Quezon City
Philippines
http://www.astra.ph

--
The Astra Group of Companies
5-3-11 Sekido, Tama City
Tokyo 206-0011, Japan
http://www.astra.co.jp

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Security computation within Linux kernel
  2007-04-12  1:10 ` Carlo Florendo
@ 2007-04-12  1:18   ` H. Peter Anvin
  0 siblings, 0 replies; 4+ messages in thread
From: H. Peter Anvin @ 2007-04-12  1:18 UTC (permalink / raw)
  To: Carlo Florendo; +Cc: JanuGerman, linuxkernel

Carlo Florendo wrote:
> 
> IIRC, The kernel does some encryption functions, involving TCP, NFS, and 
> IPsec since all these are part of the kernel itself.
> 

Yes, but key management is done in userspace.

	-hpa

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-04-12  1:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-08 14:36 Security computation within Linux kernel JanuGerman
2007-04-09  0:12 ` Lee Revell
2007-04-12  1:10 ` Carlo Florendo
2007-04-12  1:18   ` H. Peter Anvin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox