Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/pkcs11/libpkcs11/common/
H A Dpkcs11Keys.c160 CK_BYTE_PTR pWrappedKey, CK_ULONG_PTR pulWrappedKeyLen) in C_WrapKey() argument
173 hWrappingKey, hKey, pWrappedKey, in C_WrapKey()
197 pMechanism, hWrappingKey, hKey, pWrappedKey, pulWrappedKeyLen); in C_WrapKey()
215 CK_OBJECT_HANDLE hUnwrappingKey, CK_BYTE_PTR pWrappedKey, in C_UnwrapKey() argument
230 hUnwrappingKey, pWrappedKey, ulWrappedKeyLen, in C_UnwrapKey()
254 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,
/titanic_41/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.c1411 CK_BYTE_PTR pWrappedKey, CK_ULONG_PTR pulWrappedKeyLen) in soft_wrapkey() argument
1533 pWrappedKey, pulWrappedKeyLen); in soft_wrapkey()
1632 CK_BYTE_PTR pWrappedKey, CK_ULONG ulWrappedKeyLen, in soft_unwrapkey() argument
1716 rv = soft_decrypt(session_p, pWrappedKey, ulWrappedKeyLen, NULL, in soft_unwrapkey()
1729 rv = soft_decrypt(session_p, pWrappedKey, ulWrappedKeyLen, plain_data, in soft_unwrapkey()
/titanic_41/usr/src/lib/pkcs11/include/
H A Dpkcs11f.h812 CK_BYTE_PTR pWrappedKey, /* gets wrapped key */
826 CK_BYTE_PTR pWrappedKey, /* the wrapped key */
/titanic_41/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.h1524 CK_BYTE_PTR pWrappedKey, CK_ULONG_PTR pusWrappedKeyLen);
1528 CK_OBJECT_HANDLE hUnwrappingKey, CK_BYTE_PTR pWrappedKey,
/titanic_41/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelKeys.c1657 CK_BYTE_PTR pWrappedKey, CK_ULONG_PTR pulWrappedKeyLen) in C_WrapKey() argument
1714 obj_wrapkey.wk_wrapped_key = (char *)pWrappedKey; in C_WrapKey()
1745 CK_OBJECT_HANDLE hUnwrappingKey, CK_BYTE_PTR pWrappedKey, in C_UnwrapKey() argument
1769 if (pMechanism == NULL || pWrappedKey == NULL || phKey == NULL) { in C_UnwrapKey()
1825 rv = kernel_decrypt(session_p, pWrappedKey, in C_UnwrapKey()
1895 obj_unwrapkey.uk_wrapped_key = (char *)pWrappedKey; in C_UnwrapKey()