Searched refs:kssl_params (Results 1 – 3 of 3) sorted by relevance
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/kssl/kssladm/ |
H A D | kssladm_create.c | 94 kssl_params_t *kssl_params; in kmf_to_kssl() local 192 kssl_params = (kssl_params_t *)buf; in kmf_to_kssl() 194 buf = (char *)(kssl_params + 1); in kmf_to_kssl() 198 key = &kssl_params->kssl_privkey; in kmf_to_kssl() 201 key->ks_attrs_offset = buf - (char *)kssl_params; in kmf_to_kssl() 212 buf - (char *)kssl_params; in kmf_to_kssl() 226 kssl_params->kssl_is_nxkey = 1; in kmf_to_kssl() 227 bcopy(tlabel, kssl_params->kssl_token.toklabel, in kmf_to_kssl() 229 kssl_params->kssl_token.pinlen = creds->credlen; in kmf_to_kssl() 230 kssl_params->kssl_token.tokpin_offset = in kmf_to_kssl() [all …]
|
/titanic_41/usr/src/uts/common/inet/kssl/ |
H A D | ksslioctl.c | 187 extract_certificate(kssl_params_t *kssl_params, Certificate_t **certpp) in extract_certificate() argument 195 char *begin = (char *)kssl_params; in extract_certificate() 200 ASSERT(kssl_params); in extract_certificate() 202 in_size = kssl_params->kssl_params_size; in extract_certificate() 203 end_pos = (uchar_t *)kssl_params + in_size; in extract_certificate() 209 ncert = kssl_params->kssl_certs.sc_count; in extract_certificate() 221 kssl_params->kssl_certs.sc_sizes_offset); in extract_certificate() 247 kssl_params->kssl_certs.sc_certs_offset); in extract_certificate() 278 extract_private_key(kssl_params_t *kssl_params, crypto_key_t **privkey) in extract_private_key() argument 280 char *begin = (char *)kssl_params; in extract_private_key() [all …]
|
H A D | kssl.c | 304 kssl_params_t *kssl_params; in kssl_ioctl() local 316 kssl_params = kmem_alloc(len, KM_SLEEP); in kssl_ioctl() 319 if (copyin(ARG, kssl_params, len) != 0) { in kssl_ioctl() 320 kmem_free(kssl_params, len); in kssl_ioctl() 323 error = kssl_add_entry(kssl_params); in kssl_ioctl() 325 audit_kssl(KSSL_ADD_ENTRY, kssl_params, error); in kssl_ioctl() 328 ck_rv = kssl_params->kssl_token.ck_rv; in kssl_ioctl() 333 bzero(kssl_params, len); in kssl_ioctl() 334 kmem_free(kssl_params, len); in kssl_ioctl()
|