Re: How to use cipher algorithms in the kernel?

From: James Morris
Date: Thu Feb 26 2004 - 11:19:16 EST


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@xxxxxxxxxx>


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/