Merge branch 'feature/update_esptool' into 'master'

tools: Update esptool submodule

Closes IDFGH-4600

See merge request espressif/esp-idf!12011
This commit is contained in:
Angus Gratton
2021-01-18 07:13:33 +08:00
2 changed files with 3 additions and 3 deletions

View File

@@ -35,8 +35,8 @@ def test_examples_security_flash_encryption(env, extra_data):
plain_data = binascii.unhexlify(plain_hex_str.replace(' ', ''))
# Emulate espsecure encrypt_flash_data command
EncryptFlashDataArgs = namedtuple('EncryptFlashDataArgs', ['output', 'plaintext_file', 'address', 'keyfile', 'flash_crypt_conf'])
args = EncryptFlashDataArgs(BytesIO(), BytesIO(plain_data), flash_addr, BytesIO(b'\x00' * 32), 0xF)
EncryptFlashDataArgs = namedtuple('EncryptFlashDataArgs', ['output', 'plaintext_file', 'address', 'keyfile', 'flash_crypt_conf', 'aes_xts'])
args = EncryptFlashDataArgs(BytesIO(), BytesIO(plain_data), flash_addr, BytesIO(b'\x00' * 32), 0xF, None)
espsecure.encrypt_flash_data(args)
expected_ciphertext = args.output.getvalue()