+49
−9
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
1. Fix to format context correctly as expected by
hardware for system KDF.
HWKM reverses bytes at a 8-byte boundary while getting
the context from cryptolib. Reformat the context in the
command packet in such a way that HWKM receives it in the
correct order. Also, pad the context to a 8-byte multiple
as the way HW would pad it is not expected.
2. Use context for FBE to match with the one
for VTS test cases.
Change-Id: I3c13c91b0dfc85aef406b05694dbd22afb0b2e0b
Signed-off-by:
Gaurav Kashyap <gaurkash@codeaurora.org>