Home
last modified time | relevance | path

Searched refs:is_encrypt (Results 1 – 10 of 10) sorted by relevance

/linux-6.12.1/drivers/crypto/bcm/
Dspu.h195 bool is_encrypt) in spu_req_incl_icv() argument
197 if ((cipher_mode == CIPHER_MODE_GCM) && !is_encrypt) in spu_req_incl_icv()
199 if ((cipher_mode == CIPHER_MODE_CCM) && !is_encrypt) in spu_req_incl_icv()
235 bool is_encrypt);
237 bool spu_req_incl_icv(enum spu_cipher_mode cipher_mode, bool is_encrypt);
273 bool is_encrypt,
Dcipher.h304 bool is_encrypt; member
371 unsigned int iv_len, bool is_encrypt);
401 bool is_encrypt, bool is_esp);
Dspu2.h186 bool is_encrypt);
214 bool is_encrypt, bool is_esp);
Dcipher.c351 rctx->is_encrypt && chunk_start) in handle_skcipher_req()
367 !rctx->is_encrypt) { in handle_skcipher_req()
402 ctx->spu_req_hdr_len, !(rctx->is_encrypt), in handle_skcipher_req()
1066 rctx->is_encrypt); in spu_aead_rx_sg_create()
1295 req_opts.is_inbound = !(rctx->is_encrypt); in handle_aead_req()
1328 if (rctx->is_encrypt) { in handle_aead_req()
1356 rctx->is_encrypt)) in handle_aead_req()
1386 if (!rctx->is_encrypt) in handle_aead_req()
1393 chunksize, rctx->is_encrypt, in handle_aead_req()
1403 if (!rctx->is_encrypt) in handle_aead_req()
[all …]
Dspu.c487 bool is_encrypt) in spum_assoc_resp_len() argument
1145 bool is_encrypt, in spum_ccm_update_iv() argument
1197 if (!is_encrypt) in spum_ccm_update_iv()
Dspu2.c876 bool is_encrypt) in spu2_assoc_resp_len() argument
880 if (is_encrypt) in spu2_assoc_resp_len()
1354 bool is_encrypt, bool is_esp) in spu2_ccm_update_iv() argument
/linux-6.12.1/drivers/crypto/starfive/
Djh7110-aes.c81 static inline bool is_encrypt(struct starfive_cryp_dev *cryp) in is_encrypt() function
253 rctx->csr.aes.cmode = !is_encrypt(cryp); in starfive_aes_hw_init()
312 if (is_encrypt(cryp)) { in starfive_aes_read_authtag()
658 if (is_encrypt(cryp)) { in starfive_aes_aead_do_one_req()
803 return starfive_aes_do_fallback(req, is_encrypt(cryp)); in starfive_aes_crypt()
838 !is_encrypt(cryp)) in starfive_aes_aead_crypt()
849 return starfive_aes_aead_do_fallback(req, is_encrypt(cryp)); in starfive_aes_aead_crypt()
/linux-6.12.1/drivers/crypto/stm32/
Dstm32-cryp.c283 static inline bool is_encrypt(struct stm32_cryp *cryp) in is_encrypt() function
290 return !is_encrypt(cryp); in is_decrypt()
572 return is_encrypt(cryp) ? cryp->areq->cryptlen : in stm32_cryp_get_input_text_len()
1726 if (is_encrypt(cryp)) { in stm32_cryp_prepare_req()
1838 size_bit = is_encrypt(cryp) ? cryp->areq->cryptlen : in stm32_cryp_read_auth_tag()
1871 if (is_encrypt(cryp)) { in stm32_cryp_read_auth_tag()
2125 is_encrypt(cryp))) { in stm32_cryp_irq_write_data()
/linux-6.12.1/drivers/staging/rtl8192e/
Drtl819x_HTProc.c231 u8 *len, u8 is_encrypt, bool assoc) in ht_construct_capability_element() argument
277 if (is_encrypt) { in ht_construct_capability_element()
Drtllib.h1729 u8 is_encrypt, bool assoc);