Home
last modified time | relevance | path

Searched refs:ex (Results 1 – 25 of 36) sorted by relevance

12

/openssl/ssl/quic/
H A Dquic_txpim.c96 if (ex != NULL) in txpim_get_free()
97 return ex; in txpim_get_free()
99 ex = OPENSSL_zalloc(sizeof(*ex)); in txpim_get_free()
100 if (ex == NULL) in txpim_get_free()
104 return ex; in txpim_get_free()
109 memset(&ex->public.ackm_pkt, 0, sizeof(ex->public.ackm_pkt)); in txpim_clear()
125 if (ex == NULL) in ossl_quic_txpim_pkt_alloc()
128 txpim_clear(ex); in ossl_quic_txpim_pkt_alloc()
131 return &ex->public; in ossl_quic_txpim_pkt_alloc()
165 if (ex->num_chunks == ex->alloc_chunks) { in ossl_quic_txpim_pkt_append_chunk()
[all …]
H A Dquic_cfq.c31 return ex->frame_type; in ossl_quic_cfq_item_get_frame_type()
38 return ex->encoded; in ossl_quic_cfq_item_get_encoded()
45 return ex->encoded_len; in ossl_quic_cfq_item_get_encoded_len()
52 return ex->state; in ossl_quic_cfq_item_get_state()
59 return ex->pn_space; in ossl_quic_cfq_item_get_pn_space()
321 clear_item(ex); in ossl_quic_cfq_release()
326 clear_item(ex); in ossl_quic_cfq_release()
352 if (ex == NULL) in ossl_quic_cfq_item_get_priority_next()
355 ex = ex->next; in ossl_quic_cfq_item_get_priority_next()
357 for (; ex != NULL && ex->pn_space != pn_space; ex = ex->next); in ossl_quic_cfq_item_get_priority_next()
[all …]
/openssl/crypto/x509/
H A Dx509_v3.c45 X509_EXTENSION *ex; in X509v3_get_ext_by_OBJ() local
199 if ((ex == NULL) || (*ex == NULL)) { in X509_EXTENSION_create_by_OBJ()
205 ret = *ex; in X509_EXTENSION_create_by_OBJ()
214 if ((ex != NULL) && (*ex == NULL)) in X509_EXTENSION_create_by_OBJ()
215 *ex = ret; in X509_EXTENSION_create_by_OBJ()
218 if ((ex == NULL) || (ret != *ex)) in X509_EXTENSION_create_by_OBJ()
234 if (ex == NULL) in X509_EXTENSION_set_critical()
244 if (ex == NULL) in X509_EXTENSION_set_data()
254 if (ex == NULL) in X509_EXTENSION_get_object()
261 if (ex == NULL) in X509_EXTENSION_get_data()
[all …]
H A Dx509_ext.c61 int X509_CRL_add_ext(X509_CRL *x, X509_EXTENSION *ex, int loc) in X509_CRL_add_ext() argument
63 return (X509v3_add_ext(&(x->crl.extensions), ex, loc) != NULL); in X509_CRL_add_ext()
97 int X509_add_ext(X509 *x, X509_EXTENSION *ex, int loc) in X509_add_ext() argument
99 return (X509v3_add_ext(&(x->cert_info.extensions), ex, loc) != NULL); in X509_add_ext()
145 int X509_REVOKED_add_ext(X509_REVOKED *x, X509_EXTENSION *ex, int loc) in X509_REVOKED_add_ext() argument
147 return (X509v3_add_ext(&(x->extensions), ex, loc) != NULL); in X509_REVOKED_add_ext()
H A Dt_req.c173 X509_EXTENSION *ex; in X509_REQ_print_ex() local
175 ex = sk_X509_EXTENSION_value(exts, i); in X509_REQ_print_ex()
178 obj = X509_EXTENSION_get_object(ex); in X509_REQ_print_ex()
181 critical = X509_EXTENSION_get_critical(ex); in X509_REQ_print_ex()
184 if (!X509V3_EXT_print(bp, ex, cflag, 20)) { in X509_REQ_print_ex()
187 X509_EXTENSION_get_data(ex)) <= 0) in X509_REQ_print_ex()
H A Dv3_prn.c155 X509_EXTENSION *ex; in X509V3_extensions_print() local
157 ex = sk_X509_EXTENSION_value(exts, i); in X509V3_extensions_print()
158 obj = X509_EXTENSION_get_object(ex); in X509V3_extensions_print()
166 j = X509_EXTENSION_get_critical(ex); in X509V3_extensions_print()
169 if (!X509V3_EXT_print(bp, ex, flag, indent + 4)) { in X509V3_extensions_print()
171 ASN1_STRING_print(bp, X509_EXTENSION_get_data(ex)); in X509V3_extensions_print()
H A Dt_acert.c242 X509_EXTENSION *ex; in X509_ACERT_print_ex() local
245 ex = sk_X509_EXTENSION_value(exts, i); in X509_ACERT_print_ex()
248 obj = X509_EXTENSION_get_object(ex); in X509_ACERT_print_ex()
251 critical = X509_EXTENSION_get_critical(ex); in X509_ACERT_print_ex()
254 if (X509V3_EXT_print(bp, ex, cflag, 20) <= 0) { in X509_ACERT_print_ex()
257 if (ASN1_STRING_print(bp, X509_EXTENSION_get_data(ex)) <= 0) in X509_ACERT_print_ex()
H A Dv3_lib.c167 X509_EXTENSION *ex, *found_ex = NULL; in X509V3_get_d2i() local
183 ex = sk_X509_EXTENSION_value(x, i); in X509V3_get_d2i()
184 if (OBJ_obj2nid(X509_EXTENSION_get_object(ex)) == nid) { in X509V3_get_d2i()
187 found_ex = ex; in X509V3_get_d2i()
195 found_ex = ex; in X509V3_get_d2i()
H A Dv3_purp.c270 int X509_supported_extension(X509_EXTENSION *ex) in X509_supported_extension() argument
299 int ex_nid = OBJ_obj2nid(X509_EXTENSION_get_object(ex)); in X509_supported_extension()
589 X509_EXTENSION *ex = X509_get_ext(x, i); in ossl_x509v3_cache_extensions() local
590 int nid = OBJ_obj2nid(X509_EXTENSION_get_object(ex)); in ossl_x509v3_cache_extensions()
594 if (!X509_EXTENSION_get_critical(ex)) in ossl_x509v3_cache_extensions()
596 if (!X509_supported_extension(ex)) { in ossl_x509v3_cache_extensions()
H A Dx509_att.c40 X509_ATTRIBUTE *ex; in X509at_get_attr_by_OBJ() local
49 ex = sk_X509_ATTRIBUTE_value(sk, lastpos); in X509at_get_attr_by_OBJ()
50 if (OBJ_cmp(ex->object, obj) == 0) in X509at_get_attr_by_OBJ()
/openssl/doc/man3/
H A DX509_EXTENSION_set_object.pod13 int X509_EXTENSION_set_object(X509_EXTENSION *ex, const ASN1_OBJECT *obj);
14 int X509_EXTENSION_set_critical(X509_EXTENSION *ex, int crit);
15 int X509_EXTENSION_set_data(X509_EXTENSION *ex, ASN1_OCTET_STRING *data);
17 X509_EXTENSION *X509_EXTENSION_create_by_NID(X509_EXTENSION **ex,
20 X509_EXTENSION *X509_EXTENSION_create_by_OBJ(X509_EXTENSION **ex,
24 ASN1_OBJECT *X509_EXTENSION_get_object(X509_EXTENSION *ex);
25 int X509_EXTENSION_get_critical(const X509_EXTENSION *ex);
33 X509_EXTENSION_set_critical() sets the criticality of B<ex> to B<crit>. If
36 X509_EXTENSION_set_data() sets the data in extension B<ex> to B<data>. The
41 written to B<*ex> reusing or allocating a new extension if necessary so B<*ex>
[all …]
H A DSSL_CTX_set_security_level.pod20 void *other, void *ex));
24 void *other, void *ex));
28 void *ex);
31 void *ex);
33 void SSL_CTX_set0_security_ex_data(SSL_CTX *ctx, void *ex);
34 void SSL_set0_security_ex_data(SSL *s, void *ex);
56 extra data pointer passed to the B<ex> parameter of the callback. This
170 data pointer or NULL if the ex data is not set.
H A DX509v3_get_ext_by_NID.pod31 X509_EXTENSION *ex, int loc);
42 int X509_add_ext(X509 *x, X509_EXTENSION *ex, int loc);
51 int X509_CRL_add_ext(X509_CRL *x, X509_EXTENSION *ex, int loc);
60 int X509_REVOKED_add_ext(X509_REVOKED *x, X509_EXTENSION *ex, int loc);
85 X509v3_add_ext() inserts extension I<ex> to STACK I<*x> at position I<loc>.
88 The passed extension I<ex> is duplicated so it must be freed after use.
/openssl/crypto/ts/
H A Dts_lib.c51 X509_EXTENSION *ex; in TS_ext_print_bio() local
57 ex = X509v3_get_ext(extensions, i); in TS_ext_print_bio()
58 obj = X509_EXTENSION_get_object(ex); in TS_ext_print_bio()
61 critical = X509_EXTENSION_get_critical(ex); in TS_ext_print_bio()
63 if (!X509V3_EXT_print(bio, ex, 0, 4)) { in TS_ext_print_bio()
65 ASN1_STRING_print(bio, X509_EXTENSION_get_data(ex)); in TS_ext_print_bio()
H A Dts_req_utils.c175 int TS_REQ_add_ext(TS_REQ *a, X509_EXTENSION *ex, int loc) in TS_REQ_add_ext() argument
177 return X509v3_add_ext(&a->extensions, ex, loc) != NULL; in TS_REQ_add_ext()
H A Dts_rsp_utils.c336 int TS_TST_INFO_add_ext(TS_TST_INFO *a, X509_EXTENSION *ex, int loc) in TS_TST_INFO_add_ext() argument
338 return X509v3_add_ext(&a->extensions, ex, loc) != NULL; in TS_TST_INFO_add_ext()
/openssl/test/
H A Dcipher_overhead_test.c37 size_t mac, in, blk, ex; in cipher_overhead() local
47 if (!TEST_true(ssl_cipher_get_overhead(ciph, &mac, &in, &blk, &ex))) { in cipher_overhead()
52 ciph->name, mac, in, blk, ex); in cipher_overhead()
H A Dstack_test.c62 int ex; in test_int_stack() member
73 int ex; in test_int_stack() member
148 if (!TEST_int_eq(sk_sint_find_ex(s, &finds[i].value), finds[i].ex)) { in test_int_stack()
153 if (!TEST_int_eq(sk_sint_find_ex(s, &exfinds[i].value), exfinds[i].ex)) { in test_int_stack()
/openssl/test/recipes/
H A D15-test_gendhparam.t171 foreach my $ex (@expected) {
172 if ( !grep { index($_, $ex) >= 0 } @lines) {
173 print "ERROR: Cannot find: $ex\n";
/openssl/crypto/ocsp/
H A Docsp_ext.c69 int OCSP_REQUEST_add_ext(OCSP_REQUEST *x, X509_EXTENSION *ex, int loc) in OCSP_REQUEST_add_ext() argument
71 return (X509v3_add_ext(&(x->tbsRequest.requestExtensions), ex, loc) != in OCSP_REQUEST_add_ext()
121 int OCSP_ONEREQ_add_ext(OCSP_ONEREQ *x, X509_EXTENSION *ex, int loc) in OCSP_ONEREQ_add_ext() argument
123 return (X509v3_add_ext(&(x->singleRequestExtensions), ex, loc) != NULL); in OCSP_ONEREQ_add_ext()
177 int OCSP_BASICRESP_add_ext(OCSP_BASICRESP *x, X509_EXTENSION *ex, int loc) in OCSP_BASICRESP_add_ext() argument
179 return (X509v3_add_ext(&(x->tbsResponseData.responseExtensions), ex, loc) in OCSP_BASICRESP_add_ext()
229 int OCSP_SINGLERESP_add_ext(OCSP_SINGLERESP *x, X509_EXTENSION *ex, int loc) in OCSP_SINGLERESP_add_ext() argument
231 return (X509v3_add_ext(&(x->singleExtensions), ex, loc) != NULL); in OCSP_SINGLERESP_add_ext()
/openssl/include/openssl/
H A Docsp.h.in314 int OCSP_REQUEST_add_ext(OCSP_REQUEST *x, X509_EXTENSION *ex, int loc);
325 int OCSP_ONEREQ_add_ext(OCSP_ONEREQ *x, X509_EXTENSION *ex, int loc);
339 int OCSP_BASICRESP_add_ext(OCSP_BASICRESP *x, X509_EXTENSION *ex, int loc);
353 int OCSP_SINGLERESP_add_ext(OCSP_SINGLERESP *x, X509_EXTENSION *ex, int loc);
H A Dx509.h.in906 X509_EXTENSION *ex, int loc);
916 int X509_add_ext(X509 *x, X509_EXTENSION *ex, int loc);
928 int X509_CRL_add_ext(X509_CRL *x, X509_EXTENSION *ex, int loc);
941 int X509_REVOKED_add_ext(X509_REVOKED *x, X509_EXTENSION *ex, int loc);
947 X509_EXTENSION *X509_EXTENSION_create_by_NID(X509_EXTENSION **ex,
950 X509_EXTENSION *X509_EXTENSION_create_by_OBJ(X509_EXTENSION **ex,
953 int X509_EXTENSION_set_object(X509_EXTENSION *ex, const ASN1_OBJECT *obj);
954 int X509_EXTENSION_set_critical(X509_EXTENSION *ex, int crit);
955 int X509_EXTENSION_set_data(X509_EXTENSION *ex, ASN1_OCTET_STRING *data);
956 ASN1_OBJECT *X509_EXTENSION_get_object(X509_EXTENSION *ex);
[all …]
H A Dasn1t.h.in371 # define ASN1_IMP_EX(stname, field, type, tag, ex) \ argument
372 ASN1_EX_TYPE(ASN1_TFLG_IMPLICIT | (ex), tag, stname, field, type)
374 # define ASN1_EXP_EX(stname, field, type, tag, ex) \ argument
375 ASN1_EX_TYPE(ASN1_TFLG_EXPLICIT | (ex), tag, stname, field, type)
764 # define IMPLEMENT_ASN1_TYPE_ex(itname, vname, ex) \ argument
766 … ASN1_ITYPE_PRIMITIVE, V_##vname, NULL, 0, NULL, ex, #itname \
H A Dts.h161 int TS_REQ_add_ext(TS_REQ *a, X509_EXTENSION *ex, int loc);
223 int TS_TST_INFO_add_ext(TS_TST_INFO *a, X509_EXTENSION *ex, int loc);
/openssl/apps/
H A Dx509.c223 X509_EXTENSION *ex = sk_X509_EXTENSION_value(cert_exts, i); in x509_to_req() local
224 ASN1_OBJECT *obj = X509_EXTENSION_get_object(ex); in x509_to_req()
227 && !sk_X509_EXTENSION_push(exts, ex)) in x509_to_req()
835 X509_EXTENSION *ex = X509_get_ext(x, i); in x509_main() local
836 const char *sn = OBJ_nid2sn(OBJ_obj2nid(X509_EXTENSION_get_object(ex))); in x509_main()

Completed in 66 milliseconds

12