Lines Matching refs:codepoint
857 int codepoint = -1; in tls_dane_digest_init() local
880 codepoint = l; in tls_dane_digest_init()
883 if (codepoint > maxtype) { in tls_dane_digest_init()
884 while (++maxtype < codepoint) in tls_dane_digest_init()
885 mtypes[codepoint].alg = NULL; in tls_dane_digest_init()
886 maxtype = codepoint; in tls_dane_digest_init()
891 if (codepoint < 0) in tls_dane_digest_init()
893 mtypes[codepoint].alg = NULL; in tls_dane_digest_init()
896 switch (codepoint) { in tls_dane_digest_init()
899 codepoint = 1; /* SHA2-256(1) */ in tls_dane_digest_init()
901 codepoint = 2; /* SHA2-512(2) */ in tls_dane_digest_init()
928 if (mtypes[codepoint].ord != 0) { in tls_dane_digest_init()
930 VAR_TLS_DANE_DIGESTS, codepoint); in tls_dane_digest_init()
933 mtypes[codepoint].ord = ++ord; in tls_dane_digest_init()
935 if ((mtypes[codepoint].alg = tls_digest_byname(algname, NULL)) == 0) { in tls_dane_digest_init()
937 VAR_TLS_DANE_DIGESTS, algname, codepoint); in tls_dane_digest_init()