Searched refs:new_key (Results 1 – 7 of 7) sorted by relevance
/titanic_44/usr/src/lib/libresolv2/common/dst/ |
H A D | dst_api.c | 164 DST_KEY *new_key = NULL; in dst_s_get_key_struct() local 167 new_key = (DST_KEY *) malloc(sizeof(*new_key)); in dst_s_get_key_struct() 168 if (new_key == NULL) in dst_s_get_key_struct() 171 memset(new_key, 0, sizeof(*new_key)); in dst_s_get_key_struct() 172 new_key->dk_key_name = strdup(name); in dst_s_get_key_struct() 173 if (new_key->dk_key_name == NULL) { in dst_s_get_key_struct() 174 free(new_key); in dst_s_get_key_struct() 177 new_key->dk_alg = alg; in dst_s_get_key_struct() 178 new_key->dk_flags = flags; in dst_s_get_key_struct() 179 new_key->dk_proto = protocol; in dst_s_get_key_struct() [all …]
|
/titanic_44/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;
|
/titanic_44/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | sortctrl.c | 246 LDAPsortkey *new_key = NULL; in read_next_token() local 320 new_key = (LDAPsortkey*)NSLDAPI_MALLOC(sizeof(LDAPsortkey)); in read_next_token() 321 if (0 == new_key) { in read_next_token() 326 new_key->sk_attrtype = (char *)NSLDAPI_MALLOC(attrdesc_size + 1); in read_next_token() 328 new_key->sk_matchruleoid = (char *)NSLDAPI_MALLOC( in read_next_token() 331 new_key->sk_matchruleoid = NULL; in read_next_token() 334 memcpy(new_key->sk_attrtype,attrdesc_source,attrdesc_size); in read_next_token() 335 *(new_key->sk_attrtype + attrdesc_size) = '\0'; in read_next_token() 337 memcpy(new_key->sk_matchruleoid,matchrule_source,matchrule_size); in read_next_token() 338 *(new_key->sk_matchruleoid + matchrule_size) = '\0'; in read_next_token() [all …]
|
/titanic_44/usr/src/lib/udapl/libdat/common/ |
H A D | dat_dictionary.c | 77 DAT_PROVIDER_INFO *new_key); 430 DAT_PROVIDER_INFO *new_key) in dat_dictionary_key_dup() argument 433 dat_os_assert(NULL != new_key); in dat_dictionary_key_dup() 435 (void) dat_os_strncpy(new_key->ia_name, old_key->ia_name, in dat_dictionary_key_dup() 437 new_key->dapl_version_major = old_key->dapl_version_major; in dat_dictionary_key_dup() 438 new_key->dapl_version_minor = old_key->dapl_version_minor; in dat_dictionary_key_dup() 439 new_key->is_thread_safe = old_key->is_thread_safe; in dat_dictionary_key_dup()
|
/titanic_44/usr/src/lib/libcommputil/common/ |
H A D | sdp_parse.c | 751 sdp_key_t *new_key; in sdp_parse_key() local 760 new_key = calloc(1, sizeof (sdp_key_t)); in sdp_parse_key() 761 if (new_key == NULL) { in sdp_parse_key() 771 COMMP_COPY_STR(new_key->k_method, begin, current - begin); in sdp_parse_key() 772 if (new_key->k_method == NULL) { in sdp_parse_key() 773 sdp_free_key(new_key); in sdp_parse_key() 783 COMMP_COPY_STR(new_key->k_enckey, current, end - current); in sdp_parse_key() 784 if (new_key->k_enckey == NULL) { in sdp_parse_key() 785 sdp_free_key(new_key); in sdp_parse_key() 790 *key = new_key; in sdp_parse_key() [all …]
|
/titanic_44/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()
|
/titanic_44/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | winreg_svc.c | 429 goto new_key; in winreg_s_CreateKey() 448 new_key: in winreg_s_CreateKey()
|