Searched refs:ckpWrappedKey (Results 1 - 1 of 1) sorted by relevance

/openjdk7/jdk/src/share/native/sun/security/pkcs11/wrapper/
H A Dp11_keymgmt.c236 CK_BYTE_PTR ckpWrappedKey = BUF; local
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; local
312 jByteArrayToCKByteArray(env, jWrappedKey, &ckpWrappedKey,
[all...]

Completed in 33 milliseconds