Lines Matching defs:conf
123 static void createkey (const char *keyname, const dki_t *list, const zconf_t *conf);
124 static void ksk_roll (const char *keyname, int phase, const dki_t *list, const zconf_t *conf);
393 static void createkey (const char *keyname, const dki_t *list, const zconf_t *conf)
413 memcpy (&localconf, conf, sizeof (zconf_t));
414 conf = loadconfig (path, &localconf);
419 dkp = dki_new (dir, keyname, DKI_ZSK, conf->k_algo, conf->z_bits, conf->z_random, conf->z_life / DAYSEC);
421 dkp = dki_new (dir, keyname, DKI_KSK, conf->k_algo, conf->k_bits, conf->k_random, conf->k_life / DAYSEC);
445 static void ksk_roll (const char *keyname, int phase, const dki_t *list, const zconf_t *conf)
507 memcpy (&localconf, conf, sizeof (zconf_t));
508 conf = loadconfig (path, &localconf);
510 key_ttl = conf->key_ttl;
558 dkp = dki_new (dir, keyname, DKI_KSK, conf->k_algo, conf->k_bits, conf->k_random, conf->k_life / DAYSEC);
568 if ( (dkp = (dki_t *)dki_findalgo (keylist, 1, conf->k_algo, 'a', 1)) == NULL ) /* find the oldest active ksk to create the parent file */
581 if ( parent_age < conf->proptime + key_ttl )
583 conf->proptime + key_ttl - parent_age,
584 str_delspace (age2str (conf->proptime + key_ttl - parent_age)));