Searched refs:p7i (Results 1 – 4 of 4) sorted by relevance
/third_party/openssl/crypto/pkcs7/ |
D | pk7_lib.c | 338 int PKCS7_SIGNER_INFO_set(PKCS7_SIGNER_INFO *p7i, X509 *x509, EVP_PKEY *pkey, in PKCS7_SIGNER_INFO_set() argument 344 if (!ASN1_INTEGER_set(p7i->version, 1)) in PKCS7_SIGNER_INFO_set() 346 if (!X509_NAME_set(&p7i->issuer_and_serial->issuer, in PKCS7_SIGNER_INFO_set() 354 ASN1_INTEGER_free(p7i->issuer_and_serial->serial); in PKCS7_SIGNER_INFO_set() 355 if (!(p7i->issuer_and_serial->serial = in PKCS7_SIGNER_INFO_set() 361 p7i->pkey = pkey; in PKCS7_SIGNER_INFO_set() 365 X509_ALGOR_set0(p7i->digest_alg, OBJ_nid2obj(EVP_MD_get_type(dgst)), in PKCS7_SIGNER_INFO_set() 369 return pkcs7_ecdsa_or_dsa_sign_verify_setup(p7i, 0); in PKCS7_SIGNER_INFO_set() 371 return pkcs7_rsa_sign_verify_setup(p7i, 0); in PKCS7_SIGNER_INFO_set() 374 ret = pkey->ameth->pkey_ctrl(pkey, ASN1_PKEY_CTRL_PKCS7_SIGN, 0, p7i); in PKCS7_SIGNER_INFO_set() [all …]
|
/third_party/openssl/apps/ |
D | pkcs7.c | 57 PKCS7 *p7 = NULL, *p7i; in pkcs7_main() local 130 p7i = d2i_PKCS7_bio(in, &p7); in pkcs7_main() 132 p7i = PEM_read_bio_PKCS7(in, &p7, NULL, NULL); in pkcs7_main() 133 if (p7i == NULL) { in pkcs7_main()
|
/third_party/openssl/ohos_lite/include/openssl/ |
D | pkcs7.h | 240 int PKCS7_SIGNER_INFO_set(PKCS7_SIGNER_INFO *p7i, X509 *x509, EVP_PKEY *pkey, 243 int PKCS7_add_signer(PKCS7 *p7, PKCS7_SIGNER_INFO *p7i); 267 int PKCS7_RECIP_INFO_set(PKCS7_RECIP_INFO *p7i, X509 *x509);
|
/third_party/openssl/include/openssl/ |
D | pkcs7.h.in | 269 int PKCS7_SIGNER_INFO_set(PKCS7_SIGNER_INFO *p7i, X509 *x509, EVP_PKEY *pkey, 272 int PKCS7_add_signer(PKCS7 *p7, PKCS7_SIGNER_INFO *p7i); 296 int PKCS7_RECIP_INFO_set(PKCS7_RECIP_INFO *p7i, X509 *x509);
|