Lines Matching refs:val
43 int PREFIX##_set0##_##NAME(OSSL_CMP_CTX *ctx, TYPE *val) \ in DEFINE_OSSL_CMP_CTX_get0_NAME()
50 ctx->FIELD = val; \ in DEFINE_OSSL_CMP_CTX_get0_NAME()
256 int PREFIX##_set_##FIELD(OSSL_CMP_CTX *ctx, TYPE val) \
262 ctx->FIELD = val; \
567 int OSSL_CMP_CTX_set1_##FIELD(OSSL_CMP_CTX *ctx, const TYPE *val) \ in DEFINE_OSSL_set1_certs()
576 if (val != NULL && (val_dup = TYPE##_dup(val)) == NULL) \ in DEFINE_OSSL_set1_certs()
587 int PREFIX##_set1_##FIELD(OSSL_CMP_CTX *ctx, TYPE *val) \
595 if (val != NULL && TYPE##_invalid(val)) { \
599 if (val != NULL && !TYPE##_up_ref(val)) \
602 ctx->FIELD = val; \
873 int OSSL_CMP_CTX_set_option(OSSL_CMP_CTX *ctx, int opt, int val) in DEFINE_set1_ASN1_OCTET_STRING()
893 if (val < min_val) { in DEFINE_set1_ASN1_OCTET_STRING()
900 if (val > OSSL_CMP_LOG_MAX) { in DEFINE_set1_ASN1_OCTET_STRING()
904 ctx->log_verbosity = val; in DEFINE_set1_ASN1_OCTET_STRING()
907 ctx->implicitConfirm = val; in DEFINE_set1_ASN1_OCTET_STRING()
910 ctx->disableConfirm = val; in DEFINE_set1_ASN1_OCTET_STRING()
913 ctx->unprotectedSend = val; in DEFINE_set1_ASN1_OCTET_STRING()
916 ctx->unprotectedErrors = val; in DEFINE_set1_ASN1_OCTET_STRING()
919 ctx->noCacheExtraCerts = val; in DEFINE_set1_ASN1_OCTET_STRING()
922 ctx->days = val; in DEFINE_set1_ASN1_OCTET_STRING()
925 ctx->SubjectAltName_nodefault = val; in DEFINE_set1_ASN1_OCTET_STRING()
928 ctx->setSubjectAltNameCritical = val; in DEFINE_set1_ASN1_OCTET_STRING()
931 ctx->setPoliciesCritical = val; in DEFINE_set1_ASN1_OCTET_STRING()
934 ctx->ignore_keyusage = val; in DEFINE_set1_ASN1_OCTET_STRING()
937 if (val > OSSL_CRMF_POPO_KEYAGREE) { in DEFINE_set1_ASN1_OCTET_STRING()
941 ctx->popoMethod = val; in DEFINE_set1_ASN1_OCTET_STRING()
944 if (!cmp_ctx_set_md(ctx, &ctx->digest, val)) in DEFINE_set1_ASN1_OCTET_STRING()
948 if (!cmp_ctx_set_md(ctx, &ctx->pbm_owf, val)) in DEFINE_set1_ASN1_OCTET_STRING()
952 ctx->pbm_mac = val; in DEFINE_set1_ASN1_OCTET_STRING()
955 ctx->keep_alive = val; in DEFINE_set1_ASN1_OCTET_STRING()
958 ctx->msg_timeout = val; in DEFINE_set1_ASN1_OCTET_STRING()
961 ctx->total_timeout = val; in DEFINE_set1_ASN1_OCTET_STRING()
964 ctx->tls_used = val; in DEFINE_set1_ASN1_OCTET_STRING()
967 ctx->permitTAInExtraCertsForIR = val; in DEFINE_set1_ASN1_OCTET_STRING()
970 if (val > OCSP_REVOKED_STATUS_AACOMPROMISE) { in DEFINE_set1_ASN1_OCTET_STRING()
974 ctx->revocationReason = val; in DEFINE_set1_ASN1_OCTET_STRING()