Commit caa9dbb7 authored by Sven Schwermer's avatar Sven Schwermer Committed by Herbert Xu
Browse files

crypto: mxs-dcp - Only set OTP_KEY bit for OTP key



While MXS_DCP_CONTROL0_OTP_KEY is set, the CRYPTO_KEY (DCP_PAES_KEY_OTP)
is used even if the UNIQUE_KEY (DCP_PAES_KEY_UNIQUE) is selected. This
is not clearly documented, but this implementation is consistent with
NXP's downstream kernel fork and optee_os.

Signed-off-by: default avatarSven Schwermer <sven@svenschwermer.de>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent d4880fe6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment