kleaf: system_dlkm: Add signing and hash footer

Add support for signing modules after trimming;
and add hash footer to resize image to match
size of the system_dlkm partition.

Bug: 211800737
Bug: 200082547
Test: TH
Signed-off-by: Ramji Jiyani <ramjiyani@google.com>
Change-Id: Ibaf31d05a08a4dc3bcb29f36f3cd89478d6d7c54
2 files changed