INNER CODE UNIT · Python
fw_version
wolfSSL/wolfBoot · tools/keytools/sign.py:408
fw_version = int(argv[i+2])
if manual_sign:
signature_file = argv[i+4]
if not sha_only:
if '.' in image_file:
tokens = image_file.split('.')
output_image_file = ''
for x in tokens[0:-1]:
output_image_file+=x
output_image_file += "_v" + str(fw_version) + "_signed.bin"
else:
output_image_file = image_file + "_v" + str(fw_version) + "_signed.bin"
else:
if '.' in image_file:
tokens = image_file.split('.')
output_image_file = ''