Anewapproachtohardwaresecurityanalysis