Lines Matching refs:keySpec
158 ASN1_SEQUENCE_OF_OPT(OSSL_CMP_CERTREQTEMPLATE, keySpec,
380 OSSL_CMP_ATAVS *keySpec) in OSSL_CMP_ITAV_new0_certReqTemplate() argument
385 if (certTemplate == NULL && keySpec != NULL) { in OSSL_CMP_ITAV_new0_certReqTemplate()
401 tmpl->keySpec = keySpec; in OSSL_CMP_ITAV_new0_certReqTemplate()
407 OSSL_CMP_ATAVS **keySpec) in OSSL_CMP_ITAV_get1_certReqTemplate() argument
417 if (keySpec != NULL) in OSSL_CMP_ITAV_get1_certReqTemplate()
418 *keySpec = NULL; in OSSL_CMP_ITAV_get1_certReqTemplate()
430 if (keySpec != NULL && tpl->keySpec != NULL) { in OSSL_CMP_ITAV_get1_certReqTemplate()
431 int i, n = sk_OSSL_CMP_ATAV_num(tpl->keySpec); in OSSL_CMP_ITAV_get1_certReqTemplate()
433 *keySpec = sk_OSSL_CRMF_ATTRIBUTETYPEANDVALUE_new_reserve(NULL, n); in OSSL_CMP_ITAV_get1_certReqTemplate()
434 if (*keySpec == NULL) in OSSL_CMP_ITAV_get1_certReqTemplate()
437 OSSL_CMP_ATAV *atav = sk_OSSL_CMP_ATAV_value(tpl->keySpec, i); in OSSL_CMP_ITAV_get1_certReqTemplate()
462 OSSL_CMP_ATAV_push1(keySpec, atav); in OSSL_CMP_ITAV_get1_certReqTemplate()
470 sk_OSSL_CMP_ATAV_pop_free(*keySpec, OSSL_CMP_ATAV_free); in OSSL_CMP_ITAV_get1_certReqTemplate()
471 if (keySpec != NULL) in OSSL_CMP_ITAV_get1_certReqTemplate()
472 *keySpec = NULL; in OSSL_CMP_ITAV_get1_certReqTemplate()