Home
last modified time | relevance | path

Searched refs:asn1_cb (Results 1 – 12 of 12) sorted by relevance

/freebsd/crypto/openssl/crypto/asn1/
H A Dtasn_fre.c33 ASN1_aux_cb *asn1_cb; in ossl_asn1_item_embed_free() local
40 if (aux && aux->asn1_cb) in ossl_asn1_item_embed_free()
41 asn1_cb = aux->asn1_cb; in ossl_asn1_item_embed_free()
43 asn1_cb = 0; in ossl_asn1_item_embed_free()
59 if (asn1_cb) { in ossl_asn1_item_embed_free()
60 i = asn1_cb(ASN1_OP_FREE_PRE, pval, it, NULL); in ossl_asn1_item_embed_free()
72 if (asn1_cb) in ossl_asn1_item_embed_free()
73 asn1_cb(ASN1_OP_FREE_POST, pval, it, NULL); in ossl_asn1_item_embed_free()
94 if (asn1_cb) { in ossl_asn1_item_embed_free()
95 i = asn1_cb(ASN1_OP_FREE_PRE, pval, it, NULL); in ossl_asn1_item_embed_free()
[all …]
H A Da_dup.c54 ASN1_aux_cb *asn1_cb = NULL; in ASN1_item_dup() local
69 asn1_cb = aux != NULL ? aux->asn1_cb : NULL; in ASN1_item_dup()
72 if (asn1_cb != NULL) { in ASN1_item_dup()
73 if (!asn1_cb(ASN1_OP_DUP_PRE, (ASN1_VALUE **)&x, it, NULL) in ASN1_item_dup()
74 || !asn1_cb(ASN1_OP_GET0_LIBCTX, (ASN1_VALUE **)&x, it, &libctx) in ASN1_item_dup()
75 || !asn1_cb(ASN1_OP_GET0_PROPQ, (ASN1_VALUE **)&x, it, &propq)) in ASN1_item_dup()
88 if (asn1_cb != NULL in ASN1_item_dup()
89 && !asn1_cb(ASN1_OP_DUP_POST, &ret, it, (void *)x)) in ASN1_item_dup()
H A Dtasn_new.c66 ASN1_aux_cb *asn1_cb; in asn1_item_embed_new() local
69 if (aux && aux->asn1_cb) in asn1_item_embed_new()
70 asn1_cb = aux->asn1_cb; in asn1_item_embed_new()
72 asn1_cb = 0; in asn1_item_embed_new()
103 if (asn1_cb) { in asn1_item_embed_new()
104 i = asn1_cb(ASN1_OP_NEW_PRE, pval, it, NULL); in asn1_item_embed_new()
119 if (asn1_cb && !asn1_cb(ASN1_OP_NEW_POST, pval, it, NULL)) in asn1_item_embed_new()
125 if (asn1_cb) { in asn1_item_embed_new()
126 i = asn1_cb(ASN1_OP_NEW_PRE, pval, it, NULL); in asn1_item_embed_new()
154 if (asn1_cb && !asn1_cb(ASN1_OP_NEW_POST, pval, it, NULL)) in asn1_item_embed_new()
H A Dtasn_enc.c90 ASN1_aux_const_cb *asn1_cb = NULL; in ASN1_item_ex_i2d() local
96 asn1_cb = ((aux->flags & ASN1_AFLG_CONST_CB) != 0) ? aux->asn1_const_cb in ASN1_item_ex_i2d()
97 : (ASN1_aux_const_cb *)aux->asn1_cb; /* backward compatibility */ in ASN1_item_ex_i2d()
128 if (asn1_cb && !asn1_cb(ASN1_OP_I2D_PRE, pval, it, NULL)) in ASN1_item_ex_i2d()
139 if (asn1_cb && !asn1_cb(ASN1_OP_I2D_POST, pval, it, NULL)) in ASN1_item_ex_i2d()
171 if (asn1_cb && !asn1_cb(ASN1_OP_I2D_PRE, pval, it, NULL)) in ASN1_item_ex_i2d()
205 if (asn1_cb && !asn1_cb(ASN1_OP_I2D_POST, pval, it, NULL)) in ASN1_item_ex_i2d()
H A Dtasn_prn.c143 ASN1_aux_const_cb *asn1_cb = NULL; in asn1_item_print_ctx() local
150 asn1_cb = ((aux->flags & ASN1_AFLG_CONST_CB) != 0) ? aux->asn1_const_cb in asn1_item_print_ctx()
151 : (ASN1_aux_const_cb *)aux->asn1_cb; /* backward compatibility */ in asn1_item_print_ctx()
225 if (asn1_cb) { in asn1_item_print_ctx()
226 i = asn1_cb(ASN1_OP_PRINT_PRE, fld, it, &parg); in asn1_item_print_ctx()
249 if (asn1_cb) { in asn1_item_print_ctx()
250 i = asn1_cb(ASN1_OP_PRINT_POST, fld, it, &parg); in asn1_item_print_ctx()
H A Dtasn_dec.c171 ASN1_aux_cb *asn1_cb; in asn1_item_embed_d2i() local
190 if (aux && aux->asn1_cb) in asn1_item_embed_d2i()
191 asn1_cb = aux->asn1_cb; in asn1_item_embed_d2i()
193 asn1_cb = 0; in asn1_item_embed_d2i()
276 if (asn1_cb && !asn1_cb(ASN1_OP_D2I_PRE, pval, it, NULL)) in asn1_item_embed_d2i()
330 if (asn1_cb && !asn1_cb(ASN1_OP_D2I_POST, pval, it, NULL)) in asn1_item_embed_d2i()
371 if (asn1_cb && !asn1_cb(ASN1_OP_D2I_PRE, pval, it, NULL)) in asn1_item_embed_d2i()
472 if (asn1_cb && !asn1_cb(ASN1_OP_D2I_POST, pval, it, NULL)) in asn1_item_embed_d2i()
H A Dbio_ndef.c66 if (!aux || !aux->asn1_cb) { in BIO_new_NDEF()
99 if (aux->asn1_cb(ASN1_OP_STREAM_PRE, &val, it, &sarg) <= 0) { in BIO_new_NDEF()
211 if (aux->asn1_cb(ASN1_OP_STREAM_POST, in ndef_suffix()
H A Dasn1_gen.c68 static int asn1_cb(const char *elem, int len, void *bitstr);
120 if (CONF_parse_list(str, ',', 1, asn1_cb, &asn1_tags) != 0) { in generate_v3()
240 static int asn1_cb(const char *elem, int len, void *bitstr) in asn1_cb() function
H A Dasn_mime.c359 if (!aux || !aux->asn1_cb) { in asn1_output_data()
370 if (aux->asn1_cb(ASN1_OP_DETACHED_PRE, &val, it, &sarg) <= 0) in asn1_output_data()
378 if (aux->asn1_cb(ASN1_OP_DETACHED_POST, &val, it, &sarg) <= 0) in asn1_output_data()
/freebsd/crypto/openssl/doc/man3/
H A DASN1_aux_cb.pod17 ASN1_aux_cb *asn1_cb;
87 =item I<asn1_cb>
100 the B<ASN1_VALUE>. This is used in preference to the I<asn1_cb> callback if
106 I<asn1_cb> or I<asn1_const_cb> will be invoked as a result of various events
/freebsd/crypto/openssl/include/openssl/
H A Dasn1t.h.in708 ASN1_aux_cb *asn1_cb; member
741 /* operation values for asn1_cb */
H A Dasn1t.h707 ASN1_aux_cb *asn1_cb; member