cr50_signing: add code to process node locked images

Node locked images signed by the builder will have to come from the
factory branch and have version of 0.3.22.

Signing manifest will be processed to insert Device ID values, remove
Board ID values and set the top bit of config1.

BRANCH=none
BUG=b:74100307
TEST=ran the script manually with proper input and verified that
     manifest is processed as expected.

Change-Id: Ib8cbe0f1ae31e79c3228a662c02231caeb901adc
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/1880572
Tested-by: George Engelbrecht <engeg@google.com>
Reviewed-by: Ned Nguyen <nednguyen@google.com>
Reviewed-by: George Engelbrecht <engeg@google.com>
Commit-Queue: George Engelbrecht <engeg@google.com>
1 file changed