Home
last modified time | relevance | path

Searched refs:crm (Results 1 – 19 of 19) sorted by relevance

/freebsd/crypto/openssl/crypto/crmf/
H A Dcrmf_lib.c89 static int OSSL_CRMF_MSG_push0_regCtrl(OSSL_CRMF_MSG *crm, in OSSL_CRMF_MSG_push0_regCtrl() argument
94 if (crm == NULL || crm->certReq == NULL || ctrl == NULL) { in OSSL_CRMF_MSG_push0_regCtrl()
99 if (crm->certReq->controls == NULL) { in OSSL_CRMF_MSG_push0_regCtrl()
100 crm->certReq->controls = sk_OSSL_CRMF_ATTRIBUTETYPEANDVALUE_new_null(); in OSSL_CRMF_MSG_push0_regCtrl()
101 if (crm->certReq->controls == NULL) in OSSL_CRMF_MSG_push0_regCtrl()
105 if (!sk_OSSL_CRMF_ATTRIBUTETYPEANDVALUE_push(crm->certReq->controls, ctrl)) in OSSL_CRMF_MSG_push0_regCtrl()
111 sk_OSSL_CRMF_ATTRIBUTETYPEANDVALUE_free(crm->certReq->controls); in OSSL_CRMF_MSG_push0_regCtrl()
112 crm->certReq->controls = NULL; in OSSL_CRMF_MSG_push0_regCtrl()
215 static int OSSL_CRMF_MSG_push0_regInfo(OSSL_CRMF_MSG *crm, in IMPLEMENT_CRMF_CTRL_FUNC()
220 if (crm == NULL || ri == NULL) { in IMPLEMENT_CRMF_CTRL_FUNC()
[all …]
/freebsd/crypto/openssl/doc/man3/
H A DOSSL_CRMF_MSG_set0_validity.pod18 int OSSL_CRMF_MSG_set0_validity(OSSL_CRMF_MSG *crm,
21 int OSSL_CRMF_MSG_set_certReqId(OSSL_CRMF_MSG *crm, int rid);
29 int OSSL_CRMF_MSG_set0_extensions(OSSL_CRMF_MSG *crm, X509_EXTENSIONS *exts);
31 int OSSL_CRMF_MSG_push0_extension(OSSL_CRMF_MSG *crm, X509_EXTENSION *ext);
33 int OSSL_CRMF_MSG_create_popo(int meth, OSSL_CRMF_MSG *crm,
44 as validity constraints in the certTemplate of I<crm>.
47 On success ownership of I<notBefore> and I<notAfter> is transferred to I<crm>.
49 OSSL_CRMF_MSG_set_certReqId() sets I<rid> as the certReqId of I<crm>.
59 certTemplate of I<crm>. Frees any pre-existing ones and consumes I<exts>.
62 extensions in the certTemplate of I<crm>. Consumes I<ext>.
[all …]
H A DOSSL_CRMF_MSG_get0_tmpl.pod20 OSSL_CRMF_CERTTEMPLATE *OSSL_CRMF_MSG_get0_tmpl(const OSSL_CRMF_MSG *crm);
39 int OSSL_CRMF_MSG_get_certReqId(const OSSL_CRMF_MSG *crm);
44 OSSL_CRMF_MSG_get0_tmpl() retrieves the certificate template of I<crm>.
71 OSSL_CRMF_MSG_get_certReqId() retrieves the certReqId of I<crm>.
H A DOSSL_CMP_exec_certreq.pod24 const OSSL_CRMF_MSG *crm);
34 const OSSL_CRMF_MSG *crm, int *checkAfter);
69 may be supplied via the I<crm> parameter pointing to a CRMF structure.
70 Typically I<crm> is NULL, then the template ingredients are taken from I<ctx>
81 constructed as stated above using the I<req_type> and optional I<crm> parameter.
H A DOSSL_CMP_SRV_CTX_new.pod39 const OSSL_CRMF_MSG *crm,
/freebsd/crypto/openssl/include/openssl/
H A Dcrmf.h.in135 int OSSL_CRMF_MSG_set0_validity(OSSL_CRMF_MSG *crm,
137 int OSSL_CRMF_MSG_set_certReqId(OSSL_CRMF_MSG *crm, int rid);
138 int OSSL_CRMF_MSG_get_certReqId(const OSSL_CRMF_MSG *crm);
139 int OSSL_CRMF_MSG_set0_extensions(OSSL_CRMF_MSG *crm, X509_EXTENSIONS *exts);
141 int OSSL_CRMF_MSG_push0_extension(OSSL_CRMF_MSG *crm, X509_EXTENSION *ext);
147 int OSSL_CRMF_MSG_create_popo(int meth, OSSL_CRMF_MSG *crm,
153 OSSL_CRMF_CERTTEMPLATE *OSSL_CRMF_MSG_get0_tmpl(const OSSL_CRMF_MSG *crm);
H A Dcrmf.h182 int OSSL_CRMF_MSG_set0_validity(OSSL_CRMF_MSG *crm,
184 int OSSL_CRMF_MSG_set_certReqId(OSSL_CRMF_MSG *crm, int rid);
185 int OSSL_CRMF_MSG_get_certReqId(const OSSL_CRMF_MSG *crm);
186 int OSSL_CRMF_MSG_set0_extensions(OSSL_CRMF_MSG *crm, X509_EXTENSIONS *exts);
188 int OSSL_CRMF_MSG_push0_extension(OSSL_CRMF_MSG *crm, X509_EXTENSION *ext);
194 int OSSL_CRMF_MSG_create_popo(int meth, OSSL_CRMF_MSG *crm,
200 OSSL_CRMF_CERTTEMPLATE *OSSL_CRMF_MSG_get0_tmpl(const OSSL_CRMF_MSG *crm);
H A Dcmp.h.in414 const OSSL_CRMF_MSG *crm, const X509_REQ *p10cr,
456 const OSSL_CRMF_MSG *crm);
470 const OSSL_CRMF_MSG *crm, int *checkAfter);
H A Dcmp.h533 const OSSL_CRMF_MSG *crm, const X509_REQ *p10cr,
575 const OSSL_CRMF_MSG *crm);
589 const OSSL_CRMF_MSG *crm, int *checkAfter);
/freebsd/crypto/openssl/crypto/cmp/
H A Dcmp_msg.c274 OSSL_CRMF_MSG *crm = NULL; in OSSL_CMP_CTX_setup_CRM() local
299 if ((crm = OSSL_CRMF_MSG_new()) == NULL) in OSSL_CMP_CTX_setup_CRM()
301 if (!OSSL_CRMF_MSG_set_certReqId(crm, rid) in OSSL_CMP_CTX_setup_CRM()
307 || !OSSL_CRMF_CERTTEMPLATE_fill(OSSL_CRMF_MSG_get0_tmpl(crm), rkey, in OSSL_CMP_CTX_setup_CRM()
317 || !OSSL_CRMF_MSG_set0_validity(crm, notBefore, notAfter)) { in OSSL_CMP_CTX_setup_CRM()
345 if (!OSSL_CRMF_MSG_set0_extensions(crm, exts)) in OSSL_CMP_CTX_setup_CRM()
359 ret = OSSL_CRMF_MSG_set1_regCtrl_oldCertID(crm, cid); in OSSL_CMP_CTX_setup_CRM()
368 OSSL_CRMF_MSG_free(crm); in OSSL_CMP_CTX_setup_CRM()
369 crm = NULL; in OSSL_CMP_CTX_setup_CRM()
374 return crm; in OSSL_CMP_CTX_setup_CRM()
[all …]
H A Dcmp_client.c671 int req_type, const OSSL_CRMF_MSG *crm, in initial_certreq() argument
682 if ((req = ossl_cmp_certreq_new(ctx, req_type, crm)) == NULL) in initial_certreq()
692 const OSSL_CRMF_MSG *crm, int *checkAfter) in OSSL_CMP_try_certreq() argument
706 if (!initial_certreq(ctx, req_type, crm, &rep, rep_type)) in OSSL_CMP_try_certreq()
733 const OSSL_CRMF_MSG *crm) in OSSL_CMP_exec_certreq() argument
747 if (!initial_certreq(ctx, req_type, crm, &rep, rep_type)) in OSSL_CMP_exec_certreq()
H A Dcmp_server.c164 const OSSL_CRMF_MSG *crm = NULL; in process_cert_request() local
199 if ((crm = sk_OSSL_CRMF_MSG_value(reqs, OSSL_CMP_CERTREQID)) == NULL) { in process_cert_request()
203 certReqId = OSSL_CRMF_MSG_get_certReqId(crm); in process_cert_request()
221 si = srv_ctx->process_cert_request(srv_ctx, req, certReqId, crm, p10cr, in process_cert_request()
H A Dcmp_local.h867 const OSSL_CRMF_MSG *crm);
904 ossl_cmp_certrepmessage_get0_certresponse(const OSSL_CMP_CERTREPMESSAGE *crm,
/freebsd/crypto/openssl/apps/lib/
H A Dcmp_mock_srv.c176 const OSSL_CRMF_MSG *crm, in process_cert_request() argument
216 && crm != NULL && ctx->certOut != NULL) { in process_cert_request()
217 const OSSL_CRMF_CERTID *cid = OSSL_CRMF_MSG_get0_regCtrl_oldCertID(crm); in process_cert_request()
/freebsd/crypto/openssl/test/
H A Dcmp_server_test.c52 const OSSL_CRMF_MSG *crm, in process_cert_request() argument
/freebsd/crypto/openssl/doc/internal/man3/
H A Dossl_cmp_certreq_new.pod23 const OSSL_CRMF_MSG *crm);
53 The CRMF message to use may be given explicitly via a non-NULL I<crm> argument,
/freebsd/crypto/openssl/fuzz/
H A Dcmp.c105 const OSSL_CRMF_MSG *crm, in process_cert_request() argument
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64SystemOperands.td44 class AT<string name, bits<3> op1, bits<4> crn, bits<4> crm,
53 let Encoding{6-3} = crm;
125 class DC<string name, bits<3> op1, bits<4> crn, bits<4> crm,
134 let Encoding{6-3} = crm;
184 class IC<string name, bits<3> op1, bits<4> crn, bits<4> crm, bits<3> op2,
193 let Encoding{6-3} = crm;
511 class TLBIEntry<string name, bits<3> op1, bits<4> crn, bits<4> crm,
517 let Encoding{6-3} = crm;
541 multiclass TLBI<string name, bits<3> op1, bits<4> crn, bits<4> crm,
543 def : TLBIEntry<name, op1, crn, crm, op2, needsreg>;
[all …]
/freebsd/sys/arm64/include/
H A Darmreg.h55 #define __MRS_REG(op0, op1, crn, crm, op2) \ argument
57 ((crn) << MRS_CRn_SHIFT) | ((crm) << MRS_CRm_SHIFT) | \
62 #define __MRS_REG_ALT_NAME(op0, op1, crn, crm, op2) \ argument
63 S##op0##_##op1##_C##crn##_C##crm##_##op2
64 #define _MRS_REG_ALT_NAME(op0, op1, crn, crm, op2) \ argument
65 __MRS_REG_ALT_NAME(op0, op1, crn, crm, op2)