Searched defs:new_key (Results 1 - 7 of 7) sorted by relevance

/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/
H A Dcopy_key.c95 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 Dsortctrl.c246 LDAPsortkey *new_key = NULL; local
320 new_key = (LDAPsortkey*)NSLDAPI_MALLOC(sizeof(LDAPsortkey));
321 if (0 == new_key) {
326 new_key->sk_attrtype = (char *)NSLDAPI_MALLOC(attrdesc_size + 1);
328 new_key->sk_matchruleoid = (char *)NSLDAPI_MALLOC(
331 new_key->sk_matchruleoid = NULL;
334 memcpy(new_key->sk_attrtype,attrdesc_source,attrdesc_size);
335 *(new_key->sk_attrtype + attrdesc_size) = '\0';
337 memcpy(new_key->sk_matchruleoid,matchrule_source,matchrule_size);
338 *(new_key
[all...]
/illumos-gate/usr/src/uts/common/crypto/api/
H A Dkcf_keys.c201 crypto_object_id_t *new_key, crypto_call_req_t *crq)
221 attrs, count, new_key, KCF_SWFP_RHNDL(crq));
225 attrs, count, new_key, NULL, 0, NULL, base_key, NULL, NULL);
198 crypto_key_derive(crypto_provider_t provider, crypto_session_id_t sid, crypto_mechanism_t *mech, crypto_key_t *base_key, crypto_object_attribute_t *attrs, uint_t count, crypto_object_id_t *new_key, crypto_call_req_t *crq) argument
/illumos-gate/usr/src/lib/udapl/libdat/common/
H A Ddat_dictionary.c77 DAT_PROVIDER_INFO *new_key);
430 DAT_PROVIDER_INFO *new_key)
433 dat_os_assert(NULL != new_key);
435 (void) dat_os_strncpy(new_key->ia_name, old_key->ia_name,
437 new_key->dapl_version_major = old_key->dapl_version_major;
438 new_key->dapl_version_minor = old_key->dapl_version_minor;
439 new_key->is_thread_safe = old_key->is_thread_safe;
428 dat_dictionary_key_dup( const DAT_PROVIDER_INFO *old_key, DAT_PROVIDER_INFO *new_key) argument
/illumos-gate/usr/src/lib/libcommputil/common/
H A Dsdp_parse.c751 sdp_key_t *new_key; local
760 new_key = calloc(1, sizeof (sdp_key_t));
761 if (new_key == NULL) {
771 COMMP_COPY_STR(new_key->k_method, begin, current - begin);
772 if (new_key->k_method == NULL) {
773 sdp_free_key(new_key);
783 COMMP_COPY_STR(new_key->k_enckey, current, end - current);
784 if (new_key->k_enckey == NULL) {
785 sdp_free_key(new_key);
790 *key = new_key;
[all...]
/illumos-gate/usr/src/lib/libresolv2/common/dst/
H A Ddst_api.c164 DST_KEY *new_key = NULL; local
167 new_key = (DST_KEY *) malloc(sizeof(*new_key));
168 if (new_key == NULL)
171 memset(new_key, 0, sizeof(*new_key));
172 new_key->dk_key_name = strdup(name);
173 if (new_key->dk_key_name == NULL) {
174 free(new_key);
177 new_key
954 DST_KEY *new_key = NULL; local
[all...]
/illumos-gate/usr/src/uts/common/sys/lvm/
H A Dmdio.h823 mdkey_t new_key; /* replace only uses this */ member in struct:replace_params

Completed in 77 milliseconds