Home
last modified time | relevance | path

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

/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()
116 if (asn1_cb) in ossl_asn1_item_embed_free()
[all …]
H A Da_dup.c52 ASN1_aux_cb *asn1_cb = NULL; in ASN1_item_dup() local
67 asn1_cb = aux != NULL ? aux->asn1_cb : NULL; in ASN1_item_dup()
70 if (asn1_cb != NULL) { in ASN1_item_dup()
71 if (!asn1_cb(ASN1_OP_DUP_PRE, (ASN1_VALUE **)&x, it, NULL) in ASN1_item_dup()
72 || !asn1_cb(ASN1_OP_GET0_LIBCTX, (ASN1_VALUE **)&x, it, &libctx) in ASN1_item_dup()
73 || !asn1_cb(ASN1_OP_GET0_PROPQ, (ASN1_VALUE **)&x, it, &propq)) in ASN1_item_dup()
86 if (asn1_cb != NULL in ASN1_item_dup()
87 && !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.c88 ASN1_aux_const_cb *asn1_cb = NULL; in ASN1_item_ex_i2d() local
94 asn1_cb = ((aux->flags & ASN1_AFLG_CONST_CB) != 0) ? aux->asn1_const_cb in ASN1_item_ex_i2d()
95 : (ASN1_aux_const_cb *)aux->asn1_cb; /* backward compatibility */ in ASN1_item_ex_i2d()
126 if (asn1_cb && !asn1_cb(ASN1_OP_I2D_PRE, pval, it, NULL)) in ASN1_item_ex_i2d()
137 if (asn1_cb && !asn1_cb(ASN1_OP_I2D_POST, pval, it, NULL)) in ASN1_item_ex_i2d()
169 if (asn1_cb && !asn1_cb(ASN1_OP_I2D_PRE, pval, it, NULL)) in ASN1_item_ex_i2d()
203 if (asn1_cb && !asn1_cb(ASN1_OP_I2D_POST, pval, it, NULL)) in ASN1_item_ex_i2d()
H A Dtasn_prn.c141 ASN1_aux_const_cb *asn1_cb = NULL; in asn1_item_print_ctx() local
148 asn1_cb = ((aux->flags & ASN1_AFLG_CONST_CB) != 0) ? aux->asn1_const_cb in asn1_item_print_ctx()
149 : (ASN1_aux_const_cb *)aux->asn1_cb; /* backward compatibility */ in asn1_item_print_ctx()
223 if (asn1_cb) { in asn1_item_print_ctx()
224 i = asn1_cb(ASN1_OP_PRINT_PRE, fld, it, &parg); in asn1_item_print_ctx()
247 if (asn1_cb) { in asn1_item_print_ctx()
248 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()
209 if (aux->asn1_cb(ASN1_OP_STREAM_POST, in ndef_suffix()
H A Dasn1_gen.c69 static int asn1_cb(const char *elem, int len, void *bitstr);
121 if (CONF_parse_list(str, ',', 1, asn1_cb, &asn1_tags) != 0) { in generate_v3()
241 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()
/openssl/doc/man3/
H A DASN1_aux_cb.pod17 ASN1_aux_cb *asn1_cb;
87 =item I<asn1_cb>
100 the the B<ASN1_VALLUE>. 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
/openssl/include/openssl/
H A Dasn1t.h.in708 ASN1_aux_cb *asn1_cb; member
741 /* operation values for asn1_cb */

Completed in 33 milliseconds