/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softCrypt.h | 51 CK_KEY_TYPE key_type; /* used to determine DES or DES3 */ member in struct:soft_des_ctx
|
H A D | softKeystore.h | 46 uint64_t key_type; member in struct:ks_obj_hdr
|
H A D | softKeysUtil.c | 64 CK_OBJECT_CLASS class, CK_KEY_TYPE key_type, CK_ULONG keylen, CK_ULONG mode, 82 rv = soft_build_key(pTemplate, ulCount, new_objp, class, key_type, 159 CK_KEY_TYPE key_type; local 169 key_type = CKK_DES; 173 key_type = CKK_DES2; 177 key_type = CKK_DES3; 181 key_type = CKK_AES; 185 key_type = CKK_BLOWFISH; 189 key_type = CKK_RC4; 198 key_type 62 soft_gen_keyobject(CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount, CK_ULONG *objecthandle_p, soft_session_t *sp, CK_OBJECT_CLASS class, CK_KEY_TYPE key_type, CK_ULONG keylen, CK_ULONG mode, boolean_t internal) argument 424 CK_KEY_TYPE key_type; local [all...] |
H A D | softAttributeUtil.c | 1028 CK_KEY_TYPE keytype = object_p->key_type; 1285 soft_object_t *new_object, CK_ULONG mode, CK_KEY_TYPE key_type) 1550 keytype = key_type; 1553 if ((mode == SOFT_GEN_KEY) && (keytype != key_type)) { 1562 new_object->key_type = keytype; 1851 soft_object_t *new_object, CK_ULONG mode, CK_KEY_TYPE key_type) 2198 keytype = key_type; 2211 if (keytype != key_type) { 2220 * implied by the mechanism (key_type), so if it is not 2230 new_object->key_type 1284 soft_build_public_key_object(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, soft_object_t *new_object, CK_ULONG mode, CK_KEY_TYPE key_type) argument 1850 soft_build_private_key_object(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, soft_object_t *new_object, CK_ULONG mode, CK_KEY_TYPE key_type) argument 2518 soft_build_secret_key_object(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, soft_object_t *new_object, CK_ULONG mode, CK_ULONG key_len, CK_KEY_TYPE key_type) argument 3662 soft_build_key(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, soft_object_t *new_object, CK_OBJECT_CLASS class, CK_KEY_TYPE key_type, CK_ULONG key_len, CK_ULONG mode) argument 5745 free_public_key_attr(public_key_obj_t *pbk, CK_KEY_TYPE key_type) argument 5783 soft_copy_public_key_attr(public_key_obj_t *old_pub_key_obj_p, public_key_obj_t **new_pub_key_obj_p, CK_KEY_TYPE key_type) argument 5939 free_private_key_attr(private_key_obj_t *pbk, CK_KEY_TYPE key_type) argument 5983 soft_copy_private_key_attr(private_key_obj_t *old_pri_key_obj_p, private_key_obj_t **new_pri_key_obj_p, CK_KEY_TYPE key_type) argument 6180 free_domain_attr(domain_obj_t *domain, CK_KEY_TYPE key_type) argument 6208 soft_copy_domain_attr(domain_obj_t *old_domain_obj_p, domain_obj_t **new_domain_obj_p, CK_KEY_TYPE key_type) argument [all...] |
H A D | softObject.h | 299 CK_KEY_TYPE key_type; member in struct:object 814 CK_ULONG key_len, CK_KEY_TYPE key_type); 845 public_key_obj_t **new_pub_key_obj_p, CK_KEY_TYPE key_type); 848 private_key_obj_t **new_pri_key_obj_p, CK_KEY_TYPE key_type); 854 domain_obj_t **new_domain_obj_p, CK_KEY_TYPE key_type);
|
/illumos-gate/usr/src/common/crypto/dh/ |
H A D | dh_impl.c | 250 dh_key_derive(DHbytekey *bkey, uint32_t key_type, /* = CKK_KEY_TYPE */ argument 344 switch (key_type) {
|
/illumos-gate/usr/src/uts/common/io/comstar/port/iscsit/ |
H A D | iscsit_authclient.c | 45 int key_type, 50 ASSERT(key_type < AUTH_KEY_TYPE_MAX); 52 p = &keyBlock->key[key_type]; 59 int key_type, 64 ASSERT(key_type < AUTH_KEY_TYPE_MAX); 66 p = &keyBlock->key[key_type]; 73 int key_type, 78 ASSERT(key_type < AUTH_KEY_TYPE_MAX); 80 p = &keyBlock->key[key_type]; 88 int key_type, 44 client_set_numeric_data(auth_key_block_t *keyBlock, int key_type, uint32_t numeric) argument 58 client_set_string_data(auth_key_block_t *keyBlock, int key_type, char *string) argument 72 client_set_binary_data(auth_key_block_t *keyBlock, int key_type, unsigned char *binary, unsigned int len) argument 87 client_get_numeric_data(auth_key_block_t *keyBlock, int key_type, uint32_t *numeric) argument 100 client_get_string_data(auth_key_block_t *keyBlock, int key_type, char **string) argument 113 client_get_binary_data(auth_key_block_t *keyBlock, int key_type, unsigned char **binary, unsigned int *len) argument 127 client_auth_key_present(auth_key_block_t *keyBlock, int key_type) argument [all...] |
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/ |
H A D | pkcs11SUNWExtensions.c | 379 CK_KEY_TYPE key_type, CK_ULONG key_len, CK_FLAGS key_flags, 403 if (key_type == asym_key_type) { 416 if (key_type == fixed_size_secrets[i].type) { 460 template[i].pValue = &key_type; 461 template[i].ulValueLen = sizeof (key_type); 563 size_t passphrase_len, void *salt, size_t salt_len, CK_KEY_TYPE key_type, 570 salt, salt_len, CK_PKCS5_PBKD2_ITERATIONS, key_type, key_len, 0, 377 pkcs11_PasswdToPBKD2Object(CK_SESSION_HANDLE hSession, char *passphrase, size_t passphrase_len, void *salt, size_t salt_len, CK_ULONG iterations, CK_KEY_TYPE key_type, CK_ULONG key_len, CK_FLAGS key_flags, CK_OBJECT_HANDLE_PTR obj) argument 562 pkcs11_PasswdToKey(CK_SESSION_HANDLE hSession, char *passphrase, size_t passphrase_len, void *salt, size_t salt_len, CK_KEY_TYPE key_type, CK_ULONG key_len, void **rawkey, size_t *rawkey_len) argument
|
H A D | metaObjectManager.c | 43 CK_KEY_TYPE key_type; /* key type of key for wrap/unwrap */ member in struct:_wrap_info 894 keytype = wrap_info->key_type; 1075 get_wrap_mechanism(CK_OBJECT_CLASS obj_class, CK_KEY_TYPE key_type, argument 1088 if ((obj_class == CKO_PRIVATE_KEY) && (key_type == CKK_KEA)) { 1142 if ((key_type == CKK_SKIPJACK) || (key_type == CKK_BATON) || 1143 (key_type == CKK_JUNIPER)) { 1252 CK_KEY_TYPE key_type; local 1279 unwrap_template[1].pValue = &key_type; 1280 unwrap_template[1].ulValueLen = sizeof (key_type); [all...] |
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/include/ |
H A D | license.h | 63 u8_t key_type; member in struct:_license_key_b 131 u8_t key_type; member in struct:_license_key_l
|
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | efx_lic.c | 1155 uint8_t key_type; local 1164 key_type = ((uint8_t*)keyp)[0]; 1170 if (key_type < 3) {
|
/illumos-gate/usr/src/cmd/sendmail/db/hash/ |
H A D | hash_page.c | 1251 int key_type, data_type; local 1317 key_type = H_OFFPAGE; 1320 key_type = H_KEYDATA; 1359 __ham_putitem(hcp->pagep, pkey, key_type);
|
/illumos-gate/usr/src/cmd/isns/isnsd/ |
H A D | func.c | 850 isns_type_t key_type; local 910 ec = get_qry_keys(nodes_bmp, num_of_nodes, &key_type, 932 ec = get_qry_ops(key_uid, key_type, 1020 isns_type_t key_type; local 1051 key_type = TLV2TYPE(key); 1052 if (key_type == 0) { 1056 ec = validate_qry_key(key_type, key, key_len, NULL); 1068 if (op_type != key_type) { 1076 key_type, &obj_uids, &num_of_obj, &size_of_obj); 1086 uid = get_next_obj(key, key_len, key_type, obj_uid [all...] |
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelAttributeUtil.c | 828 CK_KEY_TYPE keytype = object_p->key_type; 1229 new_object->key_type = keytype; 1673 new_object->key_type = keytype; 2012 new_object->key_type = keytype; 2272 return (get_ulong_attr_from_object(object_p->key_type, 2314 CK_KEY_TYPE keytype = object_p->key_type; 2468 CK_KEY_TYPE keytype = object_p->key_type; 2713 CK_KEY_TYPE keytype = object_p->key_type; 2975 CK_KEY_TYPE keytype = object_p->key_type; 3041 CK_KEY_TYPE keytype = object_p->key_type; 3286 free_public_key_attr(public_key_obj_t *pbk, CK_KEY_TYPE key_type) argument 3311 kernel_copy_public_key_attr(public_key_obj_t *old_pub_key_obj_p, public_key_obj_t **new_pub_key_obj_p, CK_KEY_TYPE key_type) argument 3389 free_private_key_attr(private_key_obj_t *pbk, CK_KEY_TYPE key_type) argument 3419 kernel_copy_private_key_attr(private_key_obj_t *old_pri_key_obj_p, private_key_obj_t **new_pri_key_obj_p, CK_KEY_TYPE key_type) argument [all...] |
H A D | kernelKeys.c | 147 ulong_t key_type; local 152 get_ulong_attr_from_template(&key_type, &pTemplate[i]); 160 switch (key_type) { 540 CK_ULONG key_type; local 599 key_type = CKK_RSA; 600 pubTemplate[n].pValue = (caddr_t)&key_type; 601 pubTemplate[n].ulValueLen = sizeof (key_type); 681 key_type = CKK_RSA; 682 priTemplate[n].pValue = (caddr_t)&key_type; 683 priTemplate[n].ulValueLen = sizeof (key_type); 867 CK_ULONG key_type; local 1151 CK_ULONG key_type; local [all...] |
H A D | kernelObject.h | 193 CK_KEY_TYPE key_type; member in struct:object 562 public_key_obj_t **new_pub_key_obj_p, CK_KEY_TYPE key_type); 565 private_key_obj_t **new_pri_key_obj_p, CK_KEY_TYPE key_type);
|
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | ecc.c | 1178 ulong_t key_type; local 1204 CKA_KEY_TYPE, &key_type)) != CRYPTO_SUCCESS) { 1208 switch (key_type) {
|
H A D | dprov.c | 7430 ulong_t key_type = ~0UL, class = ~0UL; local 7447 DPROV_CKA_KEY_TYPE, &key_type); 7456 if (key_type != ~0UL && key_type != DPROV_CKK_DES) { 7461 key_type = DPROV_CKK_DES; 7465 if (key_type != ~0UL && key_type != DPROV_CKK_DES3) { 7470 key_type = DPROV_CKK_DES3; 7474 if (key_type != ~0UL && key_type ! 8048 ulong_t key_type; local 8367 ulong_t key_type; local 8821 ulong_t key_type; local 9009 ulong_t key_type, class; local [all...] |
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | tpm_specific.c | 769 CK_ULONG class, key_type; local 787 key_type = *((CK_ULONG *)attr->pValue); 789 if (key_type != CKK_RSA) { 1252 int key_type, CK_CHAR_PTR passHash, TSS_HKEY *phKey) 1262 switch (key_type) { 1274 stlogit("Unknown key type 0x%0x", key_type); 1251 token_generate_leaf_key(TSS_HCONTEXT hContext, int key_type, CK_CHAR_PTR passHash, TSS_HKEY *phKey) argument
|
/illumos-gate/usr/src/uts/common/sys/usb/usba/ |
H A D | wusba.h | 115 key_type :2, member in struct:wusb_key 121 key_type :2,
|