ima: differentiate between template hash and file data hash sizes