All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ambarus Tudor-Dan-B38632 <b38632@freescale.com>
To: <herbert@gondor.apana.org.au>, <linux-crypto@vger.kernel.org>
Subject: variable iv lengths for aes-gcm
Date: Thu, 18 Jun 2015 10:43:18 +0300	[thread overview]
Message-ID: <55827696.20704@freescale.com> (raw)

Hi Herbert,

I'm trying to find a method to pass IVs of various lengths to an 
algorithm. A particular case would be aes-gcm IV. It can have any number 
of bits between 1 and 2^64.

A possible way to do this is to set the ivlen per request. Are there any 
(better) ways to do this?

Thanks,
ta

             reply	other threads:[~2015-06-18  7:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-18  7:43 Ambarus Tudor-Dan-B38632 [this message]
2015-06-18  8:07 ` variable iv lengths for aes-gcm Herbert Xu
2015-06-18  9:44   ` Ambarus Tudor-Dan-B38632
2015-06-19  0:18     ` Herbert Xu

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=55827696.20704@freescale.com \
    --to=b38632@freescale.com \
    --cc=herbert@gondor.apana.org.au \
    --cc=linux-crypto@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.