[lib][mincrypt] import android libmincrypt sha1 and sha256

from https://android.googlesource.com/platform/system/core
as of commit 35a76df583a07524bec5ccaae8082a00e0c06867
[tools][mkimage] boot image creator and header