struct_blkcipher_alg(9) synchronous block cipher definition

SYNOPSIS


struct blkcipher_alg {
int (* setkey) (struct crypto_tfm *tfm, const u8 *key,unsigned int keylen);
int (* encrypt) (struct blkcipher_desc *desc,struct scatterlist *dst, struct scatterlist *src,unsigned int nbytes);
int (* decrypt) (struct blkcipher_desc *desc,struct scatterlist *dst, struct scatterlist *src,unsigned int nbytes);
const char * geniv;
unsigned int min_keysize;
unsigned int max_keysize;
unsigned int ivsize;
};

MEMBERS

setkey

see struct ablkcipher_alg

encrypt

see struct ablkcipher_alg

decrypt

see struct ablkcipher_alg

geniv

see struct ablkcipher_alg

min_keysize

see struct ablkcipher_alg

max_keysize

see struct ablkcipher_alg

ivsize

see struct ablkcipher_alg

DESCRIPTION

All fields except geniv and ivsize are mandatory and must be filled.

AUTHORS

Stephan Mueller <[email protected]>

Author.

Marek Vasut <[email protected]>

Author.

COPYRIGHT