Home
last modified time | relevance | path

Searched refs:bodytype (Results 1 - 13 of 13) sorted by relevance

/third_party/openssl/test/
H A Dcmp_msg_test.c22 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 Dcmp_msg.c161 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 Dcmp_server.c166 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 Dcmp_local.h826 /* 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 Dcmp_client.c410 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 Dcmp_msg.c161 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 Dcmp_server.c166 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 Dcmp_local.h826 /* 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 Dcmp_client.c413 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 Dcmp_mock_srv.h30 int ossl_cmp_mock_srv_set_sendError(OSSL_CMP_SRV_CTX *srv_ctx, int bodytype);
/third_party/openssl/apps/include/
H A Dcmp_mock_srv.h30 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 Dcmp_mock_srv.c132 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 Dcmp_mock_srv.c132 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()

Completed in 14 milliseconds