Searched refs:tky (Results 1 – 4 of 4) sorted by relevance
/hal_espressif-3.6.0/components/nvs_flash/src/ |
D | nvs_api.cpp | 593 cfg->tky[cnt] = 0xee; in nvs_flash_generate_keys() 596 cfg->tky[cnt] = 0x88; in nvs_flash_generate_keys() 611 err = esp_partition_write_raw(partition, NVS_KEY_SIZE, cfg->tky, NVS_KEY_SIZE); in nvs_flash_generate_keys() 621 err = esp_partition_read(partition, NVS_KEY_SIZE, cfg->tky, NVS_KEY_SIZE); in nvs_flash_generate_keys() 627 crc_calc = esp_rom_crc32_le(crc_calc, cfg->tky, NVS_KEY_SIZE); in nvs_flash_generate_keys() 651 auto check_if_initialized = [](uint8_t* eky, uint8_t* tky, uint32_t crc) { in nvs_flash_read_security_cfg() argument 653 while(cnt < NVS_KEY_SIZE && eky[cnt] == 0xff && tky[cnt] == 0xff) cnt++; in nvs_flash_read_security_cfg() 687 err = esp_partition_read(partition, NVS_KEY_SIZE, cfg->tky, NVS_KEY_SIZE); in nvs_flash_read_security_cfg() 700 crc_calc = esp_rom_crc32_le(crc_calc, cfg->tky, NVS_KEY_SIZE); in nvs_flash_read_security_cfg() 703 if(!check_if_initialized(cfg->eky, cfg->tky, crc_read)) { in nvs_flash_read_security_cfg()
|
/hal_espressif-3.6.0/components/nvs_flash/test_nvs_host/ |
D | test_nvs_partition.cpp | 35 xts_cfg.tky[count] = 0x22; 48 xts_cfg.tky[count] = 0x22;
|
D | test_nvs.cpp | 2941 char tky[][2 * NVS_KEY_SIZE + 1] = { variable 2964 toHexStream(tky[cnt], &eky_hex[NVS_KEY_SIZE]); 2987 xts_cfg.tky[count] = 0x22; 3082 cfg.tky[count] = 0x22; 3215 cfg.tky[count] = buffer[count+32] & 255; 3282 cfg.tky[count] = buffer[count+32] & 255; 3379 cfg.tky[count] = 0x22; 3499 cfg.tky[count] = buffer[count+32] & 255;
|
/hal_espressif-3.6.0/components/nvs_flash/include/ |
D | nvs_flash.h | 32 uint8_t tky[NVS_KEY_SIZE]; /*!< XTS tweak key */ member
|