INNER CODE UNIT · Python
signature_file
wolfSSL/wolfBoot · tools/keytools/sign.py:411
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 = ''
for x in tokens[0:-1]:
output_image_file+=x
output_image_file += "_v" + str(fw_version) + "_digest.bin"