From eadb69aa366b89597c5213a08922f43076e67ffb Mon Sep 17 00:00:00 2001 From: Roland Dobai Date: Fri, 15 Jan 2021 09:04:59 +0100 Subject: [PATCH] tools: Update esptool submodule Closes https://github.com/espressif/esp-idf/issues/6415 --- components/esptool_py/esptool | 2 +- examples/security/flash_encryption/example_test.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/esptool_py/esptool b/components/esptool_py/esptool index 8270199920..692a0fce38 160000 --- a/components/esptool_py/esptool +++ b/components/esptool_py/esptool @@ -1 +1 @@ -Subproject commit 8270199920415049eea65990a1ca93a549113979 +Subproject commit 692a0fce388744a071503216ae3f8a2907e9c608 diff --git a/examples/security/flash_encryption/example_test.py b/examples/security/flash_encryption/example_test.py index 6904a91a12..e749838fd6 100644 --- a/examples/security/flash_encryption/example_test.py +++ b/examples/security/flash_encryption/example_test.py @@ -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()