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

Commit b3dc7689 authored by Neeraj Soni's avatar Neeraj Soni Committed by Gerrit - the friendly Code Review server
Browse files

mmc: host: Set the supported dun size for crypto



Driver need to register the supported data unit number (dun) size
with keyslot manager so that encryption request with unsupported
dun size can fallback to fs or block crypto.

Change-Id: If0b724a80049fb3544a6338345a55bf7d1084127
Signed-off-by: default avatarNeeraj Soni <neersoni@codeaurora.org>
parent 8700f864
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -231,6 +231,8 @@ int cmdq_host_init_crypto_qti_spec(struct cmdq_host *host,
		err = -ENOMEM;
		goto out;
	}
	keyslot_manager_set_max_dun_bytes(host->ksm, sizeof(u32));

	/*
	 * In case host controller supports cryptographic operations
	 * then, it uses 128bit task descriptor. Upper 64 bits of task