Searched refs:paddingLen (Results 1 – 2 of 2) sorted by relevance
72 auto paddingLen = AESCBC128BlockSize - ((payloadLen + 1) & 0xF); in encryptPayload() local79 payload.resize(payloadLen + paddingLen + 1); in encryptPayload()87 if (0 != paddingLen) in encryptPayload()90 payload.begin() + payloadLen + paddingLen, 1); in encryptPayload()93 payload.back() = paddingLen; in encryptPayload()
330 auto paddingLen = 4 - ((payloadLen + 2) & 3); in verifyPacketIntegrity() local332 auto sessTrailerPos = sizeof(SessionHeader_t) + payloadLen + paddingLen; in verifyPacketIntegrity()345 if (trailer->padLength != paddingLen) in verifyPacketIntegrity()380 auto paddingLen = 4 - ((payloadLen + 2) & 3); in addIntegrityData() local381 packet.insert(packet.end(), paddingLen, 0xFF); in addIntegrityData()388 trailer->padLength = paddingLen; in addIntegrityData()