Lines Matching defs:cipher
101 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm);
102 const unsigned int bsize = crypto_cipher_blocksize(cipher);
111 nbytes = crypto_ctr_crypt_inplace(&walk, cipher);
113 nbytes = crypto_ctr_crypt_segment(&walk, cipher);
119 crypto_ctr_crypt_final(&walk, cipher);
147 /* CTR mode is a stream cipher. */
222 struct crypto_skcipher *cipher;
226 cipher = crypto_spawn_skcipher(spawn);
227 if (IS_ERR(cipher))
228 return PTR_ERR(cipher);
230 ctx->child = cipher;
235 crypto_skcipher_reqsize(cipher);
287 /* Not a stream cipher? */
358 MODULE_DESCRIPTION("CTR block cipher mode of operation");