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

/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeys.c221 CK_ULONG ulAttributeCount, CK_OBJECT_HANDLE_PTR phKey)
241 if ((pTemplate == NULL) || (ulAttributeCount == 0)) {
297 pWrappedKey, ulWrappedKeyLen, pTemplate, ulAttributeCount,
320 CK_ULONG ulAttributeCount, CK_OBJECT_HANDLE_PTR phKey)
341 if (((pTemplate != NULL) && (ulAttributeCount == 0)) ||
342 ((pTemplate == NULL) && (ulAttributeCount != 0))) {
359 pTemplate, ulAttributeCount, phKey);
218 C_UnwrapKey(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hUnwrappingKey, CK_BYTE_PTR pWrappedKey, CK_ULONG ulWrappedKeyLen, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulAttributeCount, CK_OBJECT_HANDLE_PTR phKey) argument
318 C_DeriveKey(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hBaseKey, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulAttributeCount, CK_OBJECT_HANDLE_PTR phKey) argument
H A DsoftKeysUtil.c851 CK_ULONG ulAttributeCount, CK_OBJECT_HANDLE_PTR phKey)
868 rv = soft_gen_keyobject(pTemplate, ulAttributeCount,
900 rv = soft_gen_keyobject(pTemplate, ulAttributeCount,
958 rv = soft_gen_keyobject(pTemplate, ulAttributeCount,
1052 basekey_p, pTemplate, ulAttributeCount, phKey));
1057 basekey_p, pTemplate, ulAttributeCount));
1558 CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulAttributeCount)
1579 for (i = 0; i < ulAttributeCount; i++) {
1633 CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulAttributeCount,
1646 if (pTemplate != NULL && ulAttributeCount !
849 soft_derivekey(soft_session_t *session_p, CK_MECHANISM_PTR pMechanism, soft_object_t *basekey_p, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulAttributeCount, CK_OBJECT_HANDLE_PTR phKey) argument
1557 soft_unwrap_secret_len_check(CK_KEY_TYPE keytype, CK_MECHANISM_TYPE mechtype, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulAttributeCount) argument
1630 soft_unwrapkey(soft_session_t *session_p, CK_MECHANISM_PTR pMechanism, soft_object_t *unwrappingkey_p, CK_BYTE_PTR pWrappedKey, CK_ULONG ulWrappedKeyLen, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulAttributeCount, CK_OBJECT_HANDLE_PTR phKey) argument
[all...]
H A DsoftSSL.c401 * . pTemplate & ulAttributeCount: Any extra attributes for the key to be
423 CK_ULONG ulAttributeCount, CK_OBJECT_HANDLE_PTR phKey)
519 newattrcount = ulAttributeCount + 4;
549 if (ulAttributeCount > 0) {
552 for (i = 0; i < ulAttributeCount; i++) {
568 ulAttributeCount * sizeof (CK_ATTRIBUTE));
589 * . pTemplate & ulAttributeCount: Any extra attributes for the key to be
618 CK_ULONG ulAttributeCount)
813 newattrcount = ulAttributeCount + extra_attr_count;
882 if (ulAttributeCount >
421 soft_ssl_master_key_derive(soft_session_t *sp, CK_MECHANISM_PTR mech, soft_object_t *basekey_p, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulAttributeCount, CK_OBJECT_HANDLE_PTR phKey) argument
616 soft_ssl_key_and_mac_derive(soft_session_t *sp, CK_MECHANISM_PTR mech, soft_object_t *basekey_p, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulAttributeCount) argument
[all...]
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A Dpkcs11Keys.c217 CK_ULONG ulAttributeCount, CK_OBJECT_HANDLE_PTR phKey)
231 pTemplate, ulAttributeCount, phKey));
255 pTemplate, ulAttributeCount, phKey);
274 CK_ULONG ulAttributeCount, CK_OBJECT_HANDLE_PTR phKey)
287 hBaseKey, pTemplate, ulAttributeCount, phKey));
310 pMechanism, hBaseKey, pTemplate, ulAttributeCount, phKey);
214 C_UnwrapKey(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hUnwrappingKey, CK_BYTE_PTR pWrappedKey, CK_ULONG ulWrappedKeyLen, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulAttributeCount, CK_OBJECT_HANDLE_PTR phKey) argument
272 C_DeriveKey(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hBaseKey, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulAttributeCount, CK_OBJECT_HANDLE_PTR phKey) argument
H A DmetaKeys.c188 CK_ULONG ulAttributeCount, CK_OBJECT_HANDLE_PTR phKey)
211 (void) get_template_boolean(CKA_TOKEN, pTemplate, ulAttributeCount,
216 pTemplate, ulAttributeCount, outputKey);
247 CK_ULONG ulAttributeCount, CK_OBJECT_HANDLE_PTR phKey)
412 pTemplate, ulAttributeCount, newKey1, newKey2, newKey3, newKey4);
185 meta_UnwrapKey(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hUnwrappingKey, CK_BYTE_PTR pWrappedKey, CK_ULONG ulWrappedKeyLen, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulAttributeCount, CK_OBJECT_HANDLE_PTR phKey) argument
245 meta_DeriveKey(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hBaseKey, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulAttributeCount, CK_OBJECT_HANDLE_PTR phKey) argument
H A DmetaUtil.c1457 CK_ATTRIBUTE *pTemplate, CK_ULONG ulAttributeCount,
1480 (void) get_template_boolean(CKA_TOKEN, pTemplate, ulAttributeCount,
1482 (void) get_template_boolean(CKA_PRIVATE, pTemplate, ulAttributeCount,
1484 (void) get_template_boolean(CKA_SENSITIVE, pTemplate, ulAttributeCount,
1498 ulAttributeCount, NULL)) {
1503 if (!meta_freeobject_set(newKey1, pTemplate, ulAttributeCount,
1580 pTemplate, ulAttributeCount);
1587 slot_basekey1->hObject, pTemplate, ulAttributeCount,
1454 meta_derive_key(meta_session_t *session, CK_MECHANISM *pMechanism, meta_object_t *basekey1, meta_object_t *basekey2, CK_OBJECT_HANDLE *phBaseKey2, CK_ATTRIBUTE *pTemplate, CK_ULONG ulAttributeCount, meta_object_t *newKey1, meta_object_t *newKey2, meta_object_t *newKey3, meta_object_t *newKey4) argument
H A DmetaGlobal.h614 CK_ATTRIBUTE *pTemplate, CK_ULONG ulAttributeCount,
828 CK_ULONG ulAttributeCount, CK_OBJECT_HANDLE_PTR phKey);
831 CK_ULONG ulAttributeCount, CK_OBJECT_HANDLE_PTR phKey);
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelKeys.c107 is_secret_key_template(CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulAttributeCount) argument
110 for (i = 0; i < ulAttributeCount; i++) {
143 CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulAttributeCount,
150 for (i = 0; i < ulAttributeCount; i++) {
157 if (i == ulAttributeCount)
171 for (i = 0; i < ulAttributeCount; i++) {
179 if (i == ulAttributeCount)
209 pTemplate, ulAttributeCount))
1747 CK_ULONG ulAttributeCount, CK_OBJECT_HANDLE_PTR phKey)
1773 if ((pTemplate == NULL) && (ulAttributeCount !
142 get_key_len_from_template(CK_MECHANISM_PTR pMechanism, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulAttributeCount, kernel_object_t *basekey_p, ulong_t *key_len) argument
1744 C_UnwrapKey(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hUnwrappingKey, CK_BYTE_PTR pWrappedKey, CK_ULONG ulWrappedKeyLen, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulAttributeCount, CK_OBJECT_HANDLE_PTR phKey) argument
2178 derive_key_by_value(CK_MECHANISM_PTR pMechanism, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulAttributeCount, kernel_session_t *session_p, crypto_mech_type_t k_mech_type, kernel_object_t *basekey_p, kernel_object_t *new_objp) argument
2323 C_DeriveKey(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hBaseKey, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulAttributeCount, CK_OBJECT_HANDLE_PTR phKey) argument
[all...]
/illumos-gate/usr/src/lib/pkcs11/include/
H A Dpkcs11f.h829 CK_ULONG ulAttributeCount, /* template length */
844 CK_ULONG ulAttributeCount, /* template length */
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dapi_interface.c725 CK_ULONG ulAttributeCount,
741 if (!pTemplate && ulAttributeCount) {
746 hBaseKey, pTemplate, ulAttributeCount, phKey);
2095 CK_ULONG ulAttributeCount,
2113 pTemplate, ulAttributeCount, phKey);
721 C_DeriveKey(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hBaseKey, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulAttributeCount, CK_OBJECT_HANDLE_PTR phKey) argument
2089 C_UnwrapKey(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hUnwrappingKey, CK_BYTE_PTR pWrappedKey, CK_ULONG ulWrappedKeyLen, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulAttributeCount, CK_OBJECT_HANDLE_PTR phKey) argument

Completed in 83 milliseconds