Lines Matching defs:scheme

1808 	uint32_t* serial, int* scheme, int* hashalgo, uint8_t** hash,
1817 return 0; /* too short, for rdlen+serial+scheme+algo */
1820 *scheme = rdata[6];
1830 * See if the ZONEMD scheme, hash occurs more than once.
1833 * scheme and hashalgo, but other RRs should not have it.
1834 * @param scheme: the scheme to check for.
1839 size_t index, int scheme, int hashalgo)
1856 if(scheme == scheme2 && hashalgo == hashalgo2) {
1857 /* duplicate scheme, hash */
1858 verbose(VERB_ALGO, "zonemd duplicate for scheme %d "
1859 "and hash %d", scheme, hashalgo);
1910 int scheme = 0, hashalgo = 0;
1913 if(!zonemd_fetch_parameters(zonemd_rrset, i, &serial, &scheme,
1921 if(zonemd_is_duplicate_scheme_hash(zonemd_rrset, i, scheme,
1923 /* duplicate hash of the same scheme,hash
1926 "with the same scheme and hash algorithm";
1937 if(auth_zone_generate_zonemd_check(z, scheme, hashalgo,
1947 verbose(VERB_ALGO, "auth-zone %s ZONEMD %d %d is unsupported: %s", zstr, (int)scheme, (int)hashalgo, *reason);
7316 int zonemd_scheme_supported(int scheme)
7318 if(scheme == ZONEMD_SCHEME_SIMPLE) return 1;
7442 /** collate the RRs in an RRset using the simple scheme */
7572 /** collate the RRSIGs using the simple scheme */
7628 /** collate a domain's rrsets using the simple scheme */
7663 /** collate the zone using the simple scheme */
7679 int auth_zone_generate_zonemd_hash(struct auth_zone* z, int scheme,
7689 if(scheme == ZONEMD_SCHEME_SIMPLE) {
7691 if(!*reason) *reason = "scheme simple collate fail";
7706 int auth_zone_generate_zonemd_check(struct auth_zone* z, int scheme,
7718 if(!zonemd_scheme_supported(scheme)) {
7720 *reason = "unsupported scheme";
7729 if(!auth_zone_generate_zonemd_hash(z, scheme, hashalgo, gen,
7738 verbose(VERB_ALGO, "zonemd scheme=%d hashalgo=%d",
7739 scheme, hashalgo);
7749 verbose(VERB_ALGO, "zonemd scheme=%d hashalgo=%d",
7750 scheme, hashalgo);