How to use kernel crypto

michi1 at michaelblizek.twilightparadox.com michi1 at michaelblizek.twilightparadox.com
Sun Jun 15 12:58:49 EDT 2014


Hi!

On 21:53 Sun 15 Jun     , Freeman Zhang wrote:
> Hi Michi,
> 
> On 14:42 Sun 15 June, michi1 at michaelblizek.twilightparadox.com wrote:
...
> iv. Is iv only for cbc mode?

No, it is required for all modes.

> How can I set up and initiate iv in the kernel? I don't know where to
> find an example about this, just try-and-error.

http://en.wikipedia.org/wiki/Initialization_vector

Setting up the iv is a critical part for your security. You should know what
you are doing.

	-Michi
-- 
programing a layer 3+4 network protocol for mesh networks
see http://michaelblizek.twilightparadox.com



More information about the Kernelnewbies mailing list