Home
last modified time | relevance | path

Searched refs:pWrappedKey (Results 1 – 10 of 10) sorted by relevance

/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A Dpkcs11Keys.c158 CK_BYTE_PTR pWrappedKey, CK_ULONG_PTR pulWrappedKeyLen) in C_WrapKey() argument
171 hWrappingKey, hKey, pWrappedKey, in C_WrapKey()
195 pMechanism, hWrappingKey, hKey, pWrappedKey, pulWrappedKeyLen); in C_WrapKey()
213 CK_OBJECT_HANDLE hUnwrappingKey, CK_BYTE_PTR pWrappedKey, in C_UnwrapKey() argument
228 hUnwrappingKey, pWrappedKey, ulWrappedKeyLen, in C_UnwrapKey()
252 pMechanism, hUnwrappingKey, pWrappedKey, ulWrappedKeyLen, in C_UnwrapKey()
H A DmetaKeys.c142 CK_BYTE_PTR pWrappedKey, CK_ULONG_PTR pulWrappedKeyLen) in meta_WrapKey() argument
169 inputKey, pWrappedKey, pulWrappedKeyLen); in meta_WrapKey()
186 CK_OBJECT_HANDLE hUnwrappingKey, CK_BYTE_PTR pWrappedKey, in meta_UnwrapKey() argument
194 if (pMechanism == NULL || pWrappedKey == NULL || phKey == NULL) in meta_UnwrapKey()
215 pWrappedKey, ulWrappedKeyLen, in meta_UnwrapKey()
H A DmetaGlobal.h824 CK_BYTE_PTR pWrappedKey, CK_ULONG_PTR pulWrappedKeyLen);
826 CK_OBJECT_HANDLE hUnwrappingKey, CK_BYTE_PTR pWrappedKey,
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeys.c119 CK_BYTE_PTR pWrappedKey, CK_ULONG_PTR pulWrappedKeyLen) in C_WrapKey() argument
197 hkey_p, pWrappedKey, pulWrappedKeyLen); in C_WrapKey()
204 if ((rv == CKR_OK && pWrappedKey == NULL) || in C_WrapKey()
219 CK_OBJECT_HANDLE hUnwrappingKey, CK_BYTE_PTR pWrappedKey, in C_UnwrapKey() argument
246 if ((pWrappedKey == NULL) || (ulWrappedKeyLen == 0)) { in C_UnwrapKey()
297 pWrappedKey, ulWrappedKeyLen, pTemplate, ulAttributeCount, in C_UnwrapKey()
302 if ((rv == CKR_OK && pWrappedKey == NULL) || in C_UnwrapKey()
H A DsoftKeysUtil.c1409 CK_BYTE_PTR pWrappedKey, CK_ULONG_PTR pulWrappedKeyLen) in soft_wrapkey() argument
1531 pWrappedKey, pulWrappedKeyLen); in soft_wrapkey()
1627 soft_object_t *unwrappingkey_p, CK_BYTE_PTR pWrappedKey, in soft_unwrapkey() argument
1711 rv = soft_decrypt(session_p, pWrappedKey, ulWrappedKeyLen, NULL, in soft_unwrapkey()
1724 rv = soft_decrypt(session_p, pWrappedKey, ulWrappedKeyLen, plain_data, in soft_unwrapkey()
/illumos-gate/usr/src/lib/pkcs11/include/
H A Dpkcs11f.h835 CK_BYTE_PTR pWrappedKey, /* gets wrapped key */
850 CK_BYTE_PTR pWrappedKey, /* the wrapped key */
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dnew_host.c2222 CK_BYTE_PTR pWrappedKey, in SC_WrapKey() argument
2241 if (! pWrappedKey) in SC_WrapKey()
2258 pWrappedKey, pulWrappedKeyLen); in SC_WrapKey()
2268 CK_BYTE_PTR pWrappedKey, in SC_UnwrapKey() argument
2283 if (! pMechanism || ! pWrappedKey || in SC_UnwrapKey()
2304 pWrappedKey, ulWrappedKeyLen, in SC_UnwrapKey()
H A Dapi_interface.c2092 CK_BYTE_PTR pWrappedKey, in C_UnwrapKey() argument
2112 hUnwrappingKey, pWrappedKey, ulWrappedKeyLen, in C_UnwrapKey()
2287 CK_BYTE_PTR pWrappedKey, in C_WrapKey() argument
2304 hKey, pWrappedKey, pulWrappedKeyLen); in C_WrapKey()
H A Dtpmtok_int.h1525 CK_BYTE_PTR pWrappedKey, CK_ULONG_PTR pusWrappedKeyLen);
1529 CK_OBJECT_HANDLE hUnwrappingKey, CK_BYTE_PTR pWrappedKey,
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelKeys.c1652 CK_BYTE_PTR pWrappedKey, CK_ULONG_PTR pulWrappedKeyLen) in C_WrapKey() argument
1709 obj_wrapkey.wk_wrapped_key = (char *)pWrappedKey; in C_WrapKey()
1740 CK_OBJECT_HANDLE hUnwrappingKey, CK_BYTE_PTR pWrappedKey, in C_UnwrapKey() argument
1764 if (pMechanism == NULL || pWrappedKey == NULL || phKey == NULL) { in C_UnwrapKey()
1820 rv = kernel_decrypt(session_p, pWrappedKey, in C_UnwrapKey()
1890 obj_unwrapkey.uk_wrapped_key = (char *)pWrappedKey; in C_UnwrapKey()