Lines Matching refs:cip
48 struct crypto_cipher *cip;
76 sctx->fallback.cip->base.crt_flags &= ~CRYPTO_TFM_REQ_MASK;
77 sctx->fallback.cip->base.crt_flags |= (tfm->crt_flags &
80 return crypto_cipher_setkey(sctx->fallback.cip, in_key, key_len);
109 crypto_cipher_encrypt_one(sctx->fallback.cip, out, in);
120 crypto_cipher_decrypt_one(sctx->fallback.cip, out, in);
132 sctx->fallback.cip = crypto_alloc_cipher(name, 0,
135 if (IS_ERR(sctx->fallback.cip)) {
138 return PTR_ERR(sctx->fallback.cip);
148 crypto_free_cipher(sctx->fallback.cip);
149 sctx->fallback.cip = NULL;