Lines Matching defs:usage
210 if (SSL_dane_tlsa_add(to, t->usage, t->selector, t->mtype,
270 uint8_t usage,
290 if (usage > DANETLS_USAGE_LAST) {
322 t->usage = usage;
356 if ((DANETLS_USAGE_BIT(usage) & DANETLS_TA_MASK) == 0) {
363 * For usage DANE-TA(2), we support authentication via "2 0 0" TLSA
365 * not present in the wire chain. For usage PKIX-TA(0), we augment
389 * For usage DANE-TA(2), we support authentication via "2 1 0" TLSA
393 if (usage == DANETLS_USAGE_DANE_TA)
407 * largest, this is accomplished via descending sort by "usage".
419 if (rec->usage > usage)
421 if (rec->usage < usage)
437 dane->umask |= DANETLS_USAGE_BIT(usage);
1112 int SSL_get0_dane_tlsa(SSL *s, uint8_t *usage, uint8_t *selector,
1120 if (usage)
1121 *usage = dane->mtlsa->usage;
1139 int SSL_dane_tlsa_add(SSL *s, uint8_t usage, uint8_t selector,
1142 return dane_tlsa_add(&s->dane, usage, selector, mtype, data, dlen);
3669 * depending on the key usage extension.
3712 /* key usage, if present, must allow signing */
5256 switch (dane->mtlsa->usage) {