mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* How to use cipher algorithms in the kernel?
@ 2004-02-26 15:31 Maciej Soltysiak
  2004-02-26 16:14 ` James Morris
  0 siblings, 1 reply; 2+ messages in thread
From: Maciej Soltysiak @ 2004-02-26 15:31 UTC (permalink / raw)
  To: linux-kernel

Hi,

are the cipher algorithms in the kernel to be used by any userspace
aplication?
eg. I were to write a program that would need to cipher a message, would
it be a good way to try to use something like CONFIG_CRYPTO_CAST5 ?

If so, is there an api explained somewhere?

Regards,
Maciej


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

* Re: How to use cipher algorithms in the kernel?
  2004-02-26 15:31 How to use cipher algorithms in the kernel? Maciej Soltysiak
@ 2004-02-26 16:14 ` James Morris
  0 siblings, 0 replies; 2+ messages in thread
From: James Morris @ 2004-02-26 16:14 UTC (permalink / raw)
  To: Maciej Soltysiak; +Cc: linux-kernel

On Thu, 26 Feb 2004, Maciej Soltysiak wrote:

> Hi,
> 
> are the cipher algorithms in the kernel to be used by any userspace
> aplication?
> eg. I were to write a program that would need to cipher a message, would
> it be a good way to try to use something like CONFIG_CRYPTO_CAST5 ?
> 
> If so, is there an api explained somewhere?

No, why would you want to use the kernel crypto when you can just use 
userspace crypto.

Where it will make sense in some cases is when there is crypto hardware 
support in the kernel.


- James
-- 
James Morris
<jmorris@redhat.com>



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

end of thread, other threads:[~2004-02-26 16:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-26 15:31 How to use cipher algorithms in the kernel? Maciej Soltysiak
2004-02-26 16:14 ` James Morris

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

all inboxes | Powered by JetHome®