From: Stephan Mueller <smueller@chronox.de>
To: herbert@gondor.apana.org.au
Cc: linux-crypto@vger.kernel.org
Subject: Re: cbc(aes-aesni) a givcipher?
Date: Wed, 19 Aug 2015 12:31:13 +0200 [thread overview]
Message-ID: <1889024.x7b0Yn2QbV@myon.chronox.de> (raw)
In-Reply-To: <3211314.vIIIpsQc2S@myon.chronox.de>
Am Mittwoch, 19. August 2015, 12:11:03 schrieb Stephan Mueller:
Hi,
> Hi Herbert,
>
> with the latest cryptodev-2.6 tree I find the following:
>
> name : cbc(aes)
> driver : cbc(aes-aesni)
> module : kernel
> priority : 300
> refcnt : 1
> selftest : passed
> internal : no
> type : givcipher
> async : no
> blocksize : 16
> min keysize : 16
> max keysize : 32
> ivsize : 16
> geniv : eseqiv
>
> name : cbc(aes)
> driver : cbc(aes-aesni)
> module : cbc
> priority : 300
> refcnt : 1
> selftest : passed
> internal : no
> type : blkcipher
> blocksize : 16
> min keysize : 16
> max keysize : 32
> ivsize : 16
> geniv : <default>
>
>
> Note the type of the ciphers. With this, an allocation of cbc(aes-aesni)
> does not work (ENOENT).
Just a followup: I think I see how I triggered it; I used cbc(aes-aesni) with
crypto_alloc_aead due to an accident.
But that makes me think: would that be an issue for the AF_ALG interface? I.e.
I try to use the algif_aead interface but provide cbc(aes-aesni) as a cipher
name?
>
> Any ideas?
--
Ciao
Stephan
next prev parent reply other threads:[~2015-08-19 10:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-19 10:11 cbc(aes-aesni) a givcipher? Stephan Mueller
2015-08-19 10:31 ` Stephan Mueller [this message]
2015-08-19 12:47 ` 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=1889024.x7b0Yn2QbV@myon.chronox.de \
--to=smueller@chronox.de \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox