Lines Matching refs:img
369 self.shdr = struct.pack('<IIIIHH', SHDR_MAGIC, img_type, len(self.img),
386 h.update(self.img)
394 self.img = self.inf
398 out = cipher.encrypt(self.nonce, self.img, None)
416 self.img = self.inf
468 self.img = uuid.bytes + shdr_subkey + n_bytes + e_bytes
525 self.img = self.ciphertext
527 self.img = self.inf[offs:]
528 if len(self.img) != img_size:
530 .format(len(self.img), img_size))
564 self.img = self.inf[subkey_offs:offs - self.name_size]
565 if len(self.img) != img_size:
567 .format(len(self.img), img_size))
633 img = self.inf[offs:]
636 .format(len(img), len(img)))
637 if len(img) != img_size:
639 .format(len(img), img_size))
724 self.img = cipher.decrypt(self.nonce, self.ciphertext, None)
823 f.write(self.img)