Lines Matching refs:newkey
81 ldns_key *newkey; in ldns_key_new() local
83 newkey = LDNS_MALLOC(ldns_key); in ldns_key_new()
84 if (!newkey) { in ldns_key_new()
88 ldns_key_set_use(newkey, true); in ldns_key_new()
89 ldns_key_set_flags(newkey, LDNS_KEY_ZONE_KEY); in ldns_key_new()
90 ldns_key_set_origttl(newkey, 0); in ldns_key_new()
91 ldns_key_set_keytag(newkey, 0); in ldns_key_new()
92 ldns_key_set_inception(newkey, 0); in ldns_key_new()
93 ldns_key_set_expiration(newkey, 0); in ldns_key_new()
94 ldns_key_set_pubkey_owner(newkey, NULL); in ldns_key_new()
96 ldns_key_set_evp_key(newkey, NULL); in ldns_key_new()
98 ldns_key_set_hmac_key(newkey, NULL); in ldns_key_new()
99 ldns_key_set_external_key(newkey, NULL); in ldns_key_new()
100 return newkey; in ldns_key_new()