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

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

Merge "qseecom: Fix ICE create and wipe key issues"

parents 373337f1 e0aac817
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -5947,7 +5947,8 @@ static int qseecom_create_key(struct qseecom_dev_handle *data,
		 * It will return false if it is GPCE based crypto instance or
		 * ICE is setup properly
		 */
		if (qseecom_enable_ice_setup(create_key_req.usage))
		ret = qseecom_enable_ice_setup(create_key_req.usage);
		if (ret)
			goto free_buf;

		do {
@@ -6076,7 +6077,8 @@ static int qseecom_wipe_key(struct qseecom_dev_handle *data,
		 * It will return false if it is GPCE based crypto instance or
		 * ICE is setup properly
		 */
		if (qseecom_enable_ice_setup(wipe_key_req.usage))
		ret = qseecom_enable_ice_setup(wipe_key_req.usage);
		if (ret)
			goto free_buf;

		ret = __qseecom_set_clear_ce_key(data, wipe_key_req.usage,