Searched refs:new_key (Results 1 – 8 of 8) sorted by relevance
/illumos-gate/usr/src/lib/libresolv2/common/dst/ |
H A D | dst_api.c | 160 DST_KEY *new_key = NULL; in dst_s_get_key_struct() local 163 new_key = (DST_KEY *) malloc(sizeof(*new_key)); in dst_s_get_key_struct() 164 if (new_key == NULL) in dst_s_get_key_struct() 167 memset(new_key, 0, sizeof(*new_key)); in dst_s_get_key_struct() 168 new_key->dk_key_name = strdup(name); in dst_s_get_key_struct() 169 if (new_key->dk_key_name == NULL) { in dst_s_get_key_struct() 170 free(new_key); in dst_s_get_key_struct() 173 new_key->dk_alg = alg; in dst_s_get_key_struct() 174 new_key->dk_flags = flags; in dst_s_get_key_struct() 175 new_key->dk_proto = protocol; in dst_s_get_key_struct() [all …]
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/ |
H A D | copy_key.c | 95 krb5_keyblock *new_key; local 97 if (!(new_key = (krb5_keyblock *) MALLOC(sizeof(krb5_keyblock)))) 100 if (!(new_key->contents = (krb5_octet *)MALLOC(from->length))) { 101 FREE(new_key, sizeof(krb5_keyblock)); 105 ret = krb5_copy_keyblock_data(context, from, new_key); 107 krb5_free_keyblock(context, new_key); 111 *to = new_key;
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | sortctrl.c | 244 LDAPsortkey *new_key = NULL; in read_next_token() local 318 new_key = (LDAPsortkey*)NSLDAPI_MALLOC(sizeof(LDAPsortkey)); in read_next_token() 319 if (0 == new_key) { in read_next_token() 324 new_key->sk_attrtype = (char *)NSLDAPI_MALLOC(attrdesc_size + 1); in read_next_token() 326 new_key->sk_matchruleoid = (char *)NSLDAPI_MALLOC( in read_next_token() 329 new_key->sk_matchruleoid = NULL; in read_next_token() 332 memcpy(new_key->sk_attrtype,attrdesc_source,attrdesc_size); in read_next_token() 333 *(new_key->sk_attrtype + attrdesc_size) = '\0'; in read_next_token() 335 memcpy(new_key->sk_matchruleoid,matchrule_source,matchrule_size); in read_next_token() 336 *(new_key->sk_matchruleoid + matchrule_size) = '\0'; in read_next_token() [all …]
|
/illumos-gate/usr/src/lib/udapl/libdat/common/ |
H A D | dat_dictionary.c | 79 DAT_PROVIDER_INFO *new_key); 433 DAT_PROVIDER_INFO *new_key) in dat_dictionary_key_dup() argument 436 dat_os_assert(NULL != new_key); in dat_dictionary_key_dup() 438 (void) dat_os_strncpy(new_key->ia_name, old_key->ia_name, in dat_dictionary_key_dup() 440 new_key->dapl_version_major = old_key->dapl_version_major; in dat_dictionary_key_dup() 441 new_key->dapl_version_minor = old_key->dapl_version_minor; in dat_dictionary_key_dup() 442 new_key->is_thread_safe = old_key->is_thread_safe; in dat_dictionary_key_dup()
|
/illumos-gate/usr/src/lib/libcommputil/common/ |
H A D | sdp_parse.c | 749 sdp_key_t *new_key; in sdp_parse_key() local 758 new_key = calloc(1, sizeof (sdp_key_t)); in sdp_parse_key() 759 if (new_key == NULL) { in sdp_parse_key() 769 COMMP_COPY_STR(new_key->k_method, begin, current - begin); in sdp_parse_key() 770 if (new_key->k_method == NULL) { in sdp_parse_key() 771 sdp_free_key(new_key); in sdp_parse_key() 781 COMMP_COPY_STR(new_key->k_enckey, current, end - current); in sdp_parse_key() 782 if (new_key->k_enckey == NULL) { in sdp_parse_key() 783 sdp_free_key(new_key); in sdp_parse_key() 788 *key = new_key; in sdp_parse_key() [all …]
|
/illumos-gate/usr/src/uts/common/crypto/api/ |
H A D | kcf_keys.c | 201 crypto_object_id_t *new_key, crypto_call_req_t *crq) in crypto_key_derive() argument 221 attrs, count, new_key, KCF_SWFP_RHNDL(crq)); in crypto_key_derive() 225 attrs, count, new_key, NULL, 0, NULL, base_key, NULL, NULL); in crypto_key_derive()
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | winreg_svc.c | 430 goto new_key; in winreg_s_CreateKey() 449 new_key: in winreg_s_CreateKey()
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_crypto.c | 259 boolean_t new_key, const char *fsname, in libzfs_getpassphrase() argument 287 new_key ? "new " : "", in libzfs_getpassphrase()
|