Dynamics of a trusted platform: a building block approach