Home
last modified time | relevance | path

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

/hal_espressif-3.4.0/components/spi_flash/esp32/
Dflash_ops_esp32.c54 uint32_t row_addr = dest_addr + i; in spi_flash_write_encrypted_chip() local
55 if (i == 0 && (row_addr % 32) != 0) { in spi_flash_write_encrypted_chip()
58 row_addr -= 16; in spi_flash_write_encrypted_chip()
62 spi_flash_read_encrypted(row_addr, encrypt_buf, 16); in spi_flash_write_encrypted_chip()
69 spi_flash_read_encrypted(row_addr + 16, encrypt_buf + 16, 16); in spi_flash_write_encrypted_chip()
78 rc = esp_rom_spiflash_write_encrypted(row_addr, (uint32_t *)encrypt_buf, 32); in spi_flash_write_encrypted_chip()
/hal_espressif-3.4.0/components/spi_flash/
Desp_flash_api.c978 uint32_t row_addr = address + i; in esp_flash_write_encrypted() local
982 if (i == 0 && (row_addr % 32) != 0) { in esp_flash_write_encrypted()
985 row_addr -= 16; in esp_flash_write_encrypted()
989 esp_flash_read_encrypted(chip, row_addr, encrypt_buf, 16); in esp_flash_write_encrypted()
996 esp_flash_read_encrypted(chip, row_addr + 16, encrypt_buf + 16, 16); in esp_flash_write_encrypted()
1005 … if ((row_addr % 64) == 0 && (length - i) >= 64 && SOC_FLASH_ENCRYPTED_XTS_AES_BLOCK_MAX == 64) { in esp_flash_write_encrypted()
1008 } else if ((row_addr % 32) == 0 && (length - i) >= 32) { in esp_flash_write_encrypted()
1032 … err = chip->chip_drv->write_encrypted(chip, (uint32_t *)encrypt_buf, row_addr, encrypt_byte); in esp_flash_write_encrypted()