kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: michi1@michaelblizek.twilightparadox.com (michi1 at michaelblizek.twilightparadox.com)
To: kernelnewbies@lists.kernelnewbies.org
Subject: How to use kernel crypto
Date: Sun, 15 Jun 2014 18:58:49 +0200	[thread overview]
Message-ID: <20140615165848.GB4444@grml> (raw)
In-Reply-To: <539DA572.9070900@gmail.com>

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

      reply	other threads:[~2014-06-15 16:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-14 13:28 How to use kernel crypto Freeman Zhang
2014-06-15  6:42 ` michi1 at michaelblizek.twilightparadox.com
2014-06-15 13:53   ` Freeman Zhang
2014-06-15 16:58     ` michi1 at michaelblizek.twilightparadox.com [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140615165848.GB4444@grml \
    --to=michi1@michaelblizek.twilightparadox.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).