Home
last modified time | relevance | path

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

/openbmc/linux/drivers/crypto/bcm/
H A 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,
H A Dcipher.h304 bool is_encrypt; member
371 unsigned int iv_len, bool is_encrypt);
401 bool is_encrypt, bool is_esp);
H A Dspu2.h186 bool is_encrypt);
214 bool is_encrypt, bool is_esp);
H A Dcipher.c351 rctx->is_encrypt && chunk_start) in handle_skcipher_req()
367 !rctx->is_encrypt) { in handle_skcipher_req()
1066 rctx->is_encrypt); in spu_aead_rx_sg_create()
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()
1556 if (rctx->is_encrypt) { in handle_aead_resp()
1724 rctx->is_encrypt = encrypt; in skcipher_enqueue()
[all …]
H A 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()
H A 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
/openbmc/linux/drivers/crypto/starfive/
H A Djh7110-aes.c81 static inline int is_encrypt(struct starfive_cryp_dev *cryp) in is_encrypt() function
263 rctx->csr.aes.cmode = !is_encrypt(cryp); in starfive_aes_hw_init()
327 if (is_encrypt(cryp)) { in starfive_aes_read_authtag()
487 if (is_encrypt(cryp)) { in starfive_aes_prepare_req()
682 if (ctx->aead_fbk && !is_encrypt(cryp)) { in starfive_aes_aead_crypt()
/openbmc/linux/drivers/crypto/stm32/
H A Dstm32-cryp.c253 static inline bool is_encrypt(struct stm32_cryp *cryp) in is_encrypt() function
260 return !is_encrypt(cryp); in is_decrypt()
529 return is_encrypt(cryp) ? cryp->areq->cryptlen : in stm32_cryp_get_input_text_len()
1206 if (is_encrypt(cryp)) { in stm32_cryp_prepare_req()
1300 size_bit = is_encrypt(cryp) ? cryp->areq->cryptlen : in stm32_cryp_read_auth_tag()
1333 if (is_encrypt(cryp)) { in stm32_cryp_read_auth_tag()
1587 is_encrypt(cryp))) { in stm32_cryp_irq_write_data()