Lines Matching defs:ckPartLength
75 CK_ULONG ckPartLength, ckEncryptedPartLength = 0;
83 jByteArrayToCKByteArray(env, jPart, &ckpPart, &ckPartLength);
86 rv = (*ckpFunctions->C_DigestEncryptUpdate)(ckSessionHandle, ckpPart, ckPartLength, NULL_PTR, &ckEncryptedPartLength);
99 rv = (*ckpFunctions->C_DigestEncryptUpdate)(ckSessionHandle, ckpPart, ckPartLength, ckpEncryptedPart, &ckEncryptedPartLength);
127 CK_ULONG ckPartLength = 0, ckEncryptedPartLength;
138 rv = (*ckpFunctions->C_DecryptDigestUpdate)(ckSessionHandle, ckpEncryptedPart, ckEncryptedPartLength, NULL_PTR, &ckPartLength);
144 ckpPart = (CK_BYTE_PTR) malloc(ckPartLength * sizeof(CK_BYTE));
151 rv = (*ckpFunctions->C_DecryptDigestUpdate)(ckSessionHandle, ckpEncryptedPart, ckEncryptedPartLength, ckpPart, &ckPartLength);
153 jPart = ckByteArrayToJByteArray(env, ckpPart, ckPartLength);
179 CK_ULONG ckPartLength, ckEncryptedPartLength = 0;
187 jByteArrayToCKByteArray(env, jPart, &ckpPart, &ckPartLength);
190 rv = (*ckpFunctions->C_SignEncryptUpdate)(ckSessionHandle, ckpPart, ckPartLength, NULL_PTR, &ckEncryptedPartLength);
203 rv = (*ckpFunctions->C_SignEncryptUpdate)(ckSessionHandle, ckpPart, ckPartLength, ckpEncryptedPart, &ckEncryptedPartLength);
231 CK_ULONG ckPartLength = 0, ckEncryptedPartLength;
242 rv = (*ckpFunctions->C_DecryptVerifyUpdate)(ckSessionHandle, ckpEncryptedPart, ckEncryptedPartLength, NULL_PTR, &ckPartLength);
248 ckpPart = (CK_BYTE_PTR) malloc(ckPartLength * sizeof(CK_BYTE));
255 rv = (*ckpFunctions->C_DecryptVerifyUpdate)(ckSessionHandle, ckpEncryptedPart, ckEncryptedPartLength, ckpPart, &ckPartLength);
258 jPart = ckByteArrayToJByteArray(env, ckpPart, ckPartLength);