Lines Matching refs:si

305 static int pkcs7_ecdsa_or_dsa_sign_verify_setup(PKCS7_SIGNER_INFO *si,  in pkcs7_ecdsa_or_dsa_sign_verify_setup()  argument
311 EVP_PKEY *pkey = si->pkey; in pkcs7_ecdsa_or_dsa_sign_verify_setup()
313 PKCS7_SIGNER_INFO_get0_algs(si, NULL, &alg1, &alg2); in pkcs7_ecdsa_or_dsa_sign_verify_setup()
326 static int pkcs7_rsa_sign_verify_setup(PKCS7_SIGNER_INFO *si, int verify) in pkcs7_rsa_sign_verify_setup() argument
331 PKCS7_SIGNER_INFO_get0_algs(si, NULL, NULL, &alg); in pkcs7_rsa_sign_verify_setup()
391 PKCS7_SIGNER_INFO *si = NULL; in PKCS7_add_signature() local
404 if ((si = PKCS7_SIGNER_INFO_new()) == NULL) in PKCS7_add_signature()
406 if (PKCS7_SIGNER_INFO_set(si, x509, pkey, dgst) <= 0) in PKCS7_add_signature()
408 if (!PKCS7_add_signer(p7, si)) in PKCS7_add_signature()
410 return si; in PKCS7_add_signature()
412 PKCS7_SIGNER_INFO_free(si); in PKCS7_add_signature()
469 PKCS7_SIGNER_INFO *si = sk_PKCS7_SIGNER_INFO_value(sinfos, i); in ossl_pkcs7_resolve_libctx() local
471 if (si != NULL) in ossl_pkcs7_resolve_libctx()
472 si->ctx = ctx; in ossl_pkcs7_resolve_libctx()
547 void PKCS7_SIGNER_INFO_get0_algs(PKCS7_SIGNER_INFO *si, EVP_PKEY **pk, in PKCS7_SIGNER_INFO_get0_algs() argument
551 *pk = si->pkey; in PKCS7_SIGNER_INFO_get0_algs()
553 *pdig = si->digest_alg; in PKCS7_SIGNER_INFO_get0_algs()
555 *psig = si->digest_enc_alg; in PKCS7_SIGNER_INFO_get0_algs()
670 X509 *PKCS7_cert_from_signer_info(PKCS7 *p7, PKCS7_SIGNER_INFO *si) in PKCS7_cert_from_signer_info() argument
674 si->issuer_and_serial->issuer, in PKCS7_cert_from_signer_info()
675 si-> in PKCS7_cert_from_signer_info()