Commit ef11bb01 authored by Neeraj Soni's avatar Neeraj Soni Committed by Shrirang Bagul
Browse files

mmc: host: reprogram the key to cover the invalid config case

BugLink: https://bugs.launchpad.net/bugs/1945470



This is a workaround to cover a corner case where the host controller
crashes with invalid config error as the crypto config in crypto engine
are lost between key programming call and descriptor processing.

Test: fscryptctl test cases.

Change-Id: I83c1f928a52747686a7341f6d80478dc3d683191
Signed-off-by: default avatarNeeraj Soni <neersoni@codeaurora.org>
(cherry picked from commit 955265471f9f6c3939642ecbbe889f7128ecf0e9)
Signed-off-by: default avatarShrirang Bagul <shrirang.bagul@canonical.com>
parent 12c0e098
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment