• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7800-V1.0.2.28/target/linux/generic/files/crypto/ocf/kirkwood/cesa/

Lines Matching defs:pCesaSAD

81 MV_CESA_SA*             pCesaSAD = NULL;
259 pCesaSAD = mvOsMalloc(sizeof(MV_CESA_SA)*numOfSession);
260 if(pCesaSAD == NULL)
267 memset(pCesaSAD, 0, sizeof(MV_CESA_SA)*numOfSession);
290 pCesaSAD[i].pSramSA = &pSramSA[i];
487 if(pCesaSAD != NULL)
489 mvOsFree(pCesaSAD);
490 pCesaSAD = NULL;
591 if(pCesaSAD[sid].valid == 0)
620 /* memset(&pCesaSAD[sid], 0, sizeof(pCesaSAD[sid])); */
636 pCesaSAD[sid].pSramSA->macInnerIV,
637 pCesaSAD[sid].pSramSA->macOuterIV);
638 pCesaSAD[sid].macKeyLength = pSession->macKeyLength;
668 pCesaSAD[sid].digestSize = pSession->digestSize;
670 if(pCesaSAD[sid].digestSize == 12)
683 pCesaSAD[sid].cryptoKeyLength = MV_CESA_DES_KEY_LENGTH;
684 pCesaSAD[sid].cryptoBlockSize = MV_CESA_DES_BLOCK_SIZE;
688 pCesaSAD[sid].cryptoKeyLength = MV_CESA_3DES_KEY_LENGTH;
689 pCesaSAD[sid].cryptoBlockSize = MV_CESA_DES_BLOCK_SIZE;
699 pCesaSAD[sid].cryptoKeyLength = MV_CESA_AES_128_KEY_LENGTH;
705 pCesaSAD[sid].cryptoKeyLength = MV_CESA_AES_192_KEY_LENGTH;
712 pCesaSAD[sid].cryptoKeyLength = MV_CESA_AES_256_KEY_LENGTH;
717 pCesaSAD[sid].cryptoBlockSize = MV_CESA_AES_BLOCK_SIZE;
727 if(pSession->cryptoKeyLength != pCesaSAD[sid].cryptoKeyLength)
730 pSession->cryptoKeyLength, pCesaSAD[sid].cryptoKeyLength);
740 aesMakeKey(pCesaSAD[sid].pSramSA->cryptoKey, pSession->cryptoKey,
746 memcpy(pCesaSAD[sid].pSramSA->cryptoKey, pSession->cryptoKey,
747 pCesaSAD[sid].cryptoKeyLength);
754 pCesaSAD[sid].cryptoIvSize = 0;
758 pCesaSAD[sid].cryptoIvSize = pCesaSAD[sid].cryptoBlockSize;
768 pCesaSAD[sid].cryptoIvSize = 0;
769 pCesaSAD[sid].ctrMode = 1;
782 pCesaSAD[sid].config = config;
784 mvOsCacheFlush(NULL, pCesaSAD[sid].pSramSA, sizeof(MV_CESA_SRAM_SA));
788 pCesaSAD[sid].valid = 1;
816 if(pCesaSAD[sid].valid == 0)
824 pCesaSAD[sid].valid = 0;
868 MV_CESA_SA* pSA = &pCesaSAD[sid];
1134 pSA = &pCesaSAD[pReq->pCmd->sessionId];
1607 pSA = &pCesaSAD[sid];
1874 pSA = &pCesaSAD[sid];
2040 MV_CESA_SA *pSA = &pCesaSAD[sid];