Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dc0b987d authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "qseecom: New cmd to support ike encoding"

parents a16403f8 576886dc
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1245,8 +1245,8 @@ int __qseecom_process_fsm_key_svc_cmd(struct qseecom_dev_handle *data_ptr,

	reqd_len_sb_in = req_ptr->cmd_req_len + req_ptr->resp_len;
	if (reqd_len_sb_in > data_ptr->client.sb_length) {
		pr_debug("Not enough memory to fit cmd_buf and resp_buf. ");
		pr_debug("Required: %u, Available: %zu\n",
		pr_err("Not enough memory to fit cmd_buf and resp_buf. ");
		pr_err("Required: %u, Available: %zu\n",
				reqd_len_sb_in, data_ptr->client.sb_length);
		return -ENOMEM;
	}
@@ -1331,6 +1331,7 @@ static int qseecom_send_service_cmd(struct qseecom_dev_handle *data,
	case QSEOS_FSM_LTE_DELETE_KEYS:
	case QSEOS_FSM_IKE_CMD_SIGN:
	case QSEOS_FSM_IKE_CMD_PROV_KEY:
	case QSEOS_FSM_IKE_CMD_ENCRYPT_PRIVATE_KEY:
		send_req_ptr = &send_fsm_key_svc_ireq;
		req_buf_size = sizeof(send_fsm_key_svc_ireq);
		if (__qseecom_process_fsm_key_svc_cmd(data, &req,
+1 −0
Original line number Diff line number Diff line
@@ -70,6 +70,7 @@ enum qseecom_qceos_cmd_id {
	QSEOS_FSM_LTE_DELETE_KEYS = 0x108,
	QSEOS_FSM_IKE_CMD_SIGN = 0x200,
	QSEOS_FSM_IKE_CMD_PROV_KEY = 0x201,
	QSEOS_FSM_IKE_CMD_ENCRYPT_PRIVATE_KEY = 0x202,
	QSEOS_CMD_MAX     = 0xEFFFFFFF
};