Home
last modified time | relevance | path

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

/linux-5.19.10/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
374 unsigned int iv_len, bool is_encrypt);
404 bool is_encrypt, bool is_esp);
Dspu2.h186 bool is_encrypt);
214 bool is_encrypt, bool is_esp);
Dcipher.c352 rctx->is_encrypt && chunk_start) in handle_skcipher_req()
368 !rctx->is_encrypt) { in handle_skcipher_req()
403 ctx->spu_req_hdr_len, !(rctx->is_encrypt), in handle_skcipher_req()
1067 rctx->is_encrypt); in spu_aead_rx_sg_create()
1296 req_opts.is_inbound = !(rctx->is_encrypt); in handle_aead_req()
1329 if (rctx->is_encrypt) { in handle_aead_req()
1357 rctx->is_encrypt)) in handle_aead_req()
1387 if (!rctx->is_encrypt) in handle_aead_req()
1394 chunksize, rctx->is_encrypt, in handle_aead_req()
1404 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-5.19.10/drivers/crypto/stm32/
Dstm32-cryp.c207 static inline bool is_encrypt(struct stm32_cryp *cryp) in is_encrypt() function
214 return !is_encrypt(cryp); in is_decrypt()
361 return is_encrypt(cryp) ? cryp->areq->cryptlen : in stm32_cryp_get_input_text_len()
1052 if (is_encrypt(cryp)) { in stm32_cryp_prepare_req()
1158 size_bit = is_encrypt(cryp) ? cryp->areq->cryptlen : in stm32_cryp_read_auth_tag()
1191 if (is_encrypt(cryp)) { in stm32_cryp_read_auth_tag()
1458 is_encrypt(cryp))) { in stm32_cryp_irq_write_data()