pub fn provenance_hash_of(prov: Option<&Provenance>) -> Option<[u8; 32]>
Parse a provenance block from bytes already validated (used by tests).