/third_party/openssl/test/ |
H A D | cmp_msg_test.c | 22 int bodytype; member 91 fixture->bodytype, in execute_certreq_create_test() 127 (fixture->cmp_ctx, fixture->bodytype)); in execute_pkimessage_create_test() 150 fixture->bodytype = OSSL_CMP_PKIBODY_IR; in test_cmp_create_ir_protection_set() 168 fixture->bodytype = OSSL_CMP_PKIBODY_IR; in test_cmp_create_ir_protection_fails() 185 fixture->bodytype = OSSL_CMP_PKIBODY_CR; in test_cmp_create_cr_without_key() 195 fixture->bodytype = OSSL_CMP_PKIBODY_CR; in test_cmp_create_cr() 209 fixture->bodytype = OSSL_CMP_PKIBODY_RR; in test_cmp_create_certreq_with_invalid_bodytype() 227 fixture->bodytype = OSSL_CMP_PKIBODY_P10CR; in test_cmp_create_p10cr() 244 fixture->bodytype in test_cmp_create_p10cr_null() 497 test_cmp_pkimessage_create(int bodytype) test_cmp_pkimessage_create() argument [all...] |
/third_party/node/deps/openssl/openssl/crypto/cmp/ |
H A D | cmp_msg.c | 161 OSSL_CMP_MSG *ossl_cmp_msg_create(OSSL_CMP_CTX *ctx, int bodytype) in ossl_cmp_msg_create() argument 171 || !ossl_cmp_msg_set_bodytype(msg, bodytype)) in ossl_cmp_msg_create() 178 switch (bodytype) { in ossl_cmp_msg_create() 445 OSSL_CMP_MSG *ossl_cmp_certrep_new(OSSL_CMP_CTX *ctx, int bodytype, in ossl_cmp_certrep_new() argument 459 if ((msg = ossl_cmp_msg_create(ctx, bodytype)) == NULL) in ossl_cmp_certrep_new() 497 if (bodytype == OSSL_CMP_PKIBODY_IP && caPubs != NULL in ossl_cmp_certrep_new() 639 int bodytype; in ossl_cmp_msg_gen_push0_ITAV() local 644 bodytype = OSSL_CMP_MSG_get_bodytype(msg); in ossl_cmp_msg_gen_push0_ITAV() 645 if (bodytype != OSSL_CMP_PKIBODY_GENM in ossl_cmp_msg_gen_push0_ITAV() 646 && bodytype ! in ossl_cmp_msg_gen_push0_ITAV() [all...] |
H A D | cmp_server.c | 166 int bodytype; in process_cert_request() local 175 bodytype = OSSL_CMP_PKIBODY_CP; in process_cert_request() 178 bodytype = OSSL_CMP_PKIBODY_IP; in process_cert_request() 181 bodytype = OSSL_CMP_PKIBODY_KUP; in process_cert_request() 235 msg = ossl_cmp_certrep_new(srv_ctx->ctx, bodytype, certReqId, si, in process_cert_request()
|
H A D | cmp_local.h | 826 /* OSSL_CMP_MSG bodytype ASN.1 choice IDs */ 865 OSSL_CMP_MSG *ossl_cmp_msg_create(OSSL_CMP_CTX *ctx, int bodytype); 866 OSSL_CMP_MSG *ossl_cmp_certreq_new(OSSL_CMP_CTX *ctx, int bodytype, 868 OSSL_CMP_MSG *ossl_cmp_certrep_new(OSSL_CMP_CTX *ctx, int bodytype,
|
H A D | cmp_client.c | 410 static X509 *get1_cert_status(OSSL_CMP_CTX *ctx, int bodytype, in get1_cert_status() argument 444 if (bodytype != OSSL_CMP_PKIBODY_KUR) { in get1_cert_status()
|
/third_party/openssl/crypto/cmp/ |
H A D | cmp_msg.c | 161 OSSL_CMP_MSG *ossl_cmp_msg_create(OSSL_CMP_CTX *ctx, int bodytype) in ossl_cmp_msg_create() argument 171 || !ossl_cmp_msg_set_bodytype(msg, bodytype)) in ossl_cmp_msg_create() 178 switch (bodytype) { in ossl_cmp_msg_create() 445 OSSL_CMP_MSG *ossl_cmp_certrep_new(OSSL_CMP_CTX *ctx, int bodytype, in ossl_cmp_certrep_new() argument 459 if ((msg = ossl_cmp_msg_create(ctx, bodytype)) == NULL) in ossl_cmp_certrep_new() 497 if (bodytype == OSSL_CMP_PKIBODY_IP && caPubs != NULL in ossl_cmp_certrep_new() 639 int bodytype; in ossl_cmp_msg_gen_push0_ITAV() local 644 bodytype = OSSL_CMP_MSG_get_bodytype(msg); in ossl_cmp_msg_gen_push0_ITAV() 645 if (bodytype != OSSL_CMP_PKIBODY_GENM in ossl_cmp_msg_gen_push0_ITAV() 646 && bodytype ! in ossl_cmp_msg_gen_push0_ITAV() [all...] |
H A D | cmp_server.c | 166 int bodytype; in process_cert_request() local 175 bodytype = OSSL_CMP_PKIBODY_CP; in process_cert_request() 178 bodytype = OSSL_CMP_PKIBODY_IP; in process_cert_request() 181 bodytype = OSSL_CMP_PKIBODY_KUP; in process_cert_request() 235 msg = ossl_cmp_certrep_new(srv_ctx->ctx, bodytype, certReqId, si, in process_cert_request()
|
H A D | cmp_local.h | 826 /* OSSL_CMP_MSG bodytype ASN.1 choice IDs */ 865 OSSL_CMP_MSG *ossl_cmp_msg_create(OSSL_CMP_CTX *ctx, int bodytype); 866 OSSL_CMP_MSG *ossl_cmp_certreq_new(OSSL_CMP_CTX *ctx, int bodytype, 868 OSSL_CMP_MSG *ossl_cmp_certrep_new(OSSL_CMP_CTX *ctx, int bodytype,
|
H A D | cmp_client.c | 413 static X509 *get1_cert_status(OSSL_CMP_CTX *ctx, int bodytype, in get1_cert_status() argument 447 if (bodytype != OSSL_CMP_PKIBODY_KUR) { in get1_cert_status()
|
/third_party/node/deps/openssl/openssl/apps/include/ |
H A D | cmp_mock_srv.h | 30 int ossl_cmp_mock_srv_set_sendError(OSSL_CMP_SRV_CTX *srv_ctx, int bodytype);
|
/third_party/openssl/apps/include/ |
H A D | cmp_mock_srv.h | 30 int ossl_cmp_mock_srv_set_sendError(OSSL_CMP_SRV_CTX *srv_ctx, int bodytype);
|
/third_party/node/deps/openssl/openssl/apps/lib/ |
H A D | cmp_mock_srv.c | 132 int ossl_cmp_mock_srv_set_sendError(OSSL_CMP_SRV_CTX *srv_ctx, int bodytype) in ossl_cmp_mock_srv_set_sendError() argument 140 /* might check bodytype, but this would require exporting all body types */ in ossl_cmp_mock_srv_set_sendError() 141 ctx->sendError = bodytype; in ossl_cmp_mock_srv_set_sendError()
|
/third_party/openssl/apps/lib/ |
H A D | cmp_mock_srv.c | 132 int ossl_cmp_mock_srv_set_sendError(OSSL_CMP_SRV_CTX *srv_ctx, int bodytype) in ossl_cmp_mock_srv_set_sendError() argument 140 /* might check bodytype, but this would require exporting all body types */ in ossl_cmp_mock_srv_set_sendError() 141 ctx->sendError = bodytype; in ossl_cmp_mock_srv_set_sendError()
|