dst_api.c | 773 DST_KEY *dkey = NULL; local in function:dst_buffer_to_key 782 dkey = dst_s_get_key_struct(key_name, alg, flags, protocol, -1); 784 if (dkey == NULL || dkey->dk_func == NULL || 785 dkey->dk_func->from_dns_key == NULL) 786 return (dst_free_key(dkey)); 788 if (dkey->dk_func->from_dns_key(dkey, key_buf, key_len) < 0) { 790 return (dst_free_key(dkey)); 793 dnslen = dst_key_to_dnskey(dkey, dns, (int)sizeof(dns)) [all...] |