Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/crypto/
Dcrypto_it8xxx2_sha_v2.c91 uint8_t sha_ctrl; in it8xxx2_sha256_module_calculation() local
94 sha_ctrl = sys_read8(IT8XXX2_SHA_REGS_BASE + IT8XXX2_REG_SHACR); in it8xxx2_sha256_module_calculation()
97 sha_ctrl |= (IT8XXX2_SHAINI | IT8XXX2_SHAEXE); in it8xxx2_sha256_module_calculation()
100 sha_ctrl |= IT8XXX2_SHAEXE; in it8xxx2_sha256_module_calculation()
111 sys_write8(sha_ctrl, IT8XXX2_SHA_REGS_BASE + IT8XXX2_REG_SHACR); in it8xxx2_sha256_module_calculation()
153 uint8_t sha_ctrl; in it8xxx2_hash_handler() local
254 sha_ctrl = sys_read8(IT8XXX2_SHA_REGS_BASE + IT8XXX2_REG_SHACR); in it8xxx2_hash_handler()
255 sys_write8(sha_ctrl | IT8XXX2_SHAWB, IT8XXX2_SHA_REGS_BASE + IT8XXX2_REG_SHACR); in it8xxx2_hash_handler()