Lines Matching refs:b
428 info=b'MCUBoot_ECIES_v1', backend=default_backend()).derive(shared)
778 b = IntelHex(imgfile).tobinstr()
781 b = f.read()
785 magic, _, header_size, _, img_size = struct.unpack('IIHHI', b[:16])
786 version = struct.unpack('BBHI', b[20:28])
792 tlv_info = b[tlv_off:tlv_off + TLV_INFO_SIZE]
796 tlv_info = b[tlv_off:tlv_off + TLV_INFO_SIZE]
803 hash_region = b[:prot_tlv_size]
808 tlv = b[tlv_off:tlv_off + TLV_SIZE]
815 if digest == b[off:off + tlv_len]:
822 tlv_sig = b[off:off + tlv_len]
823 payload = b[:prot_tlv_size]