Home
last modified time | relevance | path

Searched refs:dkey (Results 1 – 6 of 6) sorted by relevance

/titanic_41/usr/src/lib/libresolv2/common/dst/
H A Dhmac_link.c226 dst_buffer_to_hmac_md5(DST_KEY *dkey, const u_char *key, const int keylen) in dst_buffer_to_hmac_md5() argument
234 if (dkey == NULL || key == NULL || keylen < 0) in dst_buffer_to_hmac_md5()
261 dkey->dk_key_size = local_keylen; in dst_buffer_to_hmac_md5()
262 dkey->dk_KEY_struct = (void *) hkey; in dst_buffer_to_hmac_md5()
281 dst_hmac_md5_key_to_file_format(const DST_KEY *dkey, char *buff, in dst_hmac_md5_key_to_file_format() argument
289 if (dkey == NULL || dkey->dk_KEY_struct == NULL) in dst_hmac_md5_key_to_file_format()
298 hkey = (HMAC_Key *) dkey->dk_KEY_struct; in dst_hmac_md5_key_to_file_format()
344 dst_hmac_md5_key_from_file_format(DST_KEY *dkey, const char *buff, in dst_hmac_md5_key_from_file_format() argument
355 if (dkey == NULL) in dst_hmac_md5_key_from_file_format()
377 if (dst_buffer_to_hmac_md5(dkey, key, key_len) < 0) { in dst_hmac_md5_key_from_file_format()
H A Ddst_api.c765 DST_KEY *dkey = NULL; in dst_buffer_to_key() local
774 dkey = dst_s_get_key_struct(key_name, alg, flags, protocol, -1); in dst_buffer_to_key()
776 if (dkey == NULL || dkey->dk_func == NULL || in dst_buffer_to_key()
777 dkey->dk_func->from_dns_key == NULL) in dst_buffer_to_key()
778 return (dst_free_key(dkey)); in dst_buffer_to_key()
780 if (dkey->dk_func->from_dns_key(dkey, key_buf, key_len) < 0) { in dst_buffer_to_key()
782 return (dst_free_key(dkey)); in dst_buffer_to_key()
785 dnslen = dst_key_to_dnskey(dkey, dns, sizeof(dns)); in dst_buffer_to_key()
786 dkey->dk_id = dst_s_dns_key_id(dns, dnslen); in dst_buffer_to_key()
787 return (dkey); in dst_buffer_to_key()
/titanic_41/usr/src/uts/common/io/
H A Dcryptmod.c807 int constlen, char *dkey, int keybytes, in derive_key() argument
873 bcopy(rawkey+(i*7), dkey+(i*8), 7); in derive_key()
876 dkey[i*8+7] = (((dkey[i*8]&1)<<1) | in derive_key()
877 ((dkey[i*8+1]&1)<<2) | in derive_key()
878 ((dkey[i*8+2]&1)<<3) | in derive_key()
879 ((dkey[i*8+3]&1)<<4) | in derive_key()
880 ((dkey[i*8+4]&1)<<5) | in derive_key()
881 ((dkey[i*8+5]&1)<<6) | in derive_key()
882 ((dkey[i*8+6]&1)<<7)); in derive_key()
885 dkey[i*8 + n] &= 0xfe; in derive_key()
[all …]
H A Ddevinfo.c182 struct di_dkey dkey; member
1189 ptr = dik->k_u.dkey.dk_dip; in di_hash_byptr()
1289 return (di_dkey_cmp(&(dik1->k_u.dkey), &(dik2->k_u.dkey))); in di_key_cmp()
2593 dk = &(key->k_u.dkey); in di_register_dip()
2628 dk = &(key.k_u.dkey); in di_dip_find()
/titanic_41/usr/src/cmd/ldap/ns_ldap/
H A Didsconfig.sh876 dkey=`${ECHO} $ck_DN | cut -d'=' -f1`
879 check_attrName $dkey
881 [ $DEBUG -eq 1 ] && ${ECHO} "check_baseDN: invalid key=${dkey}"
885 [ $DEBUG -eq 1 ] && ${ECHO} "check_baseDN: valid key=${dkey}"
/titanic_41/usr/src/uts/common/dtrace/
H A Ddtrace.c1717 dtrace_key_t *dkey = &dtuple->dtt_key[0]; in dtrace_dynvar() local
1758 for (i = 0; i < nkeys; i++, dkey++) { in dtrace_dynvar()
1759 if (dkey->dttk_size != key[i].dttk_size) in dtrace_dynvar()
1762 if (dkey->dttk_size != 0) { in dtrace_dynvar()
1765 (void *)(uintptr_t)dkey->dttk_value, in dtrace_dynvar()
1766 dkey->dttk_size)) in dtrace_dynvar()
1769 if (dkey->dttk_value != key[i].dttk_value) in dtrace_dynvar()
2012 dtrace_key_t *dkey = &dvar->dtdv_tuple.dtt_key[i]; in dtrace_dynvar() local
2019 dkey->dttk_value = kdata; in dtrace_dynvar()
2022 dkey->dttk_value = key[i].dttk_value; in dtrace_dynvar()
[all …]