Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A Dpkcs11Keys.c215 CK_ULONG ulAttributeCount, CK_OBJECT_HANDLE_PTR phKey) in C_UnwrapKey() argument
229 pTemplate, ulAttributeCount, phKey)); in C_UnwrapKey()
253 pTemplate, ulAttributeCount, phKey); in C_UnwrapKey()
272 CK_ULONG ulAttributeCount, CK_OBJECT_HANDLE_PTR phKey) in C_DeriveKey() argument
285 hBaseKey, pTemplate, ulAttributeCount, phKey)); in C_DeriveKey()
308 pMechanism, hBaseKey, pTemplate, ulAttributeCount, phKey); in C_DeriveKey()
H A DmetaKeys.c188 CK_ULONG ulAttributeCount, CK_OBJECT_HANDLE_PTR phKey) in meta_UnwrapKey() argument
211 (void) get_template_boolean(CKA_TOKEN, pTemplate, ulAttributeCount, in meta_UnwrapKey()
216 pTemplate, ulAttributeCount, outputKey); in meta_UnwrapKey()
247 CK_ULONG ulAttributeCount, CK_OBJECT_HANDLE_PTR phKey) in meta_DeriveKey() argument
412 pTemplate, ulAttributeCount, newKey1, newKey2, newKey3, newKey4); in meta_DeriveKey()
H A DmetaUtil.c1457 CK_ATTRIBUTE *pTemplate, CK_ULONG ulAttributeCount, in meta_derive_key() argument
1480 (void) get_template_boolean(CKA_TOKEN, pTemplate, ulAttributeCount, in meta_derive_key()
1482 (void) get_template_boolean(CKA_PRIVATE, pTemplate, ulAttributeCount, in meta_derive_key()
1484 (void) get_template_boolean(CKA_SENSITIVE, pTemplate, ulAttributeCount, in meta_derive_key()
1498 ulAttributeCount, 0)) { in meta_derive_key()
1503 if (!meta_freeobject_set(newKey1, pTemplate, ulAttributeCount, in meta_derive_key()
1580 pTemplate, ulAttributeCount); in meta_derive_key()
1587 slot_basekey1->hObject, pTemplate, ulAttributeCount, in meta_derive_key()
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_softtoken/common/
H A DsoftKeys.c221 CK_ULONG ulAttributeCount, CK_OBJECT_HANDLE_PTR phKey) in C_UnwrapKey() argument
241 if ((pTemplate == NULL) || (ulAttributeCount == 0)) { in C_UnwrapKey()
297 pWrappedKey, ulWrappedKeyLen, pTemplate, ulAttributeCount, in C_UnwrapKey()
320 CK_ULONG ulAttributeCount, CK_OBJECT_HANDLE_PTR phKey) in C_DeriveKey() argument
341 if (((pTemplate != NULL) && (ulAttributeCount == 0)) || in C_DeriveKey()
342 ((pTemplate == NULL) && (ulAttributeCount != 0))) { in C_DeriveKey()
359 pTemplate, ulAttributeCount, phKey); in C_DeriveKey()
H A DsoftKeysUtil.c829 CK_ULONG ulAttributeCount, CK_OBJECT_HANDLE_PTR phKey) in soft_derivekey() argument
849 rv = soft_gen_keyobject(pTemplate, ulAttributeCount, in soft_derivekey()
881 rv = soft_gen_keyobject(pTemplate, ulAttributeCount, in soft_derivekey()
949 rv = soft_gen_keyobject(pTemplate, ulAttributeCount, in soft_derivekey()
1040 basekey_p, pTemplate, ulAttributeCount, phKey)); in soft_derivekey()
1046 basekey_p, pTemplate, ulAttributeCount)); in soft_derivekey()
1554 CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulAttributeCount) in soft_unwrap_secret_len_check() argument
1575 for (i = 0; i < ulAttributeCount; i++) { in soft_unwrap_secret_len_check()
1641 if (pTemplate != NULL && ulAttributeCount != 0) { in soft_unwrapkey()
1642 for (i = 0; i < ulAttributeCount; i++) { in soft_unwrapkey()
[all …]
H A DsoftSSL.c425 CK_ULONG ulAttributeCount, CK_OBJECT_HANDLE_PTR phKey) in soft_ssl_master_key_derive() argument
521 newattrcount = ulAttributeCount + 4; in soft_ssl_master_key_derive()
551 if (ulAttributeCount > 0) { in soft_ssl_master_key_derive()
554 for (i = 0; i < ulAttributeCount; i++) { in soft_ssl_master_key_derive()
570 ulAttributeCount * sizeof (CK_ATTRIBUTE)); in soft_ssl_master_key_derive()
620 CK_ULONG ulAttributeCount) in soft_ssl_key_and_mac_derive() argument
815 newattrcount = ulAttributeCount + extra_attr_count; in soft_ssl_key_and_mac_derive()
887 if (ulAttributeCount > 0) in soft_ssl_key_and_mac_derive()
889 ulAttributeCount * sizeof (CK_ATTRIBUTE)); in soft_ssl_key_and_mac_derive()
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelKeys.c111 for (i = 0; i < ulAttributeCount; i++) { in is_secret_key_template()
151 for (i = 0; i < ulAttributeCount; i++) { in get_key_len_from_template()
158 if (i == ulAttributeCount) in get_key_len_from_template()
180 if (i == ulAttributeCount) in get_key_len_from_template()
210 pTemplate, ulAttributeCount)) in get_key_len_from_template()
1827 ulAttributeCount + 1); in C_UnwrapKey()
1878 ulAttributeCount); in C_UnwrapKey()
2206 ulAttributeCount); in derive_key_by_value()
2208 attr_count = ulAttributeCount + 1; in derive_key_by_value()
2218 n = ulAttributeCount; in derive_key_by_value()
[all …]
/illumos-gate/usr/src/lib/pkcs11/include/
H A Dpkcs11f.h853 CK_ULONG ulAttributeCount, /* template length */
869 CK_ULONG ulAttributeCount, /* template length */
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dapi_interface.c725 CK_ULONG ulAttributeCount, in C_DeriveKey() argument
741 if (!pTemplate && ulAttributeCount) { in C_DeriveKey()
746 hBaseKey, pTemplate, ulAttributeCount, phKey); in C_DeriveKey()
2095 CK_ULONG ulAttributeCount, in C_UnwrapKey() argument
2113 pTemplate, ulAttributeCount, phKey); in C_UnwrapKey()