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