Home
last modified time | relevance | path

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

/openbsd/lib/libcrypto/asn1/
H A Dtasn_fre.c91 ASN1_aux_cb *asn1_cb = NULL; in asn1_item_free() local
100 if (aux != NULL && aux->asn1_cb != NULL) in asn1_item_free()
101 asn1_cb = aux->asn1_cb; in asn1_item_free()
116 if (asn1_cb) { in asn1_item_free()
117 i = asn1_cb(ASN1_OP_FREE_PRE, pval, it, NULL); in asn1_item_free()
128 if (asn1_cb) in asn1_item_free()
129 asn1_cb(ASN1_OP_FREE_POST, pval, it, NULL); in asn1_item_free()
144 if (asn1_cb) { in asn1_item_free()
145 i = asn1_cb(ASN1_OP_FREE_PRE, pval, it, NULL); in asn1_item_free()
163 if (asn1_cb) in asn1_item_free()
[all …]
H A Dtasn_new.c99 ASN1_aux_cb *asn1_cb = NULL; in asn1_item_ex_new() local
103 if (aux != NULL && aux->asn1_cb != NULL) in asn1_item_ex_new()
104 asn1_cb = aux->asn1_cb; in asn1_item_ex_new()
131 if (asn1_cb) { in asn1_item_ex_new()
132 i = asn1_cb(ASN1_OP_NEW_PRE, pval, it, NULL); in asn1_item_ex_new()
143 if (asn1_cb && !asn1_cb(ASN1_OP_NEW_POST, pval, it, NULL)) in asn1_item_ex_new()
149 if (asn1_cb) { in asn1_item_ex_new()
150 i = asn1_cb(ASN1_OP_NEW_PRE, pval, it, NULL); in asn1_item_ex_new()
167 if (asn1_cb && !asn1_cb(ASN1_OP_NEW_POST, pval, it, NULL)) in asn1_item_ex_new()
H A Dtasn_enc.c147 ASN1_aux_cb *asn1_cb = NULL; in ASN1_item_ex_i2d() local
152 if (aux && aux->asn1_cb) in ASN1_item_ex_i2d()
153 asn1_cb = aux->asn1_cb; in ASN1_item_ex_i2d()
186 if (asn1_cb && !asn1_cb(ASN1_OP_I2D_PRE, pval, it, NULL)) in ASN1_item_ex_i2d()
198 if (asn1_cb && !asn1_cb(ASN1_OP_I2D_POST, pval, it, NULL)) in ASN1_item_ex_i2d()
230 if (asn1_cb && !asn1_cb(ASN1_OP_I2D_PRE, pval, it, NULL)) in ASN1_item_ex_i2d()
262 if (asn1_cb && !asn1_cb(ASN1_OP_I2D_POST, pval, it, NULL)) in ASN1_item_ex_i2d()
H A Dtasn_prn.c118 ASN1_aux_cb *asn1_cb; in asn1_item_print_ctx() local
122 if (aux && aux->asn1_cb) { in asn1_item_print_ctx()
126 asn1_cb = aux->asn1_cb; in asn1_item_print_ctx()
128 asn1_cb = NULL; in asn1_item_print_ctx()
205 if (asn1_cb) { in asn1_item_print_ctx()
206 i = asn1_cb(ASN1_OP_PRINT_PRE, fld, it, &parg); in asn1_item_print_ctx()
230 if (asn1_cb) { in asn1_item_print_ctx()
231 i = asn1_cb(ASN1_OP_PRINT_POST, fld, it, &parg); in asn1_item_print_ctx()
H A Dtasn_dec.c647 ASN1_aux_cb *asn1_cb = NULL; in asn1_item_d2i_choice() local
653 asn1_cb = aux->asn1_cb; in asn1_item_d2i_choice()
677 if (asn1_cb != NULL && !asn1_cb(ASN1_OP_D2I_PRE, &achoice, it, NULL)) { in asn1_item_d2i_choice()
713 if (asn1_cb != NULL && !asn1_cb(ASN1_OP_D2I_POST, &achoice, it, NULL)) { in asn1_item_d2i_choice()
743 ASN1_aux_cb *asn1_cb = NULL; in asn1_item_d2i_sequence() local
754 asn1_cb = aux->asn1_cb; in asn1_item_d2i_sequence()
800 if (asn1_cb != NULL && !asn1_cb(ASN1_OP_D2I_PRE, &aseq, it, NULL)) { in asn1_item_d2i_sequence()
889 if (asn1_cb != NULL && !asn1_cb(ASN1_OP_D2I_POST, &aseq, it, NULL)) { in asn1_item_d2i_sequence()
H A Dbio_ndef.c113 if (aux == NULL || aux->asn1_cb == NULL) { in BIO_new_NDEF()
155 if (aux->asn1_cb(ASN1_OP_STREAM_PRE, &val, it, &sarg) <= 0) in BIO_new_NDEF()
253 if (aux->asn1_cb(ASN1_OP_STREAM_POST, in ndef_suffix()
H A Dasn1_gen.c119 static int asn1_cb(const char *elem, int len, void *bitstr);
162 if (CONF_parse_list(str, ',', 1, asn1_cb, &asn1_tags) != 0) in ASN1_generate_v3()
275 asn1_cb(const char *elem, int len, void *bitstr) in asn1_cb() function
H A Dp8_pkey.c81 .asn1_cb = pkey_cb,
H A Dx_req.c99 .asn1_cb = rinf_cb,
H A Dasn_mime.c391 if (!aux || !aux->asn1_cb) { in asn1_output_data()
402 if (aux->asn1_cb(ASN1_OP_DETACHED_PRE, &val, it, &sarg) <= 0) in asn1_output_data()
409 if (aux->asn1_cb(ASN1_OP_DETACHED_POST, &val, it, &sarg) <= 0) in asn1_output_data()
H A Dx_crl.c129 .asn1_cb = crl_inf_cb,
388 .asn1_cb = crl_cb,
H A Dx_x509.c231 .asn1_cb = x509_cb,
H A Dx_pubkey.c90 .asn1_cb = pubkey_cb,
H A Dasn1t.h715 ASN1_aux_cb *asn1_cb; member
/openbsd/lib/libcrypto/rsa/
H A Drsa_asn1.c90 .asn1_cb = rsa_cb,
176 .asn1_cb = rsa_cb,
223 .asn1_cb = rsa_pss_cb,
314 .asn1_cb = rsa_oaep_cb,
/openbsd/lib/libcrypto/dsa/
H A Ddsa_asn1.c92 .asn1_cb = sig_cb,
185 .asn1_cb = dsa_cb,
265 .asn1_cb = dsa_cb,
352 .asn1_cb = dsa_cb,
/openbsd/lib/libcrypto/dh/
H A Ddh_asn1.c90 .asn1_cb = dh_cb,
/openbsd/regress/lib/libcrypto/bio/
H A Dbio_asn1.c44 .asn1_cb = waf_cb,
/openbsd/lib/libcrypto/cms/
H A Dcms_asn1.c241 .asn1_cb = cms_si_cb,
620 .asn1_cb = cms_rek_cb,
733 .asn1_cb = cms_kari_cb,
954 .asn1_cb = cms_ri_cb,
1369 .asn1_cb = cms_cb,
/openbsd/lib/libcrypto/pkcs7/
H A Dpk7_asn1.c188 .asn1_cb = pk7_cb,
358 .asn1_cb = si_cb,
598 .asn1_cb = ri_cb,
/openbsd/lib/libcrypto/x509/
H A Dx509_crld.c403 .asn1_cb = dpn_cb,
/openbsd/lib/libcrypto/ts/
H A Dts_asn1.c623 .asn1_cb = ts_resp_cb,