Re: cbc(aes-aesni) a givcipher?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux