Lines Matching defs:ckpWrappedKey
236 CK_BYTE_PTR ckpWrappedKey = BUF;
249 rv = (*ckpFunctions->C_WrapKey)(ckSessionHandle, &ckMechanism, ckWrappingKeyHandle, ckKeyHandle, ckpWrappedKey, &ckWrappedKeyLength);
251 ckpWrappedKey = (CK_BYTE_PTR) malloc(ckWrappedKeyLength);
252 if (ckpWrappedKey == NULL) {
260 rv = (*ckpFunctions->C_WrapKey)(ckSessionHandle, &ckMechanism, ckWrappingKeyHandle, ckKeyHandle, ckpWrappedKey, &ckWrappedKeyLength);
263 jWrappedKey = ckByteArrayToJByteArray(env, ckpWrappedKey, ckWrappedKeyLength);
266 if (ckpWrappedKey != BUF) { free(ckpWrappedKey); }
296 CK_BYTE_PTR ckpWrappedKey = NULL_PTR;
312 jByteArrayToCKByteArray(env, jWrappedKey, &ckpWrappedKey, &ckWrappedKeyLength);
325 free(ckpWrappedKey);
331 ckpWrappedKey, ckWrappedKeyLength,
350 free(ckpWrappedKey);