Home
last modified time | relevance | path

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

/optee_os/core/drivers/crypto/stm32/
H A Dstm32_cryp.c30 #define _CRYP_CR 0x0U macro
249 while (io_read32(base + _CRYP_CR) & _CRYP_CR_CRYPEN) in wait_end_enable()
253 if (io_read32(base + _CRYP_CR) & _CRYP_CR_CRYPEN) in wait_end_enable()
349 io_clrbits32(ctx->base + _CRYP_CR, _CRYP_CR_CRYPEN); in cryp_end()
424 io_clrsetbits32(ctx->base + _CRYP_CR, _CRYP_CR_ALGOMODE_MSK, in cryp_prepare_key()
430 io_setbits32(ctx->base + _CRYP_CR, _CRYP_CR_CRYPEN); in cryp_prepare_key()
437 io_clrsetbits32(ctx->base + _CRYP_CR, _CRYP_CR_ALGOMODE_MSK, in cryp_prepare_key()
453 io_clrbits32(ctx->base + _CRYP_CR, _CRYP_CR_CRYPEN); in save_context()
456 ctx->cr = io_read32(ctx->base + _CRYP_CR); in save_context()
479 if (io_read32(ctx->base + _CRYP_CR) & _CRYP_CR_CRYPEN) { in restore_context()
[all …]