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()
228 struct crypto_skcipher *cipher; in crypto_rfc3686_init_tfm() local
232 cipher = crypto_spawn_skcipher(spawn); in crypto_rfc3686_init_tfm()
233 if (IS_ERR(cipher)) in crypto_rfc3686_init_tfm()
234 return PTR_ERR(cipher); in crypto_rfc3686_init_tfm()
236 ctx->child = cipher; in crypto_rfc3686_init_tfm()
241 crypto_skcipher_reqsize(cipher); in crypto_rfc3686_init_tfm()