Lines Matching refs:key_st
645 DST_KEY *key_st;
661 if ((key_st = dst_s_get_key_struct(in_name, alg, 0, 0, 0)) == NULL)
664 key_st->dk_id = dst_s_dns_key_id(rdata, len);
665 key_st->dk_flags = dst_s_get_int16(rdata);
666 key_st->dk_proto = (u_int16_t) rdata[DST_KEY_PROT];
667 if (key_st->dk_flags & DST_EXTEND_FLAG) {
670 key_st->dk_flags = key_st->dk_flags | (ext_flags << 16);
677 if (key_st->dk_func && key_st->dk_func->from_dns_key) {
678 if (key_st->dk_func->from_dns_key(key_st, &rdata[start],
680 return (key_st);
685 SAFE_FREE(key_st);
686 return (key_st);