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

Lines Matching refs:fixOffset

905         pReq->fixOffset = 0;
909 /* Check request parameters and calculae fixOffset */
910 status = mvCesaParamCheck(pSA, pCmd, &pReq->fixOffset);
1601 int fixOffset, cryptoOffset, macOffset;
1623 /* fixOffset can be not equal to zero only for FIRST fragment */
1624 fixOffset = pReq->fixOffset;
1629 copySize = sizeof(cesaSramVirtPtr->buf) - pReq->fixOffset;
1734 fixOffset = 0;
1810 i += mvCesaDmaCopyPrepare(pMbuf, pSramBuf + fixOffset, &pDmaDesc[i],
1815 cryptoOffset + fixOffset, cryptoIvOffset + fixOffset,
1816 cryptoDataSize, macOffset + fixOffset,
1817 digestOffset + fixOffset, macDataSize, macTotalLen,
1829 i += mvCesaDmaCopyPrepare(pMbuf, pSramBuf + fixOffset, &pDmaDesc[i],
1867 int sid, i, fixOffset;
1877 fixOffset = pReq->fixOffset;
1908 i += mvCesaDmaCopyPrepare(pMbuf, pSramBuf + fixOffset, &pDmaDesc[i],
1912 mvCesaSramDescrBuild(pSA->config, 0, pCmd->cryptoOffset + fixOffset,
1913 pCmd->ivOffset + fixOffset, pCmd->cryptoLength,
1914 pCmd->macOffset + fixOffset, pCmd->digestOffset + fixOffset,
1926 i += mvCesaDmaCopyPrepare(pMbuf, pSramBuf + fixOffset, &pDmaDesc[i],
2853 MV_U8 fixOffset = 0xFF;
2874 if(fixOffset == 0xFF)
2876 fixOffset = (pCmd->macOffset % 8);
2880 if( (pCmd->macOffset % 8) != fixOffset)
2883 pCmd->macOffset, fixOffset);
2887 if( (pCmd->digestOffset % 8) != fixOffset)
2890 pCmd->digestOffset, fixOffset);
2912 if(fixOffset == 0xFF)
2914 fixOffset = (pCmd->cryptoOffset % 8);
2919 if( (pCmd->cryptoOffset % 8) != fixOffset)
2922 pCmd->cryptoOffset, fixOffset);
2947 if( (pCmd->ivOffset % 8) != fixOffset)
2950 pCmd->ivOffset, fixOffset);
3000 /* 4 for possible fixOffset */