Home
last modified time | relevance | path

Searched refs:extlen (Results 1 – 8 of 8) sorted by relevance

/openssl/crypto/x509/
H A Dv3_prn.c19 static int unknown_ext_print(BIO *out, const unsigned char *ext, int extlen,
77 int extlen; in X509V3_EXT_print() local
84 extlen = ASN1_STRING_length(extoct); in X509V3_EXT_print()
87 return unknown_ext_print(out, p, extlen, flag, indent, 0); in X509V3_EXT_print()
89 ext_str = ASN1_item_d2i(NULL, &p, extlen, ASN1_ITEM_ptr(method->it)); in X509V3_EXT_print()
91 ext_str = method->d2i(NULL, &p, extlen); in X509V3_EXT_print()
94 return unknown_ext_print(out, p, extlen, flag, indent, 1); in X509V3_EXT_print()
179 static int unknown_ext_print(BIO *out, const unsigned char *ext, int extlen, in unknown_ext_print() argument
195 return ASN1_parse_dump(out, ext, extlen, indent, -1); in unknown_ext_print()
197 return BIO_dump_indent(out, (const char *)ext, extlen, indent); in unknown_ext_print()
H A Dv3_lib.c135 int extlen; in X509V3_EXT_d2i() local
141 extlen = ASN1_STRING_length(extvalue); in X509V3_EXT_d2i()
143 return ASN1_item_d2i(NULL, &p, extlen, ASN1_ITEM_ptr(method->it)); in X509V3_EXT_d2i()
144 return method->d2i(NULL, &p, extlen); in X509V3_EXT_d2i()
H A Dx509_req.c168 int extlen; in X509_REQ_add_extensions_nid() local
186 extlen = ASN1_item_i2d((const ASN1_VALUE *) in X509_REQ_add_extensions_nid()
189 if (extlen <= 0) in X509_REQ_add_extensions_nid()
199 rv = X509_REQ_add1_attr_by_NID(req, nid, V_ASN1_SEQUENCE, ext, extlen); in X509_REQ_add_extensions_nid()
/openssl/ssl/
H A Dt1_trce.c755 if (extlen < 1) in ssl_print_extension()
763 if (extlen < 1) in ssl_print_extension()
765 xlen = extlen; in ssl_print_extension()
769 if (extlen < 1) in ssl_print_extension()
777 if (extlen < 2) in ssl_print_extension()
784 if (extlen < 2) in ssl_print_extension()
805 if (extlen < 2) in ssl_print_extension()
824 if (extlen < 1) in ssl_print_extension()
863 if (extlen < 2) in ssl_print_extension()
982 size_t extlen; in ssl_print_extensions() local
[all …]
/openssl/test/helpers/
H A Dquictestlib.c987 size_t *extlen, in qtest_fault_delete_extension() argument
997 if (!PACKET_buf_init(&pkt, ext, *extlen)) in qtest_fault_delete_extension()
1034 if (end < ext + *extlen) in qtest_fault_delete_extension()
1043 newlen = *extlen - 2 - (end - start); in qtest_fault_delete_extension()
1053 *extlen = newlen + 2; in qtest_fault_delete_extension()
H A Dquictestlib.h207 size_t *extlen,
/openssl/ssl/statem/
H A Dextensions_clnt.c393 int extlen = i2d_X509_EXTENSIONS(s->ext.ocsp.exts, NULL); in tls_construct_ctos_status_request() local
395 if (extlen < 0) { in tls_construct_ctos_status_request()
399 if (!WPACKET_allocate_bytes(pkt, extlen, &extbytes) in tls_construct_ctos_status_request()
401 != extlen) { in tls_construct_ctos_status_request()
/openssl/doc/designs/quic-design/
H A Dquic-fault-injector.md340 * On entry |*extlen| contains the length of the extension block. It is updated
345 size_t *extlen);

Completed in 54 milliseconds