| /freebsd-14.2/crypto/openssl/fuzz/ |
| H A D | cmp.c | 31 static OSSL_CMP_MSG *transfer_cb(OSSL_CMP_CTX *ctx, const OSSL_CMP_MSG *req) in transfer_cb() 35 return OSSL_CMP_MSG_dup((OSSL_CMP_MSG *) in transfer_cb() 51 static void cmp_client_process_response(OSSL_CMP_CTX *ctx, OSSL_CMP_MSG *msg) in cmp_client_process_response() 103 const OSSL_CMP_MSG *cert_req, in process_cert_request() 116 const OSSL_CMP_MSG *rr, in process_rr() 125 const OSSL_CMP_MSG *genm, in process_genm() 142 const OSSL_CMP_MSG *certConf, int certReqId, in process_certConf() 151 const OSSL_CMP_MSG *pollReq, int certReqId, in process_pollReq() 152 OSSL_CMP_MSG **certReq, int64_t *check_after) in process_pollReq() 160 OSSL_CMP_MSG *msg; in FuzzerTestOneInput() [all …]
|
| /freebsd-14.2/crypto/openssl/crypto/cmp/ |
| H A D | cmp_msg.c | 25 OSSL_CMP_MSG *msg = NULL; in OSSL_CMP_MSG_new() 27 msg = (OSSL_CMP_MSG *)ASN1_item_new_ex(ASN1_ITEM_rptr(OSSL_CMP_MSG), in OSSL_CMP_MSG_new() 163 OSSL_CMP_MSG *msg = NULL; in ossl_cmp_msg_create() 380 OSSL_CMP_MSG *msg; in ossl_cmp_certreq_new() 451 OSSL_CMP_MSG *msg = NULL; in ossl_cmp_certrep_new() 521 OSSL_CMP_MSG *msg = NULL; in ossl_cmp_rr_new() 621 OSSL_CMP_MSG *msg; in ossl_cmp_pkiconf_new() 886 OSSL_CMP_MSG *msg; in ossl_cmp_pollRep_new() 1100 OSSL_CMP_MSG *msg; in OSSL_CMP_MSG_read() 1141 OSSL_CMP_MSG *d2i_OSSL_CMP_MSG(OSSL_CMP_MSG **msg, const unsigned char **in, in d2i_OSSL_CMP_MSG() [all …]
|
| H A D | cmp_local.h | 209 typedef STACK_OF(OSSL_CMP_MSG) OSSL_CMP_MSGS; 677 void OSSL_CMP_MSG_free(OSSL_CMP_MSG *msg); 864 int ossl_cmp_msg_set_bodytype(OSSL_CMP_MSG *msg, int type); 873 OSSL_CMP_MSG *ossl_cmp_rr_new(OSSL_CMP_CTX *ctx); 877 OSSL_CMP_MSG *ossl_cmp_pkiconf_new(OSSL_CMP_CTX *ctx); 878 OSSL_CMP_MSG *ossl_cmp_pollRep_new(OSSL_CMP_CTX *ctx, int crid, 881 int ossl_cmp_msg_gen_push1_ITAVs(OSSL_CMP_MSG *msg, 883 OSSL_CMP_MSG *ossl_cmp_genm_new(OSSL_CMP_CTX *ctx); 884 OSSL_CMP_MSG *ossl_cmp_genp_new(OSSL_CMP_CTX *ctx, 894 OSSL_CMP_MSG *ossl_cmp_pollRep_new(OSSL_CMP_CTX *ctx, int crid, [all …]
|
| H A D | cmp_server.c | 160 OSSL_CMP_MSG *msg = NULL; in process_cert_request() 249 static OSSL_CMP_MSG *process_rr(OSSL_CMP_SRV_CTX *srv_ctx, in process_rr() 250 const OSSL_CMP_MSG *req) in process_rr() 252 OSSL_CMP_MSG *msg = NULL; in process_rr() 301 OSSL_CMP_MSG *msg; in process_genm() 318 OSSL_CMP_MSG *msg; in process_error() 337 OSSL_CMP_MSG *msg = NULL; in process_certConf() 395 OSSL_CMP_MSG *certReq; in process_pollReq() 397 OSSL_CMP_MSG *msg = NULL; in process_pollReq() 434 const OSSL_CMP_MSG *req, in unprotected_exception() [all …]
|
| H A D | cmp_http.c | 51 OSSL_CMP_MSG *OSSL_CMP_MSG_http_perform(OSSL_CMP_CTX *ctx, in OSSL_CMP_MSG_http_perform() 52 const OSSL_CMP_MSG *req) in OSSL_CMP_MSG_http_perform() 58 const ASN1_ITEM *it = ASN1_ITEM_rptr(OSSL_CMP_MSG); in OSSL_CMP_MSG_http_perform() 60 OSSL_CMP_MSG *res = NULL; in OSSL_CMP_MSG_http_perform() 91 res = (OSSL_CMP_MSG *)ASN1_item_d2i_bio(it, rsp, NULL); in OSSL_CMP_MSG_http_perform()
|
| H A D | cmp_asn.c | 214 OSSL_CMP_MSG *msg = (OSSL_CMP_MSG *)*pval; in ossl_cmp_msg_cb() 223 OSSL_CMP_MSG *old = exarg; in ossl_cmp_msg_cb() 442 ASN1_SIMPLE(OSSL_CMP_MSG, header, OSSL_CMP_PKIHEADER), 443 ASN1_SIMPLE(OSSL_CMP_MSG, body, OSSL_CMP_PKIBODY) 447 ASN1_SEQUENCE_cb(OSSL_CMP_MSG, ossl_cmp_msg_cb) = { 448 ASN1_SIMPLE(OSSL_CMP_MSG, header, OSSL_CMP_PKIHEADER), 449 ASN1_SIMPLE(OSSL_CMP_MSG, body, OSSL_CMP_PKIBODY), 450 ASN1_EXP_OPT(OSSL_CMP_MSG, protection, ASN1_BIT_STRING, 0), 453 } ASN1_SEQUENCE_END_cb(OSSL_CMP_MSG, OSSL_CMP_MSG) 454 IMPLEMENT_ASN1_DUP_FUNCTION(OSSL_CMP_MSG) [all …]
|
| H A D | cmp_client.c | 256 OSSL_CMP_MSG *preq = NULL; in poll_for_response() 257 OSSL_CMP_MSG *prep = NULL; in poll_for_response() 366 OSSL_CMP_MSG *certConf; in ossl_cmp_exchange_certConf() 387 OSSL_CMP_MSG *error = NULL; in ossl_cmp_exchange_error() 674 OSSL_CMP_MSG *req; in initial_certreq() 694 OSSL_CMP_MSG *rep = NULL; in OSSL_CMP_try_certreq() 736 OSSL_CMP_MSG *rep = NULL; in OSSL_CMP_exec_certreq() 762 OSSL_CMP_MSG *rr = NULL; in OSSL_CMP_exec_RR_ses() 763 OSSL_CMP_MSG *rp = NULL; in OSSL_CMP_exec_RR_ses() 892 OSSL_CMP_MSG *genm; in STACK_OF() [all …]
|
| H A D | cmp_vfy.c | 26 const OSSL_CMP_MSG *msg, X509 *cert) in verify_signature() 77 static int verify_PBMAC(OSSL_CMP_CTX *ctx, const OSSL_CMP_MSG *msg) in verify_PBMAC() 229 const OSSL_CMP_MSG *msg) in cert_acceptable() 303 const OSSL_CMP_MSG *msg, X509 *scrt) in check_cert_path_3gpp() 345 const OSSL_CMP_MSG *msg) in check_msg_given_cert() 362 const OSSL_CMP_MSG *msg, int mode_3gpp) in check_msg_with_certs() 404 static int check_msg_all_certs(OSSL_CMP_CTX *ctx, const OSSL_CMP_MSG *msg, in check_msg_all_certs() 449 static int check_msg_find_cert(OSSL_CMP_CTX *ctx, const OSSL_CMP_MSG *msg) in check_msg_find_cert() 550 int OSSL_CMP_validate_msg(OSSL_CMP_CTX *ctx, const OSSL_CMP_MSG *msg) in OSSL_CMP_validate_msg() 665 int ossl_cmp_msg_check_update(OSSL_CMP_CTX *ctx, const OSSL_CMP_MSG *msg, in ossl_cmp_msg_check_update() [all …]
|
| H A D | cmp_protect.c | 31 const OSSL_CMP_MSG *msg) in ossl_cmp_calc_protection() 133 int ossl_cmp_msg_add_extraCerts(OSSL_CMP_CTX *ctx, OSSL_CMP_MSG *msg) in ossl_cmp_msg_add_extraCerts() 247 static int set_senderKID(const OSSL_CMP_CTX *ctx, OSSL_CMP_MSG *msg, in set_senderKID() 256 int ossl_cmp_msg_protect(OSSL_CMP_CTX *ctx, OSSL_CMP_MSG *msg) in ossl_cmp_msg_protect()
|
| /freebsd-14.2/crypto/openssl/include/openssl/ |
| H A D | cmp.h.in | 218 typedef struct ossl_cmp_msg_st OSSL_CMP_MSG; typedef 219 DECLARE_ASN1_DUP_FUNCTION(OSSL_CMP_MSG) 220 DECLARE_ASN1_ENCODE_FUNCTIONS(OSSL_CMP_MSG, OSSL_CMP_MSG, OSSL_CMP_MSG) 262 void OSSL_CMP_MSG_free(OSSL_CMP_MSG *msg); 385 int OSSL_CMP_MSG_get_bodytype(const OSSL_CMP_MSG *msg); 392 OSSL_CMP_MSG *d2i_OSSL_CMP_MSG_bio(BIO *bio, OSSL_CMP_MSG **msg); 393 int i2d_OSSL_CMP_MSG_bio(BIO *bio, const OSSL_CMP_MSG *msg); 401 OSSL_CMP_MSG *OSSL_CMP_MSG_http_perform(OSSL_CMP_CTX *ctx, 421 const OSSL_CMP_MSG *req, 425 const OSSL_CMP_MSG *req, [all …]
|
| H A D | cmp.h | 217 typedef struct ossl_cmp_msg_st OSSL_CMP_MSG; typedef 218 DECLARE_ASN1_DUP_FUNCTION(OSSL_CMP_MSG) 219 DECLARE_ASN1_ENCODE_FUNCTIONS(OSSL_CMP_MSG, OSSL_CMP_MSG, OSSL_CMP_MSG) 381 void OSSL_CMP_MSG_free(OSSL_CMP_MSG *msg); 504 int OSSL_CMP_MSG_get_bodytype(const OSSL_CMP_MSG *msg); 511 OSSL_CMP_MSG *d2i_OSSL_CMP_MSG_bio(BIO *bio, OSSL_CMP_MSG **msg); 512 int i2d_OSSL_CMP_MSG_bio(BIO *bio, const OSSL_CMP_MSG *msg); 520 OSSL_CMP_MSG *OSSL_CMP_MSG_http_perform(OSSL_CMP_CTX *ctx, 540 const OSSL_CMP_MSG *req, 544 const OSSL_CMP_MSG *req, [all …]
|
| /freebsd-14.2/crypto/openssl/doc/man3/ |
| H A D | OSSL_CMP_MSG_get0_header.pod | 20 OSSL_CMP_PKIHEADER *OSSL_CMP_MSG_get0_header(const OSSL_CMP_MSG *msg); 21 int OSSL_CMP_MSG_get_bodytype(const OSSL_CMP_MSG *msg); 22 int OSSL_CMP_MSG_update_transactionID(OSSL_CMP_CTX *ctx, OSSL_CMP_MSG *msg); 23 int OSSL_CMP_MSG_update_recipNonce(OSSL_CMP_CTX *ctx, OSSL_CMP_MSG *msg); 26 int OSSL_CMP_MSG_write(const char *file, const OSSL_CMP_MSG *msg); 27 OSSL_CMP_MSG *d2i_OSSL_CMP_MSG_bio(BIO *bio, OSSL_CMP_MSG **msg); 28 int i2d_OSSL_CMP_MSG_bio(BIO *bio, const OSSL_CMP_MSG *msg); 100 OSSL_CMP_MSG_read() loads a DER-encoded OSSL_CMP_MSG from I<file>. 102 OSSL_CMP_MSG_write() stores the given OSSL_CMP_MSG to I<file> in DER encoding. 104 d2i_OSSL_CMP_MSG_bio() parses an ASN.1-encoded OSSL_CMP_MSG from the BIO I<bio>. [all …]
|
| H A D | OSSL_CMP_SRV_CTX_new.pod | 28 OSSL_CMP_MSG *OSSL_CMP_SRV_process_request(OSSL_CMP_SRV_CTX *srv_ctx, 29 const OSSL_CMP_MSG *req); 30 OSSL_CMP_MSG *OSSL_CMP_CTX_server_perform(OSSL_CMP_CTX *client_ctx, 31 const OSSL_CMP_MSG *req); 37 const OSSL_CMP_MSG *req, 45 const OSSL_CMP_MSG *req, 49 const OSSL_CMP_MSG *req, 53 const OSSL_CMP_MSG *req, 58 const OSSL_CMP_MSG *req, 63 const OSSL_CMP_MSG *req, [all …]
|
| H A D | OSSL_CMP_MSG_http_perform.pod | 12 OSSL_CMP_MSG *OSSL_CMP_MSG_http_perform(OSSL_CMP_CTX *ctx, 13 const OSSL_CMP_MSG *req);
|
| /freebsd-14.2/crypto/openssl/doc/internal/man3/ |
| H A D | ossl_cmp_certreq_new.pod | 24 OSSL_CMP_MSG *ossl_cmp_certrep_new(OSSL_CMP_CTX *ctx, int bodytype, 29 OSSL_CMP_MSG *ossl_cmp_rr_new(OSSL_CMP_CTX *ctx); 30 OSSL_CMP_MSG *ossl_cmp_rp_new(OSSL_CMP_CTX *ctx, const OSSL_CMP_PKISI *si, 33 OSSL_CMP_MSG *ossl_cmp_certConf_new(OSSL_CMP_CTX *ctx, int certReqId, 35 OSSL_CMP_MSG *ossl_cmp_pkiconf_new(OSSL_CMP_CTX *ctx); 36 OSSL_CMP_MSG *ossl_cmp_pollReq_new(OSSL_CMP_CTX *ctx, int crid); 37 OSSL_CMP_MSG *ossl_cmp_pollRep_new(OSSL_CMP_CTX *ctx, int crid, int poll_after); 38 OSSL_CMP_MSG *ossl_cmp_genm_new(OSSL_CMP_CTX *ctx); 39 OSSL_CMP_MSG *ossl_cmp_genp_new(OSSL_CMP_CTX *ctx); 40 OSSL_CMP_MSG *ossl_cmp_error_new(OSSL_CMP_CTX *ctx, const OSSL_CMP_PKISI *si, [all …]
|
| H A D | ossl_cmp_msg_create.pod | 73 int ossl_cmp_msg_get_bodytype(const OSSL_CMP_MSG *msg); 74 int ossl_cmp_msg_set_bodytype( OSSL_CMP_MSG *msg, int type); 75 OSSL_CMP_MSG *ossl_cmp_msg_create(OSSL_CMP_CTX *ctx, int bodytype); 76 int ossl_cmp_msg_gen_ITAV_push0(OSSL_CMP_MSG *msg, OSSL_CMP_ITAV *itav); 77 int ossl_cmp_msg_gen_ITAVs_push1(OSSL_CMP_MSG *msg, 92 ossl_cmp_msg_create() creates and initializes an B<OSSL_CMP_MSG> structure, 97 Returns pointer to created B<OSSL_CMP_MSG> on success, NULL on error.
|
| H A D | ossl_cmp_msg_protect.pod | 15 const OSSL_CMP_MSG *msg); 16 int ossl_cmp_msg_protect(OSSL_CMP_CTX *ctx, OSSL_CMP_MSG *msg); 17 int ossl_cmp_msg_add_extraCerts(OSSL_CMP_CTX *ctx, OSSL_CMP_MSG *msg);
|
| H A D | ossl_cmp_msg_check_update.pod | 14 const OSSL_CMP_MSG *msg, 17 int ossl_cmp_msg_check_update(OSSL_CMP_CTX *ctx, const OSSL_CMP_MSG *msg,
|
| /freebsd-14.2/crypto/openssl/test/helpers/ |
| H A D | cmp_testlib.c | 15 OSSL_CMP_MSG *load_pkimsg(const char *file, OSSL_LIB_CTX *libctx) in load_pkimsg() 17 OSSL_CMP_MSG *msg; in load_pkimsg() 26 int valid_asn1_encoding(const OSSL_CMP_MSG *msg) in valid_asn1_encoding()
|
| H A D | cmp_testlib.h | 24 OSSL_CMP_MSG *load_pkimsg(const char *file, OSSL_LIB_CTX *libctx); 25 int valid_asn1_encoding(const OSSL_CMP_MSG *msg);
|
| /freebsd-14.2/crypto/openssl/test/ |
| H A D | cmp_server_test.c | 18 OSSL_CMP_MSG *req; 23 static OSSL_CMP_MSG *request = NULL; 50 const OSSL_CMP_MSG *cert_req, in process_cert_request() 68 OSSL_CMP_MSG *rsp = NULL; in execute_test_handle_request()
|
| H A D | cmp_msg_test.c | 27 OSSL_CMP_MSG *msg; 71 OSSL_CMP_MSG *msg = NULL; \ 433 OSSL_CMP_MSG *rpmsg = NULL; in execute_rp_create() 471 OSSL_CMP_MSG *pollrep; in execute_pollrep_create()
|
| /freebsd-14.2/crypto/openssl/apps/lib/ |
| H A D | cmp_mock_srv.c | 26 OSSL_CMP_MSG *certReq; /* ir/cr/p10cr/kur remembered while polling */ 174 const OSSL_CMP_MSG *cert_req, in process_cert_request() 263 const OSSL_CMP_MSG *rr, in process_rr() 295 const OSSL_CMP_MSG *genm, in process_genm() 317 static void process_error(OSSL_CMP_SRV_CTX *srv_ctx, const OSSL_CMP_MSG *error, in process_error() 364 const OSSL_CMP_MSG *certConf, in process_certConf() 395 const OSSL_CMP_MSG *pollReq, in process_pollReq() 397 OSSL_CMP_MSG **certReq, int64_t *check_after) in process_pollReq()
|
| /freebsd-14.2/crypto/openssl/util/ |
| H A D | check-format-test-negatives.c | 290 typedef OSSL_CMP_MSG *(*cmp_srv_process_cb_t) 291 (OSSL_CMP_SRV_CTX *ctx, OSSL_CMP_MSG *msg)
|
| /freebsd-14.2/crypto/openssl/apps/ |
| H A D | cmp.c | 738 static int write_PKIMESSAGE(const OSSL_CMP_MSG *msg, char **filenames) in write_PKIMESSAGE() 761 static OSSL_CMP_MSG *read_PKIMESSAGE(const char *desc, char **filenames) in read_PKIMESSAGE() 764 OSSL_CMP_MSG *ret; in read_PKIMESSAGE() 792 static OSSL_CMP_MSG *read_write_req_resp(OSSL_CMP_CTX *ctx, in read_write_req_resp() 793 const OSSL_CMP_MSG *req) in read_write_req_resp() 795 OSSL_CMP_MSG *req_new = NULL; in read_write_req_resp() 796 OSSL_CMP_MSG *res = NULL; in read_write_req_resp() 826 const OSSL_CMP_MSG *actual_req = req_new != NULL ? req_new : req; in read_write_req_resp() 2693 OSSL_CMP_MSG *req = NULL; in cmp_server() 2694 OSSL_CMP_MSG *resp = NULL; in cmp_server() [all …]
|