| /src/crypto/external/bsd/openssl/dist/include/openssl/ |
| cmp.h.in | 215 typedef struct ossl_cmp_ctx_st OSSL_CMP_CTX; 265 OSSL_CMP_CTX *OSSL_CMP_CTX_new(OSSL_LIB_CTX *libctx, const char *propq); 266 void OSSL_CMP_CTX_free(OSSL_CMP_CTX *ctx); 267 int OSSL_CMP_CTX_reinit(OSSL_CMP_CTX *ctx); 291 int OSSL_CMP_CTX_set_option(OSSL_CMP_CTX *ctx, int opt, int val); 292 int OSSL_CMP_CTX_get_option(const OSSL_CMP_CTX *ctx, int opt); 294 int OSSL_CMP_CTX_set_log_cb(OSSL_CMP_CTX *ctx, OSSL_CMP_log_cb_t cb); 297 void OSSL_CMP_CTX_print_errors(const OSSL_CMP_CTX *ctx); 299 int OSSL_CMP_CTX_set1_serverPath(OSSL_CMP_CTX *ctx, const char *path); 300 int OSSL_CMP_CTX_set1_server(OSSL_CMP_CTX *ctx, const char *address) [all...] |
| /src/crypto/external/apache2/openssl/dist/include/openssl/ |
| cmp.h.in | 218 typedef struct ossl_cmp_ctx_st OSSL_CMP_CTX; 347 OSSL_CMP_CTX *OSSL_CMP_CTX_new(OSSL_LIB_CTX *libctx, const char *propq); 348 void OSSL_CMP_CTX_free(OSSL_CMP_CTX *ctx); 349 int OSSL_CMP_CTX_reinit(OSSL_CMP_CTX *ctx); 350 OSSL_LIB_CTX *OSSL_CMP_CTX_get0_libctx(const OSSL_CMP_CTX *ctx); 351 const char *OSSL_CMP_CTX_get0_propq(const OSSL_CMP_CTX *ctx); 377 int OSSL_CMP_CTX_set_option(OSSL_CMP_CTX *ctx, int opt, int val); 378 int OSSL_CMP_CTX_get_option(const OSSL_CMP_CTX *ctx, int opt); 380 int OSSL_CMP_CTX_set_log_cb(OSSL_CMP_CTX *ctx, OSSL_CMP_log_cb_t cb); 383 void OSSL_CMP_CTX_print_errors(const OSSL_CMP_CTX *ctx) [all...] |
| /src/crypto/external/apache2/openssl/dist/crypto/cmp/ |
| cmp_local.h | 139 } /* OSSL_CMP_CTX */; 837 int ossl_cmp_print_log(OSSL_CMP_severity level, const OSSL_CMP_CTX *ctx, 863 int ossl_cmp_ctx_set1_validatedSrvCert(OSSL_CMP_CTX *ctx, X509 *cert); 864 int ossl_cmp_ctx_set_status(OSSL_CMP_CTX *ctx, int status); 865 int ossl_cmp_ctx_set0_statusString(OSSL_CMP_CTX *ctx, 867 int ossl_cmp_ctx_set_failInfoCode(OSSL_CMP_CTX *ctx, int fail_info); 868 int ossl_cmp_ctx_set0_newCert(OSSL_CMP_CTX *ctx, X509 *cert); 869 int ossl_cmp_ctx_set1_newChain(OSSL_CMP_CTX *ctx, STACK_OF(X509) *newChain); 870 int ossl_cmp_ctx_set1_caPubs(OSSL_CMP_CTX *ctx, STACK_OF(X509) *caPubs); 871 int ossl_cmp_ctx_set1_extraCertsIn(OSSL_CMP_CTX *ctx [all...] |
| cmp_ctx.c | 26 TYPE *OSSL_CMP_CTX_get0_##NAME(const OSSL_CMP_CTX *ctx) \ 43 int PREFIX##_set0##_##NAME(OSSL_CMP_CTX *ctx, TYPE *val) \ 59 DEFINE_OSSL_set0_NAME(OSSL_CMP_CTX, trusted, trusted, X509_STORE) 71 int OSSL_CMP_CTX_set1_untrusted(OSSL_CMP_CTX *ctx, STACK_OF(X509) *certs) 90 static int cmp_ctx_set_md(OSSL_CMP_CTX *ctx, EVP_MD **pmd, int nid) 105 * Allocates and initializes OSSL_CMP_CTX context structure with default values. 108 OSSL_CMP_CTX *OSSL_CMP_CTX_new(OSSL_LIB_CTX *libctx, const char *propq) 110 OSSL_CMP_CTX *ctx = OPENSSL_zalloc(sizeof(*ctx)); 159 /* Prepare the OSSL_CMP_CTX for next use, partly re-initializing OSSL_CMP_CTX */ [all...] |
| cmp_protect.c | 33 ASN1_BIT_STRING *ossl_cmp_calc_protection(const OSSL_CMP_CTX *ctx, 133 void ossl_cmp_set_own_chain(OSSL_CMP_CTX *ctx) 153 int ossl_cmp_msg_add_extraCerts(OSSL_CMP_CTX *ctx, OSSL_CMP_MSG *msg) 193 static X509_ALGOR *pbmac_algor(const OSSL_CMP_CTX *ctx) 224 static int set_senderKID(const OSSL_CMP_CTX *ctx, OSSL_CMP_MSG *msg, 233 int ossl_cmp_msg_protect(OSSL_CMP_CTX *ctx, OSSL_CMP_MSG *msg)
|
| cmp_vfy.c | 25 static int verify_signature(const OSSL_CMP_CTX *cmp_ctx, 79 static int verify_PBMAC(OSSL_CMP_CTX *ctx, const OSSL_CMP_MSG *msg) 108 int OSSL_CMP_validate_cert_path(const OSSL_CMP_CTX *ctx, 163 static int check_name(const OSSL_CMP_CTX *ctx, int log_success, 196 static int check_kid(const OSSL_CMP_CTX *ctx, 246 static int cert_acceptable(const OSSL_CMP_CTX *ctx, 309 static int check_cert_path(const OSSL_CMP_CTX *ctx, X509_STORE *store, 327 static int check_cert_path_3gpp(const OSSL_CMP_CTX *ctx, 366 static int check_msg_given_cert(const OSSL_CMP_CTX *ctx, X509 *cert, 380 static int check_msg_with_certs(OSSL_CMP_CTX *ctx, const STACK_OF(X509) *certs [all...] |
| cmp_genm.c | 14 static const X509_VERIFY_PARAM *get0_trustedStore_vpm(const OSSL_CMP_CTX *ctx) 22 OSSL_CMP_severity level, OSSL_CMP_CTX *ctx, 35 static int ossl_X509_check(OSSL_CMP_CTX *ctx, const char *source, X509 *cert, 60 static int ossl_X509_check_all(OSSL_CMP_CTX *ctx, const char *source, 74 static OSSL_CMP_ITAV *get_genm_itav(OSSL_CMP_CTX *ctx, 140 int OSSL_CMP_get1_caCerts(OSSL_CMP_CTX *ctx, STACK_OF(X509) **out) 247 verify_ss_cert_trans(OSSL_CMP_CTX *ctx, X509 *trusted /* may be NULL */, 284 int OSSL_CMP_get1_rootCaKeyUpdate(OSSL_CMP_CTX *ctx, 345 int OSSL_CMP_get1_crlUpdate(OSSL_CMP_CTX *ctx, const X509 *crlcert, 405 int OSSL_CMP_get1_certReqTemplate(OSSL_CMP_CTX *ctx [all...] |
| cmp_client.c | 31 static int unprotected_exception(const OSSL_CMP_CTX *ctx, 85 static int save_statusInfo(OSSL_CMP_CTX *ctx, OSSL_CMP_PKISI *si) 139 static int send_receive_check(OSSL_CMP_CTX *ctx, const OSSL_CMP_MSG *req, 277 static int poll_for_response(OSSL_CMP_CTX *ctx, int sleep, int rid, 396 static int save_senderNonce_if_waiting(OSSL_CMP_CTX *ctx, 416 static int send_receive_also_delayed(OSSL_CMP_CTX *ctx, const OSSL_CMP_MSG *req, 452 int ossl_cmp_exchange_certConf(OSSL_CMP_CTX *ctx, int certReqId, 474 int ossl_cmp_exchange_error(OSSL_CMP_CTX *ctx, int status, int fail_info, 504 static X509 *get1_cert_status(OSSL_CMP_CTX *ctx, int bodytype, 579 int OSSL_CMP_certConf_cb(OSSL_CMP_CTX *ctx, X509 *cert, int fail_info [all...] |
| cmp_msg.c | 185 OSSL_CMP_MSG *ossl_cmp_msg_create(OSSL_CMP_CTX *ctx, int bodytype) 279 static const X509_NAME *determine_subj(OSSL_CMP_CTX *ctx, int for_KUR, 295 OSSL_CRMF_MSG *OSSL_CMP_CTX_setup_CRM(OSSL_CMP_CTX *ctx, int for_KUR, int rid) 406 OSSL_CMP_MSG *ossl_cmp_certreq_new(OSSL_CMP_CTX *ctx, int type, 475 static OSSL_CRMF_ENCRYPTEDKEY *enc_privkey(OSSL_CMP_CTX *ctx, const EVP_PKEY *pkey) 511 OSSL_CMP_MSG *ossl_cmp_certrep_new(OSSL_CMP_CTX *ctx, int bodytype, 595 OSSL_CMP_MSG *ossl_cmp_rr_new(OSSL_CMP_CTX *ctx) 658 OSSL_CMP_MSG *ossl_cmp_rp_new(OSSL_CMP_CTX *ctx, const OSSL_CMP_PKISI *si, 704 OSSL_CMP_MSG *ossl_cmp_pkiconf_new(OSSL_CMP_CTX *ctx) 764 static OSSL_CMP_MSG *gen_new(OSSL_CMP_CTX *ctx [all...] |
| cmp_hdr.c | 121 static int set_random(ASN1_OCTET_STRING **tgt, OSSL_CMP_CTX *ctx, size_t len) 252 int ossl_cmp_hdr_set_transactionID(OSSL_CMP_CTX *ctx, OSSL_CMP_PKIHEADER *hdr) 272 int ossl_cmp_hdr_init(OSSL_CMP_CTX *ctx, OSSL_CMP_PKIHEADER *hdr)
|
| /src/crypto/external/bsd/openssl/dist/crypto/cmp/ |
| cmp_ctx.c | 26 X509_STORE *OSSL_CMP_CTX_get0_trustedStore(const OSSL_CMP_CTX *ctx) 40 int OSSL_CMP_CTX_set0_trustedStore(OSSL_CMP_CTX *ctx, X509_STORE *store) 52 STACK_OF(X509) *OSSL_CMP_CTX_get0_untrusted(const OSSL_CMP_CTX *ctx) 65 int OSSL_CMP_CTX_set1_untrusted(OSSL_CMP_CTX *ctx, STACK_OF(X509) *certs) 84 static int cmp_ctx_set_md(OSSL_CMP_CTX *ctx, EVP_MD **pmd, int nid) 99 * Allocates and initializes OSSL_CMP_CTX context structure with default values. 102 OSSL_CMP_CTX *OSSL_CMP_CTX_new(OSSL_LIB_CTX *libctx, const char *propq) 104 OSSL_CMP_CTX *ctx = OPENSSL_zalloc(sizeof(*ctx)); 152 /* Prepare the OSSL_CMP_CTX for next use, partly re-initializing OSSL_CMP_CTX */ [all...] |
| cmp_local.h | 133 } /* OSSL_CMP_CTX */; 754 int ossl_cmp_print_log(OSSL_CMP_severity level, const OSSL_CMP_CTX *ctx, 780 int ossl_cmp_ctx_set0_validatedSrvCert(OSSL_CMP_CTX *ctx, X509 *cert); 781 int ossl_cmp_ctx_set_status(OSSL_CMP_CTX *ctx, int status); 782 int ossl_cmp_ctx_set0_statusString(OSSL_CMP_CTX *ctx, 784 int ossl_cmp_ctx_set_failInfoCode(OSSL_CMP_CTX *ctx, int fail_info); 785 int ossl_cmp_ctx_set0_newCert(OSSL_CMP_CTX *ctx, X509 *cert); 786 int ossl_cmp_ctx_set1_newChain(OSSL_CMP_CTX *ctx, STACK_OF(X509) *newChain); 787 int ossl_cmp_ctx_set1_caPubs(OSSL_CMP_CTX *ctx, STACK_OF(X509) *caPubs); 788 int ossl_cmp_ctx_set1_extraCertsIn(OSSL_CMP_CTX *ctx [all...] |
| cmp_vfy.c | 25 static int verify_signature(const OSSL_CMP_CTX *cmp_ctx, 77 static int verify_PBMAC(OSSL_CMP_CTX *ctx, const OSSL_CMP_MSG *msg) 105 int OSSL_CMP_validate_cert_path(const OSSL_CMP_CTX *ctx, 142 static int check_name(const OSSL_CMP_CTX *ctx, int log_success, 175 static int check_kid(const OSSL_CMP_CTX *ctx, 225 static int cert_acceptable(const OSSL_CMP_CTX *ctx, 284 static int check_cert_path(const OSSL_CMP_CTX *ctx, X509_STORE *store, 302 static int check_cert_path_3gpp(const OSSL_CMP_CTX *ctx, 344 static int check_msg_given_cert(const OSSL_CMP_CTX *ctx, X509 *cert, 358 static int check_msg_with_certs(OSSL_CMP_CTX *ctx, const STACK_OF(X509) *certs [all...] |
| cmp_protect.c | 30 ASN1_BIT_STRING *ossl_cmp_calc_protection(const OSSL_CMP_CTX *ctx, 133 int ossl_cmp_msg_add_extraCerts(OSSL_CMP_CTX *ctx, OSSL_CMP_MSG *msg) 188 static int set_pbmac_algor(const OSSL_CMP_CTX *ctx, X509_ALGOR **alg) 226 static int set_sig_algor(const OSSL_CMP_CTX *ctx, X509_ALGOR **alg) 247 static int set_senderKID(const OSSL_CMP_CTX *ctx, OSSL_CMP_MSG *msg, 256 int ossl_cmp_msg_protect(OSSL_CMP_CTX *ctx, OSSL_CMP_MSG *msg)
|
| cmp_msg.c | 161 OSSL_CMP_MSG *ossl_cmp_msg_create(OSSL_CMP_CTX *ctx, int bodytype) 256 static const X509_NAME *determine_subj(OSSL_CMP_CTX *ctx, int for_KUR, 272 OSSL_CRMF_MSG *OSSL_CMP_CTX_setup_CRM(OSSL_CMP_CTX *ctx, int for_KUR, int rid) 377 OSSL_CMP_MSG *ossl_cmp_certreq_new(OSSL_CMP_CTX *ctx, int type, 445 OSSL_CMP_MSG *ossl_cmp_certrep_new(OSSL_CMP_CTX *ctx, int bodytype, 519 OSSL_CMP_MSG *ossl_cmp_rr_new(OSSL_CMP_CTX *ctx) 572 OSSL_CMP_MSG *ossl_cmp_rp_new(OSSL_CMP_CTX *ctx, const OSSL_CMP_PKISI *si, 619 OSSL_CMP_MSG *ossl_cmp_pkiconf_new(OSSL_CMP_CTX *ctx) 679 static OSSL_CMP_MSG *gen_new(OSSL_CMP_CTX *ctx, 705 OSSL_CMP_MSG *ossl_cmp_genm_new(OSSL_CMP_CTX *ctx [all...] |
| cmp_client.c | 32 static int unprotected_exception(const OSSL_CMP_CTX *ctx, 89 static int save_statusInfo(OSSL_CMP_CTX *ctx, OSSL_CMP_PKISI *si) 126 static int send_receive_check(OSSL_CMP_CTX *ctx, const OSSL_CMP_MSG *req, 253 static int poll_for_response(OSSL_CMP_CTX *ctx, int sleep, int rid, 363 int ossl_cmp_exchange_certConf(OSSL_CMP_CTX *ctx, int certReqId, 384 int ossl_cmp_exchange_error(OSSL_CMP_CTX *ctx, int status, int fail_info, 413 static X509 *get1_cert_status(OSSL_CMP_CTX *ctx, int bodytype, 488 int OSSL_CMP_certConf_cb(OSSL_CMP_CTX *ctx, X509 *cert, int fail_info, 560 static int cert_response(OSSL_CMP_CTX *ctx, int sleep, int rid, 670 static int initial_certreq(OSSL_CMP_CTX *ctx [all...] |
| cmp_http.c | 51 OSSL_CMP_MSG *OSSL_CMP_MSG_http_perform(OSSL_CMP_CTX *ctx,
|
| /src/crypto/external/bsd/openssl/dist/fuzz/ |
| cmp.c | 31 static OSSL_CMP_MSG *transfer_cb(OSSL_CMP_CTX *ctx, const OSSL_CMP_MSG *req) 45 static int allow_unprotected(const OSSL_CMP_CTX *ctx, const OSSL_CMP_MSG *rep, 51 static void cmp_client_process_response(OSSL_CMP_CTX *ctx, OSSL_CMP_MSG *msg) 172 OSSL_CMP_CTX *client_ctx = OSSL_CMP_CTX_new(NULL, NULL);
|
| /src/crypto/external/bsd/openssl/dist/test/ |
| cmp_client_test.c | 26 OSSL_CMP_CTX *cmp_ctx; 59 OSSL_CMP_CTX *srv_cmp_ctx = NULL; 60 OSSL_CMP_CTX *ctx = NULL; /* for client */ 104 OSSL_CMP_CTX *ctx = fixture->cmp_ctx; 127 OSSL_CMP_CTX *ctx = fixture->cmp_ctx; 310 static int test_certConf_cb(OSSL_CMP_CTX *ctx, X509 *cert, int fail_info, 324 OSSL_CMP_CTX *ctx; 356 OSSL_CMP_CTX *ctx = fixture->cmp_ctx; 385 OSSL_CMP_CTX *ctx = fixture->cmp_ctx;
|
| cmp_server_test.c | 65 OSSL_CMP_CTX *client_ctx; 66 OSSL_CMP_CTX *cmp_ctx;
|
| cmp_ctx_test.c | 23 OSSL_CMP_CTX *ctx; 67 OSSL_CMP_CTX *ctx = fixture->ctx; 141 OSSL_CMP_CTX *ctx = fixture->ctx; 204 OSSL_CMP_CTX *ctx = fixture->ctx; 266 OSSL_CMP_CTX *ctx = fixture->ctx; 314 static OSSL_CMP_MSG *test_transfer_cb(OSSL_CMP_CTX *ctx, 320 static int test_certConf_cb(OSSL_CMP_CTX *ctx, X509 *cert, int fail_info, 326 typedef OSSL_CMP_CTX CMP_CTX; /* prevents rewriting type name by below macro */ 327 #define OSSL_CMP_CTX 1 /* name prefix for exported setter functions */ 328 #define ossl_cmp_ctx 0 /* name prefix for internal setter functions * macro [all...] |
| /src/crypto/external/apache2/openssl/dist/fuzz/ |
| cmp.c | 31 static OSSL_CMP_MSG *transfer_cb(OSSL_CMP_CTX *ctx, const OSSL_CMP_MSG *req) 45 static int allow_unprotected(const OSSL_CMP_CTX *ctx, const OSSL_CMP_MSG *rep, 51 static void cmp_client_process_response(OSSL_CMP_CTX *ctx, OSSL_CMP_MSG *msg) 184 OSSL_CMP_CTX *client_ctx = OSSL_CMP_CTX_new(NULL, NULL);
|
| /src/crypto/external/apache2/openssl/dist/test/ |
| cmp_client_test.c | 24 OSSL_CMP_CTX *cmp_ctx; 57 OSSL_CMP_CTX *srv_cmp_ctx = NULL; 58 OSSL_CMP_CTX *ctx = NULL; /* for client */ 102 OSSL_CMP_CTX *ctx = fixture->cmp_ctx; 126 OSSL_CMP_CTX *ctx = fixture->cmp_ctx; 324 static int test_certConf_cb(OSSL_CMP_CTX *ctx, X509 *cert, int fail_info, 338 OSSL_CMP_CTX *ctx; 370 OSSL_CMP_CTX *ctx = fixture->cmp_ctx; 399 OSSL_CMP_CTX *ctx = fixture->cmp_ctx;
|
| cmp_ctx_test.c | 18 OSSL_CMP_CTX *ctx; 62 OSSL_CMP_CTX *ctx = fixture->ctx; 115 OSSL_CMP_CTX *cmpctx = OSSL_CMP_CTX_new(libctx, propq); 153 OSSL_CMP_CTX *ctx = fixture->ctx; 218 OSSL_CMP_CTX *ctx = fixture->ctx; 283 OSSL_CMP_CTX *ctx = fixture->ctx; 335 static OSSL_CMP_MSG *test_transfer_cb(OSSL_CMP_CTX *ctx, 341 static int test_certConf_cb(OSSL_CMP_CTX *ctx, X509 *cert, int fail_info, 347 typedef OSSL_CMP_CTX CMP_CTX; /* prevents rewriting type name by below macro */ 348 #define OSSL_CMP_CTX 1 /* name prefix for exported setter functions * 349 #define ossl_cmp_ctx macro [all...] |
| cmp_server_test.c | 65 OSSL_CMP_CTX *client_ctx; 66 OSSL_CMP_CTX *cmp_ctx;
|