Re: [PATCH v2 01/11] crypto: Documentation - crypto API high level spec

Herbert Xu
2014-11-03T14:44:16Z

On Mon, Nov 03, 2014 at 03:18:29PM +0100, Stephan Mueller wrote:
>
> > > + * CRYPTO_ALG_TYPE_CIPHER Raw block cipher
> > > + * CRYPTO_ALG_TYPE_COMPRESS Compression
> > > + * CRYPTO_ALG_TYPE_AEAD Authenticated Encryption with
> Associated Data
> > > (MAC) + * CRYPTO_ALG_TYPE_BLKCIPHER Synchronous multi-block cipher
> > > + * CRYPTO_ALG_TYPE_ABLKCIPHER Asynchronous multi-block cipher
> > > + * CRYPTO_ALG_TYPE_GIVCIPHER
> >
> > What's this one?
>
> I would like to ask Herbert what that is -- I looked around in the code and I
> am not sure what that flag shall indicate.

givcipher is an ablkcipher packed together with an IV generator.

Cheers,
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt