Merge "Measured Boot: add function for hash calculation" into integration