Move test utility functions to a common place.

Also removes the dev_mode flag from Firmware Image verification as key signature for the firmware should be checked whether or not dev mode is enabled.

BUG=670
TEST=All tests still pass.

Merge remote branch 'refs/remotes/origin/master' into fixtests

Fix tests, remove dev mode. Move common code.

Review URL: http://codereview.chromium.org/1280002
13 files changed
tree: c6b889a514d282dcd26b0e9ae98c5917acb45f28
  1. common/
  2. crypto/
  3. include/
  4. tests/
  5. utils/
  6. Makefile
  7. README