test: Rename sha to sha_algo and pass it around
authorSimon Glass <sjg@chromium.org>
Sun, 31 Jul 2016 23:35:06 +0000 (17:35 -0600)
committerTom Rini <trini@konsulko.com>
Sat, 6 Aug 2016 00:55:21 +0000 (20:55 -0400)
commitac9a23cffc517ac5b8648f97683c66f4e55175f6
tree0ff76cbd23b4905e9deb0441e68e59028aa9690e
parentec70f8a911885a6ca798ca01f99d0d367a6e07e7
test: Rename sha to sha_algo and pass it around

Rename this argument and pass it to each function that needs it, instead of
making it global.

Suggested-by: Stephen Warren <swarren@nvidia.com>
Suggested-by: Teddy Reed <teddy.reed@gmail.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
test/py/tests/test_vboot.py