Home
last modified time | relevance | path

Searched refs:recip (Results 1 – 13 of 13) sorted by relevance

/openssl/crypto/cms/
H A Dcms_env.c195 ossl_x509_set0_libctx(ri->d.ktri->recip, in ossl_cms_RecipientInfos_set_cmsctx()
357 if (!ossl_cms_set1_SignerIdentifier(ktri->rid, recip, idtype, ctx)) in cms_RecipientInfo_ktri_init()
360 X509_up_ref(recip); in cms_RecipientInfo_ktri_init()
364 ktri->recip = recip; in cms_RecipientInfo_ktri_init()
383 CMS_RecipientInfo *CMS_add1_recipient(CMS_ContentInfo *cms, X509 *recip, in CMS_add1_recipient() argument
403 pk = X509_get0_pubkey(recip); in CMS_add1_recipient()
412 if (!cms_RecipientInfo_ktri_init(ri, recip, pk, flags, ctx)) in CMS_add1_recipient()
444 return CMS_add1_recipient(cms, recip, NULL, NULL, flags); in CMS_add1_recipient_cert()
448 EVP_PKEY **pk, X509 **recip, in CMS_RecipientInfo_ktri_get0_algs() argument
461 if (recip) in CMS_RecipientInfo_ktri_get0_algs()
[all …]
H A Dcms_kari.c341 int ossl_cms_RecipientInfo_kari_init(CMS_RecipientInfo *ri, X509 *recip, in ossl_cms_RecipientInfo_kari_init() argument
372 if (!ossl_cms_set1_keyid(&rek->rid->d.rKeyId->subjectKeyIdentifier, recip)) in ossl_cms_RecipientInfo_kari_init()
376 if (!ossl_cms_set1_ias(&rek->rid->d.issuerAndSerialNumber, recip)) in ossl_cms_RecipientInfo_kari_init()
H A Dcms_local.h161 X509 *recip; member
463 int ossl_cms_RecipientInfo_kari_init(CMS_RecipientInfo *ri, X509 *recip,
H A Dcms_smime.c646 X509 *recip; in CMS_encrypt_ex() local
657 recip = sk_X509_value(certs, i); in CMS_encrypt_ex()
658 if (!CMS_add1_recipient_cert(cms, recip, flags)) { in CMS_encrypt_ex()
H A Dcms_asn1.c218 X509_free(ktri->recip);
/openssl/doc/man3/
H A DCMS_add1_recipient_cert.pod11 CMS_RecipientInfo *CMS_add1_recipient(CMS_ContentInfo *cms, X509 *recip,
16 X509 *recip, unsigned int flags);
27 CMS_add1_recipient() adds recipient B<recip> and provides the originator pkey
32 CMS_add1_recipient_cert() adds recipient B<recip> to CMS_ContentInfo enveloped
/openssl/apps/
H A Dsmime.c169 X509 *cert = NULL, *recip = NULL, *signer = NULL; in smime_main() local
499 if ((recip = load_cert(recipfile, FORMAT_UNDEF, in smime_main()
634 if (!PKCS7_decrypt(p7, key, recip, out, flags)) { in smime_main()
692 X509_free(recip); in smime_main()
H A Dcms.c293 X509 *cert = NULL, *recip = NULL, *signer = NULL, *originator = NULL; in cms_main() local
851 if ((recip = load_cert(recipfile, FORMAT_UNDEF, in cms_main()
1161 if (!CMS_decrypt_set1_pkey_and_peer(cms, key, recip, originator)) { in cms_main()
1291 X509_free(recip); in cms_main()
/openssl/test/
H A Devp_pkey_dhkem_test.c511 EVP_PKEY *recip = NULL; in test_ec_noikme() local
532 if (!TEST_ptr(recip = EVP_PKEY_Q_keygen(libctx, NULL, curve)) in test_ec_noikme()
538 if (!TEST_ptr(recip = EVP_PKEY_Q_keygen(libctx, NULL, "EC", curve)) in test_ec_noikme()
545 ret = TEST_ptr(ctx = EVP_PKEY_CTX_new_from_pkey(libctx, recip, NULL)) in test_ec_noikme()
567 EVP_PKEY_free(recip); in test_ec_noikme()
/openssl/include/openssl/
H A Dcms.h.in214 X509 *recip, unsigned int flags);
215 CMS_RecipientInfo *CMS_add1_recipient(CMS_ContentInfo *cms, X509 *recip,
220 EVP_PKEY **pk, X509 **recip,
/openssl/doc/man1/
H A Dopenssl-cms.pod.in66 [B<-recip> I<file>]
353 the B<-recip> or B<-signer> file. When signing this option can be used
390 =item B<-recip> I<file>
404 This is an alternative to using the B<-recip> option when encrypting a message.
828 openssl cms -decrypt -in mail.msg -recip mycert.pem -inkey key.pem
862 -recip cert.pem -keyopt rsa_padding_mode:oaep
867 -recip ecdhcert.pem -keyopt ecdh_kdf_md:sha256
H A Dopenssl-smime.pod.in32 [B<-recip> I< file>]
249 =item B<-recip> I<file>
259 the B<-recip> or B<-signer> file. When signing this option can be used
416 openssl smime -decrypt -in mail.msg -recip mycert.pem -inkey key.pem
/openssl/crypto/ec/
H A Dcurve25519.c1833 fe recip; in ge_tobytes() local
1837 fe_invert(recip, h->Z); in ge_tobytes()
1838 fe_mul(x, h->X, recip); in ge_tobytes()
1839 fe_mul(y, h->Y, recip); in ge_tobytes()
1846 fe recip; in ge_p3_tobytes() local
1850 fe_invert(recip, h->Z); in ge_p3_tobytes()
1851 fe_mul(x, h->X, recip); in ge_p3_tobytes()
1852 fe_mul(y, h->Y, recip); in ge_p3_tobytes()

Completed in 43 milliseconds