Lines Matching refs:cipher
101 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_ctr_crypt() local
102 const unsigned int bsize = crypto_cipher_blocksize(cipher); in crypto_ctr_crypt()
111 nbytes = crypto_ctr_crypt_inplace(&walk, cipher); in crypto_ctr_crypt()
113 nbytes = crypto_ctr_crypt_segment(&walk, cipher); in crypto_ctr_crypt()
119 crypto_ctr_crypt_final(&walk, cipher); in crypto_ctr_crypt()
222 struct crypto_skcipher *cipher; in crypto_rfc3686_init_tfm() local
226 cipher = crypto_spawn_skcipher(spawn); in crypto_rfc3686_init_tfm()
227 if (IS_ERR(cipher)) in crypto_rfc3686_init_tfm()
228 return PTR_ERR(cipher); in crypto_rfc3686_init_tfm()
230 ctx->child = cipher; in crypto_rfc3686_init_tfm()
235 crypto_skcipher_reqsize(cipher); in crypto_rfc3686_init_tfm()