Lines Matching refs:flash_context
30 flash_config_t *flash_context) in PRINCE_CheckerAlgorithm() argument
36 if (address >= flash_context->ffrConfig.ffrBlockBase) in PRINCE_CheckerAlgorithm()
119 … PRINCE_GenNewIV((prince_region_t)region_index, &prince_iv_code[0], true, flash_context)) in PRINCE_CheckerAlgorithm()
180 …RINCE_GenNewIV(prince_region_t region, uint8_t *iv_code, bool store, flash_config_t *flash_context) in PRINCE_GenNewIV() argument
201 … FFR_GetCustomerInfieldData(flash_context, (uint8_t *)tempBuffer, 0, FLASH_FFR_MAX_PAGE_SIZE)) in PRINCE_GenNewIV()
219 FFR_InfieldPageWrite(flash_context, (uint8_t *)tempBuffer, FLASH_FFR_MAX_PAGE_SIZE)) in PRINCE_GenNewIV()
305 …prince_region_t region, uint32_t start_address, uint32_t length, flash_config_t *flash_context, bo… in PRINCE_SetEncryptForAddressRange() argument
316 if (NULL == flash_context) in PRINCE_SetEncryptForAddressRange()
345 status = PRINCE_GenNewIV((prince_region_t)region, &prince_iv_code[0], true, flash_context); in PRINCE_SetEncryptForAddressRange()
416 …if (kStatus_Success == FFR_GetCustomerData(flash_context, (uint8_t *)&tempBuffer, 0, FLASH_FFR_MAX… in PRINCE_SetEncryptForAddressRange()
437 status = FFR_CustFactoryPageWrite(flash_context, (uint8_t *)tempBuffer, false); in PRINCE_SetEncryptForAddressRange()