Home
last modified time | relevance | path

Searched refs:encr_key (Results 1 – 2 of 2) sorted by relevance

/hal_espressif-2.7.6/components/nvs_flash/nvs_partition_generator/
Dnvs_partition_gen.py143 def encrypt_entry(self, data_arr, tweak_arr, encr_key): argument
149 cipher = Cipher(algorithms.AES(encr_key), modes.XTS(tweak), backend=backend)
167 if len(nvs_obj.encr_key) == key_len_needed:
168 encr_key_input = nvs_obj.encr_key
170 encr_key_input = codecs.decode(nvs_obj.encr_key, 'hex')
483 self.encr_key = None
490 self.encr_key = key_input
749 generate(args, is_encr_enabled=True, encr_key=key)
882 def generate(args, is_encr_enabled=False, encr_key=None): argument
904 if is_encr_enabled and not encr_key:
[all …]
/hal_espressif-2.7.6/examples/protocols/mqtt/ssl_ds/
Dconfigure_ds.py214 nvs_gen.generate(nvs_args, is_encr_enabled=False, encr_key=None)