Home
last modified time | relevance | path

Searched refs:inputfile (Results 1 – 1 of 1) sorted by relevance

/optee_os/core/arch/arm/plat-telechips/scripts/
H A Dtcmktool.py14 def calc_hash(inputfile): argument
16 inputfile.seek(0)
18 buf = inputfile.read(ALIGN_SIZE)
30 def fill_header(outputfile, inputfile, argv): argument
35 inputfile.seek(0, 2)
37 length = (inputfile.tell() + (ALIGN_SIZE - 1)) & ~(ALIGN_SIZE - 1)
47 buf[96:128] = calc_hash(inputfile)
52 def fill_image(outputfile, inputfile): argument
53 inputfile.seek(0)
55 buf = inputfile.read(ALIGN_SIZE)
[all …]