Lines Matching defs:cipher
2 * Block chaining cipher operations.
362 struct blkcipher_alg *cipher = &tfm->__crt_alg->cra_blkcipher;
375 ret = cipher->setkey(tfm, alignbuffer, keylen);
383 struct blkcipher_alg *cipher = &tfm->__crt_alg->cra_blkcipher;
386 if (keylen < cipher->min_keysize || keylen > cipher->max_keysize) {
394 return cipher->setkey(tfm, key, keylen);
433 struct blkcipher_alg *cipher = &alg->cra_blkcipher;
437 cipher->ivsize) {
439 len += cipher->ivsize;
680 struct crypto_ablkcipher *cipher;
682 cipher = crypto_spawn_skcipher(crypto_instance_ctx(inst));
683 if (IS_ERR(cipher))
684 return PTR_ERR(cipher);
686 tfm->crt_ablkcipher.base = cipher;
687 tfm->crt_ablkcipher.reqsize += crypto_ablkcipher_reqsize(cipher);
700 MODULE_DESCRIPTION("Generic block chaining cipher type");