Lines Matching refs:cryptoLength
124 int cryptoOffset, int ivOffset, int cryptoLength,
1779 cryptoDataSize = pCmd->cryptoLength - pReq->frags.cryptoSize;
1913 pCmd->ivOffset + fixOffset, pCmd->cryptoLength,
1952 * int cryptoLength - Size (in bytes) of data for encryption/descryption
1968 int cryptoOffset, int ivOffset, int cryptoLength,
1985 pCesaDesc->cryptoDataLen = MV_16BIT_LE(cryptoLength);
2659 int cryptoSize = MV_ALIGN_UP(pCmd->cryptoLength, MV_CESA_AES_BLOCK_SIZE);
2688 pCtrModeCmd->cryptoLength = cryptoSize;
2729 int cryptoSize = pCmd->cryptoLength;
2793 srcOffset = pOrgCmd->cryptoOffset + pOrgCmd->cryptoLength;
2905 /* cryptoLength should be the whole number of blocks */
2906 if( MV_IS_NOT_ALIGN(pCmd->cryptoLength, pSA->cryptoBlockSize) )
2908 mvOsPrintf("mvCesaAction: cryptoLength=%d must be %d byte aligned\n",
2909 pCmd->cryptoLength, pSA->cryptoBlockSize);
2932 (pCmd->ivOffset < (pCmd->cryptoOffset + pCmd->cryptoLength)) )
2934 mvOsPrintf("mvCesaFragParamCheck: cryptoIvOffset (%d) is part of cryptoLength (%d+%d)\n",
3009 if( ((pCmd->cryptoOffset + pCmd->cryptoLength) > pCmd->pSrc->mbufSize) ||
3010 ((pCmd->pSrc->mbufSize - (pCmd->cryptoOffset + pCmd->cryptoLength)) >=
3013 mvOsPrintf("mvCesaFragParamCheck: cryptoLength is too large (%d), mbufSize=%d\n",
3014 pCmd->cryptoLength, pCmd->pSrc->mbufSize);
3053 (pCmd->digestOffset < (pCmd->cryptoOffset + pCmd->cryptoLength)) )
3056 mvOsPrintf("mvCesaFragParamCheck: digestOffset (%d) is part of cryptoLength (%d+%d)\n",
3057 pCmd->digestOffset, pCmd->cryptoOffset, pCmd->cryptoLength);
3096 (pCmd->cryptoLength - (pReq->frags.cryptoSize + 1)) );