Home
last modified time | relevance | path

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

/hardware/ti/omap4-aah/security/tf_daemon/
Ddelegation_client.c735 DELEGATION_RPMB_MESSAGE* pMessages; in rpmbRead() local
739 pMessages = (DELEGATION_RPMB_MESSAGE*)malloc(nNbMsg * sizeof(DELEGATION_RPMB_MESSAGE)); in rpmbRead()
740 if (pMessages == NULL) in rpmbRead()
744 memset(pMessages,0,nNbMsg * sizeof(DELEGATION_RPMB_MESSAGE)); in rpmbRead()
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()
751 pMessages[nIndex].nReqOrResp = 0x0004; in rpmbRead()
753 memcpy(pMessages[nNbMsg-1].pMAC,pInstruction->nMAC,32); in rpmbRead()
757 memcpy(pInstruction->pNonce,pMessages[0].pNonce , 16); in rpmbRead()
[all …]