Searched refs:pInstruction (Results 1 – 2 of 2) sorted by relevance
/hardware/ti/omap4-aah/security/tf_daemon/ |
D | delegation_client.c | 733 static TEEC_Result rpmbRead(DELEGATION_RPMB_INSTRUCTION *pInstruction) in rpmbRead() argument 748 memcpy(pMessages[nIndex].pNonce , pInstruction->pNonce, 16); in rpmbRead() 749 pMessages[nIndex].nAddr = pInstruction->nAddr; in rpmbRead() 750 pMessages[nIndex].nBlockCount = pInstruction->nBlockCount; in rpmbRead() 753 memcpy(pMessages[nNbMsg-1].pMAC,pInstruction->nMAC,32); in rpmbRead() 757 memcpy(pInstruction->pNonce,pMessages[0].pNonce , 16); in rpmbRead() 758 pInstruction->nAddr = pMessages[0].nAddr; in rpmbRead() 759 pInstruction->nBlockCount = pMessages[0].nBlockCount; in rpmbRead() 762 … memcpy(g_pWorkspaceBuffer + pInstruction->nWorkspaceOffset[nIndex],pMessages[nIndex].pData,256); in rpmbRead() 764 memcpy(pInstruction->nMAC, pMessages[nNbMsg-1].pMAC,32); in rpmbRead() [all …]
|
/hardware/ti/omap4xxx/security/tf_daemon/ |
D | delegation_client.c | 933 DELEGATION_INSTRUCTION * pInstruction; in runSession() local 935 …pInstruction = (DELEGATION_INSTRUCTION *)(&g_pExchangeBuffer->sInstructions[nInstructionsIndex/4]); in runSession() 938 nInstructionID = pInstruction->sGeneric.nInstructionID; in runSession() 966 nMessageType = pInstruction->sNotify.nMessageType; in runSession() 967 nMessageSize = pInstruction->sNotify.nMessageSize; in runSession() 981 memcpy(pMessage, &pInstruction->sNotify.nMessage[0], nMessageSize); in runSession() 1031 nSectorID = pInstruction->sReadWrite.nSectorID; in runSession() 1032 nWorkspaceOffset = pInstruction->sReadWrite.nWorkspaceOffset; in runSession() 1050 nSectorID = pInstruction->sReadWrite.nSectorID; in runSession() 1051 nWorkspaceOffset = pInstruction->sReadWrite.nWorkspaceOffset; in runSession() [all …]
|