Searched refs:is_encrypt (Results 1 – 8 of 8) sorted by relevance
195 bool is_encrypt) in spu_req_incl_icv() argument197 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,
304 bool is_encrypt; member371 unsigned int iv_len, bool is_encrypt);401 bool is_encrypt, bool is_esp);
186 bool is_encrypt);214 bool is_encrypt, bool is_esp);
351 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 …]
487 bool is_encrypt) in spum_assoc_resp_len() argument1145 bool is_encrypt, in spum_ccm_update_iv() argument1197 if (!is_encrypt) in spum_ccm_update_iv()
876 bool is_encrypt) in spu2_assoc_resp_len() argument880 if (is_encrypt) in spu2_assoc_resp_len()1354 bool is_encrypt, bool is_esp) in spu2_ccm_update_iv() argument
81 static inline int is_encrypt(struct starfive_cryp_dev *cryp) in is_encrypt() function263 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()
253 static inline bool is_encrypt(struct stm32_cryp *cryp) in is_encrypt() function260 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()