Searched refs:contextIndex (Results 1 – 3 of 3) sorted by relevance
146 uint8_t contextIndex = config->contextIndex; in OTFAD_SetEncryptionConfig() local165 base->CTX[contextIndex].RGD_W0 = OTFAD_RGD_W0_SRTADDR(startAddr); in OTFAD_SetEncryptionConfig()167 base->CTX[contextIndex].RGD_W1 = temp; in OTFAD_SetEncryptionConfig()175 base->CTX[contextIndex].KEY[0] = tempKey[0]; in OTFAD_SetEncryptionConfig()176 base->CTX[contextIndex].KEY[1] = tempKey[1]; in OTFAD_SetEncryptionConfig()177 base->CTX[contextIndex].KEY[2] = tempKey[2]; in OTFAD_SetEncryptionConfig()178 base->CTX[contextIndex].KEY[3] = tempKey[3]; in OTFAD_SetEncryptionConfig()181 base->CTX[contextIndex].CTR[0] = tempCounter[0]; in OTFAD_SetEncryptionConfig()182 base->CTX[contextIndex].CTR[1] = tempCounter[1]; in OTFAD_SetEncryptionConfig()205 config->key[0] = base->CTX[config->contextIndex].KEY[0]; in OTFAD_GetEncryptionConfig()[all …]
65 uint8_t contextIndex; /*!< OTFAD context index */ member199 status_t OTFAD_HitDetermination(OTFAD_Type *base, uint32_t address, uint8_t *contextIndex);
243 uint32_t contextIndex = 0U; in ASRC_GetAvailableContextSlot() local248 contextIndex = ASRC_GET_SLOT0_CONTEXT_INDEX(contextProcessor); in ASRC_GetAvailableContextSlot()249 if (ASRC_IS_CONTEXT_ENABLED(contextIndex)) in ASRC_GetAvailableContextSlot()257 contextIndex = ASRC_GET_SLOT1_CONTEXT_INDEX(contextProcessor); in ASRC_GetAvailableContextSlot()258 if (ASRC_IS_CONTEXT_ENABLED(contextIndex)) in ASRC_GetAvailableContextSlot()