Home
last modified time | relevance | path

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

/trusted-firmware-m-3.7.0/platform/ext/target/arm/rse/common/provisioning/
Dprovisioning_common_utils.py18 def struct_pack(objects, pad_to=0): argument
24 if size < pad_to:
25 defstring += str(pad_to - size) + "x"
26 elif size > pad_to and pad_to != 0:
27 print("Error padding struct of size {} to {}".format(size, pad_to))
34 code = struct_pack([code], pad_to=code_pad)
35 values = struct_pack([values], pad_to=values_pad)
36 data = struct_pack([values, data], pad_to=data_and_values_pad)
/trusted-firmware-m-3.7.0/platform/ext/target/armchina/mps3/common/provisioning/
Dcreate_provisioning_bundle.py13 def struct_pack(objects, pad_to=0): argument
19 if size < pad_to:
20 defstring += str(pad_to - size) + "x"
21 elif size > pad_to and pad_to != 0:
22 print("Error padding struct of size {} to {}".format(size, pad_to))
103 pad_to=int(args.code_pad_size, 0))
105 pad_to=int(args.values_pad_size, 0))
107 pad_to=int(args.values_pad_size, 0)+int(args.data_pad_size, 0))
/trusted-firmware-m-3.7.0/platform/ext/target/arm/mps3/common/provisioning/
Dcreate_provisioning_bundle.py13 def struct_pack(objects, pad_to=0): argument
19 if size < pad_to:
20 defstring += str(pad_to - size) + "x"
21 elif size > pad_to and pad_to != 0:
22 print("Error padding struct of size {} to {}".format(size, pad_to))
103 pad_to=int(args.code_pad_size, 0))
105 pad_to=int(args.values_pad_size, 0))
107 pad_to=int(args.values_pad_size, 0)+int(args.data_pad_size, 0))
/trusted-firmware-m-3.7.0/platform/ext/target/arm/mps4/corstone315/provisioning/
Dcreate_provisioning_bundle.py13 def struct_pack(objects, pad_to=0): argument
19 if size < pad_to:
20 defstring += str(pad_to - size) + "x"
21 elif size > pad_to and pad_to != 0:
22 print("Error padding struct of size {} to {}".format(size, pad_to))
101 pad_to=int(args.code_pad_size, 0))
103 pad_to=int(args.values_pad_size, 0))
105 pad_to=int(args.values_pad_size, 0)+int(args.data_pad_size, 0))
/trusted-firmware-m-3.7.0/bl1/bl1_1/scripts/
Dcreate_bl1_2_img.py21 def struct_pack(objects, pad_to=0): argument
27 if size < pad_to:
28 defstring += str(pad_to - size) + "x"
47 image = struct_pack([bl1_2_code], pad_to=bl1_2_partition_size)
Dcreate_provisioning_bundle.py12 def struct_pack(objects, pad_to=0): argument
18 if size < pad_to:
19 defstring += str(pad_to - size) + "x"
/trusted-firmware-m-3.7.0/platform/ext/target/arm/rse/common/bl2/
Dcreate_xip_tables.py19 def struct_pack(objects, pad_to=0): argument
25 if size < pad_to:
26 defstring += str(pad_to - size) + "x"
68 …ck([line_idx.to_bytes(4, 'little'), fw_version_bytes, nonce_bytes[4:], nonce_bytes[:4]], pad_to=16)
/trusted-firmware-m-3.7.0/bl1/bl1_2/scripts/
Dcreate_bl2_img.py23 def struct_pack(objects, pad_to=0): argument
29 if size < pad_to:
30 defstring += str(pad_to - size) + "x"
142 pad_to=bl2_partition_size - (1452 + 16 + 8 + 4))
/trusted-firmware-m-3.7.0/platform/ext/target/arm/rse/common/provisioning/bundle_cm/
Dcreate_cm_provisioning_bundle.py61 otp_dma_ics = struct_pack([ otp_dma_ics], pad_to=0x400 - 8)