A new IMA measurement list format, called Crypto Agile, will be introduced
shortly to take full advantage of the algorithm flexibility of TPM 2.0.
With the new format, it will be possible to provide for each list entry
multiple digests, each calculated with an algorithm supported by the TPM.
Those digests will be used by remote entities to verify the integrity of
the measurements list.
The current (SHA1) and the new (Crypto Agile) format definitions are:
SHA1: pcr[4] digest[20]
template_name_len[4] template_name[template_name_len]
template_data_len[4] template_data[template_data_len]
Crypto Agile: pcr[4] total_digest_len[4]
digest1_len[4] digest1[digest1_len] ...
digestN_len[4] digestN[digestN_len]
template_name_len[4] template_name[template_name_len]
template_data_len[4] template_data[template_data_len]