Lines Matching refs:cryptlen

356 	return is_encrypt(cryp) ? cryp->areq->cryptlen :  in stm32_cryp_get_input_text_len()
357 cryp->areq->cryptlen - cryp->authsize; in stm32_cryp_get_input_text_len()
796 if (req->cryptlen % AES_BLOCK_SIZE) in stm32_cryp_aes_ecb_encrypt()
799 if (req->cryptlen == 0) in stm32_cryp_aes_ecb_encrypt()
807 if (req->cryptlen % AES_BLOCK_SIZE) in stm32_cryp_aes_ecb_decrypt()
810 if (req->cryptlen == 0) in stm32_cryp_aes_ecb_decrypt()
818 if (req->cryptlen % AES_BLOCK_SIZE) in stm32_cryp_aes_cbc_encrypt()
821 if (req->cryptlen == 0) in stm32_cryp_aes_cbc_encrypt()
829 if (req->cryptlen % AES_BLOCK_SIZE) in stm32_cryp_aes_cbc_decrypt()
832 if (req->cryptlen == 0) in stm32_cryp_aes_cbc_decrypt()
840 if (req->cryptlen == 0) in stm32_cryp_aes_ctr_encrypt()
848 if (req->cryptlen == 0) in stm32_cryp_aes_ctr_decrypt()
897 if (req->cryptlen % DES_BLOCK_SIZE) in stm32_cryp_des_ecb_encrypt()
900 if (req->cryptlen == 0) in stm32_cryp_des_ecb_encrypt()
908 if (req->cryptlen % DES_BLOCK_SIZE) in stm32_cryp_des_ecb_decrypt()
911 if (req->cryptlen == 0) in stm32_cryp_des_ecb_decrypt()
919 if (req->cryptlen % DES_BLOCK_SIZE) in stm32_cryp_des_cbc_encrypt()
922 if (req->cryptlen == 0) in stm32_cryp_des_cbc_encrypt()
930 if (req->cryptlen % DES_BLOCK_SIZE) in stm32_cryp_des_cbc_decrypt()
933 if (req->cryptlen == 0) in stm32_cryp_des_cbc_decrypt()
941 if (req->cryptlen % DES_BLOCK_SIZE) in stm32_cryp_tdes_ecb_encrypt()
944 if (req->cryptlen == 0) in stm32_cryp_tdes_ecb_encrypt()
952 if (req->cryptlen % DES_BLOCK_SIZE) in stm32_cryp_tdes_ecb_decrypt()
955 if (req->cryptlen == 0) in stm32_cryp_tdes_ecb_decrypt()
963 if (req->cryptlen % DES_BLOCK_SIZE) in stm32_cryp_tdes_cbc_encrypt()
966 if (req->cryptlen == 0) in stm32_cryp_tdes_cbc_encrypt()
974 if (req->cryptlen % DES_BLOCK_SIZE) in stm32_cryp_tdes_cbc_decrypt()
977 if (req->cryptlen == 0) in stm32_cryp_tdes_cbc_decrypt()
1016 cryp->payload_in = req->cryptlen; in stm32_cryp_prepare_req()
1017 cryp->payload_out = req->cryptlen; in stm32_cryp_prepare_req()
1040 cryp->payload_in = areq->cryptlen; in stm32_cryp_prepare_req()
1042 cryp->payload_out = areq->cryptlen; in stm32_cryp_prepare_req()
1044 cryp->payload_in = areq->cryptlen - cryp->authsize; in stm32_cryp_prepare_req()
1145 size_bit = is_encrypt(cryp) ? cryp->areq->cryptlen : in stm32_cryp_read_auth_tag()
1146 cryp->areq->cryptlen - cryp->authsize; in stm32_cryp_read_auth_tag()