Lines Matching refs:cipher
10 #include <crypto/internal/cipher.h>
102 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm);
103 const unsigned int bsize = crypto_cipher_blocksize(cipher);
112 nbytes = crypto_ctr_crypt_inplace(&walk, cipher);
114 nbytes = crypto_ctr_crypt_segment(&walk, cipher);
120 crypto_ctr_crypt_final(&walk, cipher);
148 /* CTR mode is a stream cipher. */
223 struct crypto_skcipher *cipher;
227 cipher = crypto_spawn_skcipher(spawn);
228 if (IS_ERR(cipher))
229 return PTR_ERR(cipher);
231 ctx->child = cipher;
236 crypto_skcipher_reqsize(cipher);
288 /* Not a stream cipher? */
357 MODULE_DESCRIPTION("CTR block cipher mode of operation");