From mboxrd@z Thu Jan 1 00:00:00 1970 From: michi1@michaelblizek.twilightparadox.com (michi1 at michaelblizek.twilightparadox.com) Date: Sun, 15 Jun 2014 18:58:49 +0200 Subject: How to use kernel crypto In-Reply-To: <539DA572.9070900@gmail.com> References: <539C4E12.6000809@gmail.com> <20140615064208.GA4444@grml> <539DA572.9070900@gmail.com> Message-ID: <20140615165848.GB4444@grml> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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