Lines Matching refs:cipher
369 struct crypto_skcipher *cipher; in cryptd_skcipher_init_tfm() local
371 cipher = crypto_spawn_skcipher(spawn); in cryptd_skcipher_init_tfm()
372 if (IS_ERR(cipher)) in cryptd_skcipher_init_tfm()
373 return PTR_ERR(cipher); in cryptd_skcipher_init_tfm()
375 ctx->child = (struct crypto_sync_skcipher *)cipher; in cryptd_skcipher_init_tfm()
833 struct crypto_aead *cipher; in cryptd_aead_init_tfm() local
835 cipher = crypto_spawn_aead(spawn); in cryptd_aead_init_tfm()
836 if (IS_ERR(cipher)) in cryptd_aead_init_tfm()
837 return PTR_ERR(cipher); in cryptd_aead_init_tfm()
839 ctx->child = cipher; in cryptd_aead_init_tfm()
842 crypto_aead_reqsize(cipher))); in cryptd_aead_init_tfm()