| struct_blkcipher_alg(9) - phpMan
STRUCT BLKCIPHER_ALG(9) Programming Interface STRUCT BLKCIPHER_ALG(9)
NAME
struct_blkcipher_alg - 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 <smueller AT chronox.de>
Author.
Marek Vasut <marek AT denx.de>
Author.
COPYRIGHT
Kernel Hackers Manual 4.8. January 2017 STRUCT BLKCIPHER_ALG(9)
|