Searched refs:is_encrypt (Results 1 – 8 of 8) sorted by relevance
/Linux-v4.19/drivers/crypto/bcm/ |
D | spu.h | 205 bool is_encrypt) in spu_req_incl_icv() argument 207 if ((cipher_mode == CIPHER_MODE_GCM) && !is_encrypt) in spu_req_incl_icv() 209 if ((cipher_mode == CIPHER_MODE_CCM) && !is_encrypt) in spu_req_incl_icv() 245 bool is_encrypt); 247 bool spu_req_incl_icv(enum spu_cipher_mode cipher_mode, bool is_encrypt); 284 bool is_encrypt,
|
D | cipher.h | 314 bool is_encrypt; member 384 unsigned int iv_len, bool is_encrypt); 415 bool is_encrypt, bool is_esp);
|
D | spu2.h | 197 bool is_encrypt); 226 bool is_encrypt, bool is_esp);
|
D | cipher.c | 367 rctx->is_encrypt && chunk_start) in handle_ablkcipher_req() 383 !rctx->is_encrypt) { in handle_ablkcipher_req() 415 } else if (!rctx->is_encrypt) { in handle_ablkcipher_req() 445 ctx->spu_req_hdr_len, !(rctx->is_encrypt), in handle_ablkcipher_req() 1115 rctx->is_encrypt); in spu_aead_rx_sg_create() 1344 req_opts.is_inbound = !(rctx->is_encrypt); in handle_aead_req() 1377 if (rctx->is_encrypt) { in handle_aead_req() 1405 rctx->is_encrypt)) in handle_aead_req() 1435 if (!rctx->is_encrypt) in handle_aead_req() 1442 chunksize, rctx->is_encrypt, in handle_aead_req() [all …]
|
D | spu.c | 507 bool is_encrypt) in spum_assoc_resp_len() argument 1182 bool is_encrypt, in spum_ccm_update_iv() argument 1234 if (!is_encrypt) in spum_ccm_update_iv()
|
D | spu2.c | 882 bool is_encrypt) in spu2_assoc_resp_len() argument 886 if (is_encrypt) in spu2_assoc_resp_len() 1372 bool is_encrypt, bool is_esp) in spu2_ccm_update_iv() argument
|
/Linux-v4.19/drivers/crypto/ |
D | picoxcell_crypto.c | 97 bool is_encrypt; member 335 if (req->is_encrypt) in spacc_aead_make_ddts() 398 total = req->is_encrypt ? 0 : areq->assoclen; in spacc_aead_make_ddts() 429 (req->is_encrypt ? crypto_aead_authsize(aead) : 0); in spacc_aead_free_ddts() 545 bool is_encrypt) in spacc_aead_do_fallback() argument 558 return is_encrypt ? crypto_aead_encrypt(subreq) : in spacc_aead_do_fallback() 597 if (!req->is_encrypt) in spacc_aead_submit() 608 if (req->is_encrypt) in spacc_aead_submit() 643 unsigned alg_type, bool is_encrypt) in spacc_aead_setup() argument 653 dev_req->is_encrypt = is_encrypt; in spacc_aead_setup() [all …]
|
/Linux-v4.19/drivers/crypto/stm32/ |
D | stm32-cryp.c | 220 static inline bool is_encrypt(struct stm32_cryp *cryp) in is_encrypt() function 227 return !is_encrypt(cryp); in is_decrypt() 448 return is_encrypt(cryp) ? cryp->areq->cryptlen : in stm32_cryp_get_input_text_len() 960 if (is_encrypt(cryp)) in stm32_cryp_prepare_req() 1121 size_bit = is_encrypt(cryp) ? cryp->areq->cryptlen : in stm32_cryp_read_auth_tag() 1151 if (is_encrypt(cryp)) { in stm32_cryp_read_auth_tag() 1235 if (is_encrypt(cryp) && (is_gcm(cryp) || is_ccm(cryp))) in stm32_cryp_irq_read_data() 1495 is_encrypt(cryp))) { in stm32_cryp_irq_write_data()
|