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