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

Lines Matching refs:ivOffset

124                                  int cryptoOffset, int ivOffset, int cryptoLength,
1658 MV_FALSE, pCmd->ivOffset, pSA->cryptoIvSize, pCmd->skipFlush);
1662 if(pCmd->ivOffset > (copySize - pSA->cryptoIvSize))
1667 /* For Decryption: Copy IV value from pCmd->ivOffset to Special SRAM place */
1672 MV_FALSE, pCmd->ivOffset, pSA->cryptoIvSize, pCmd->skipFlush);
1677 /* Copy IV from SRAM to buffer (pCmd->ivOffset) */
1680 /* copy IV value from cryptoIV to Buffer (pCmd->ivOffset) */
1682 MV_TRUE, pCmd->ivOffset, pSA->cryptoIvSize, pCmd->skipFlush);
1688 cryptoIvOffset = pCmd->ivOffset;
1896 MV_FALSE, pCmd->ivOffset, pSA->cryptoIvSize, pCmd->skipFlush);
1913 pCmd->ivOffset + fixOffset, pCmd->cryptoLength,
1950 * int ivOffset - Offset of crypto IV from the SRAM base. Valid only
1968 int cryptoOffset, int ivOffset, int cryptoLength,
1992 pCesaDesc->cryptoIvBufOffset = MV_16BIT_LE(sramBufOffset + ivOffset);
2686 /* ivFromUser and ivOffset are don't care */
2692 mvCesaCopyFromMbuf(pBuf, pCmd->pSrc, pCmd->ivOffset, MV_CESA_AES_BLOCK_SIZE);
2931 if( ((pCmd->ivOffset + pSA->cryptoIvSize) > pCmd->cryptoOffset) &&
2932 (pCmd->ivOffset < (pCmd->cryptoOffset + pCmd->cryptoLength)) )
2935 pCmd->ivOffset, pCmd->macOffset, pCmd->macLength);
2939 /* ivOffset must be 4 byte aligned */
2940 if( MV_IS_NOT_ALIGN(pCmd->ivOffset, 4) )
2942 mvOsPrintf("CesaAction: ivOffset=%d must be 4 byte aligned\n",
2943 pCmd->ivOffset);
2947 if( (pCmd->ivOffset % 8) != fixOffset)
2949 mvOsPrintf("mvCesaAction: ivOffset %d mod 8 must be %d\n",
2950 pCmd->ivOffset, fixOffset);