Searched refs:VEC_LEN (Results 1 – 11 of 11) sorted by relevance
/freebsd/contrib/bearssl/tools/ |
H A D | files.c | 63 *len = VEC_LEN(vbuf); in read_file() 201 po.data_len = VEC_LEN(bv); in decode_pem() 241 *num = VEC_LEN(pem_list); in decode_pem() 306 if (VEC_LEN(cert_list) == 0) { in read_certificates() 310 *num = VEC_LEN(cert_list); in read_certificates()
|
H A D | ta.c | 217 len1 = VEC_LEN(tas); in do_ta() 221 len2 = VEC_LEN(tas) - len1; in do_ta() 227 num = VEC_LEN(tas); in do_ta()
|
H A D | verify.c | 254 if (VEC_LEN(chain) == 0) { in do_verify() 260 &VEC_ELT(anchors, 0), VEC_LEN(anchors)); in do_verify() 271 for (u = 0; u < VEC_LEN(chain); u ++) { in do_verify()
|
H A D | twrch.c | 778 if (VEC_LEN(alpn_names) != 0) { in do_twrch() 781 VEC_LEN(alpn_names)); in do_twrch() 857 if (is_client || VEC_LEN(anchors) != 0) { in do_twrch() 859 &VEC_ELT(anchors, 0), VEC_LEN(anchors)); in do_twrch() 878 if (VEC_LEN(anchors) == 0) { in do_twrch() 886 &VEC_ELT(anchors, 0), VEC_LEN(anchors)); in do_twrch()
|
H A D | server.c | 1108 if (VEC_LEN(alpn_names) != 0) { in do_server() 1111 VEC_LEN(alpn_names)); in do_server() 1133 if (VEC_LEN(anchors) != 0) { in do_server() 1135 &VEC_ELT(anchors, 0), VEC_LEN(anchors)); in do_server() 1154 &VEC_ELT(anchors, 0), VEC_LEN(anchors)); in do_server()
|
H A D | client.c | 911 &VEC_ELT(anchors, 0), VEC_LEN(anchors)); in do_client() 1019 if (VEC_LEN(anchors) == 0) { in do_client() 1034 if (VEC_LEN(alpn_names) != 0) { in do_client() 1037 VEC_LEN(alpn_names)); in do_client()
|
H A D | brssl.h | 144 #define VEC_LEN(vec) ((vec).ptr) macro
|
H A D | names.c | 978 if (VEC_LEN(suites) == 0) { in parse_suites() 982 *num = VEC_LEN(suites); in parse_suites()
|
H A D | certs.c | 57 ta->dn.len = VEC_LEN(vdn); in certificate_to_trust_anchor_inner()
|
/freebsd/lib/libsecureboot/ |
H A D | brf.c | 194 po.data_len = VEC_LEN(bv); in decode_pem() 233 *num = VEC_LEN(pem_list); in decode_pem() 285 if (VEC_LEN(cert_list) == 0) { in parse_certificates() 288 *num = VEC_LEN(cert_list); in parse_certificates() 359 ta->dn.len = VEC_LEN(vdn); in certificate_to_trust_anchor_inner()
|
H A D | vets.c | 440 once = (int) VEC_LEN(trust_anchors); in ve_trust_init() 503 if (VEC_LEN(chain) == 0) { in verify_signer_xcs() 509 VEC_LEN(*anchors))); in verify_signer_xcs() 513 VEC_LEN(*anchors)); in verify_signer_xcs() 546 for (u = 0; u < VEC_LEN(chain); u ++) { in verify_signer_xcs() 612 if (VEC_LEN(forbidden_digests) == 0) in check_forbidden_digests() 627 for (i = 0; i < VEC_LEN(forbidden_digests); i++) { in check_forbidden_digests() 702 if (VEC_LEN(forbidden_anchors) > 0) in verify_signer()
|