Lines Matching refs:tempBuffer
184 uint8_t tempBuffer[FLASH_FFR_MAX_PAGE_SIZE] = {0}; in PRINCE_GenNewIV() local
201 … FFR_GetCustomerInfieldData(flash_context, (uint8_t *)tempBuffer, 0, FLASH_FFR_MAX_PAGE_SIZE)) in PRINCE_GenNewIV()
204 (void)memcpy(&tempBuffer[offsetof(cfpa_cfg_info_t, ivCodePrinceRegion) + in PRINCE_GenNewIV()
208 uint32_t *p32 = (uint32_t *)(uint32_t)tempBuffer; in PRINCE_GenNewIV()
219 FFR_InfieldPageWrite(flash_context, (uint8_t *)tempBuffer, FLASH_FFR_MAX_PAGE_SIZE)) in PRINCE_GenNewIV()
313 uint8_t tempBuffer[FLASH_FFR_MAX_PAGE_SIZE] = {0}; in PRINCE_SetEncryptForAddressRange() local
416 …if (kStatus_Success == FFR_GetCustomerData(flash_context, (uint8_t *)&tempBuffer, 0, FLASH_FFR_MAX… in PRINCE_SetEncryptForAddressRange()
419 (void)memcpy((uint32_t *)(uintptr_t)&tempBuffer[offsetof(cmpa_cfg_info_t, princeSr) + in PRINCE_SetEncryptForAddressRange()
424 … (const uint32_t *)(uintptr_t)&tempBuffer[offsetof(cmpa_cfg_info_t, princeBaseAddr)], in PRINCE_SetEncryptForAddressRange()
431 (void)memcpy((uint32_t *)(uintptr_t)&tempBuffer[offsetof(cmpa_cfg_info_t, princeBaseAddr)], in PRINCE_SetEncryptForAddressRange()
437 status = FFR_CustFactoryPageWrite(flash_context, (uint8_t *)tempBuffer, false); in PRINCE_SetEncryptForAddressRange()