Lines Matching refs:cipher
162 struct crypto_cipher *cipher; in crypto_ctr_init_tfm() local
164 cipher = crypto_spawn_cipher(spawn); in crypto_ctr_init_tfm()
165 if (IS_ERR(cipher)) in crypto_ctr_init_tfm()
166 return PTR_ERR(cipher); in crypto_ctr_init_tfm()
168 ctx->child = cipher; in crypto_ctr_init_tfm()
319 struct crypto_skcipher *cipher; in crypto_rfc3686_init_tfm() local
323 cipher = crypto_spawn_skcipher(spawn); in crypto_rfc3686_init_tfm()
324 if (IS_ERR(cipher)) in crypto_rfc3686_init_tfm()
325 return PTR_ERR(cipher); in crypto_rfc3686_init_tfm()
327 ctx->child = cipher; in crypto_rfc3686_init_tfm()
332 crypto_skcipher_reqsize(cipher); in crypto_rfc3686_init_tfm()