Lines Matching refs:cip
49 struct crypto_cipher *cip;
77 sctx->fallback.cip->base.crt_flags &= ~CRYPTO_TFM_REQ_MASK;
78 sctx->fallback.cip->base.crt_flags |= (tfm->crt_flags &
81 return crypto_cipher_setkey(sctx->fallback.cip, in_key, key_len);
110 crypto_cipher_encrypt_one(sctx->fallback.cip, out, in);
121 crypto_cipher_decrypt_one(sctx->fallback.cip, out, in);
133 sctx->fallback.cip = crypto_alloc_cipher(name, 0,
136 if (IS_ERR(sctx->fallback.cip)) {
139 return PTR_ERR(sctx->fallback.cip);
149 crypto_free_cipher(sctx->fallback.cip);
150 sctx->fallback.cip = NULL;