Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/
H A Dpowidf2.c18 const int recip = b < 0; in __powidf2() local
28 return recip ? 1 / r : r; in __powidf2()
H A Dpowisf2.c18 const int recip = b < 0; in __powisf2() local
28 return recip ? 1 / r : r; in __powisf2()
/freebsd/crypto/openssl/crypto/cms/
H A Dcms_env.c193 ossl_x509_set0_libctx(ri->d.ktri->recip, in ossl_cms_RecipientInfos_set_cmsctx()
326 static int cms_RecipientInfo_ktri_init(CMS_RecipientInfo *ri, X509 *recip, in cms_RecipientInfo_ktri_init() argument
354 if (!ossl_cms_set1_SignerIdentifier(ktri->rid, recip, idtype, ctx)) in cms_RecipientInfo_ktri_init()
357 if (!X509_up_ref(recip)) in cms_RecipientInfo_ktri_init()
360 X509_free(recip); in cms_RecipientInfo_ktri_init()
365 ktri->recip = recip; in cms_RecipientInfo_ktri_init()
384 CMS_RecipientInfo *CMS_add1_recipient(CMS_ContentInfo *cms, X509 *recip, in CMS_add1_recipient() argument
404 pk = X509_get0_pubkey(recip); in CMS_add1_recipient()
413 if (!cms_RecipientInfo_ktri_init(ri, recip, pk, flags, ctx)) in CMS_add1_recipient()
418 if (!ossl_cms_RecipientInfo_kari_init(ri, recip, pk, originator, in CMS_add1_recipient()
[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.h163 X509 *recip; member
465 int ossl_cms_RecipientInfo_kari_init(CMS_RecipientInfo *ri, X509 *recip,
H A Dcms_smime.c641 X509 *recip; in CMS_encrypt_ex() local
651 recip = sk_X509_value(certs, i); in CMS_encrypt_ex()
652 if (!CMS_add1_recipient_cert(cms, recip, flags)) { in CMS_encrypt_ex()
H A Dcms_asn1.c199 X509_free(ktri->recip);
/freebsd/crypto/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
/freebsd/crypto/openssl/apps/
H A Dsmime.c203 X509 *cert = NULL, *recip = NULL, *signer = NULL; in smime_main() local
538 if ((recip = load_cert(recipfile, FORMAT_UNDEF, in smime_main()
675 if (!PKCS7_decrypt(p7, key, recip, out, flags)) { in smime_main()
733 X509_free(recip); in smime_main()
H A Dcms.c356 X509 *cert = NULL, *recip = NULL, *signer = NULL, *originator = NULL; in cms_main() local
925 if ((recip = load_cert(recipfile, FORMAT_UNDEF, in cms_main()
1247 if (!CMS_decrypt_set1_pkey_and_peer(cms, key, recip, originator)) { in cms_main()
1378 X509_free(recip); in cms_main()
/freebsd/crypto/openssl/test/
H A Devp_pkey_dhkem_test.c520 EVP_PKEY *recip = NULL; in test_ec_noikme() local
541 if (!TEST_ptr(recip = EVP_PKEY_Q_keygen(libctx, NULL, curve)) in test_ec_noikme()
547 if (!TEST_ptr(recip = EVP_PKEY_Q_keygen(libctx, NULL, "EC", curve)) in test_ec_noikme()
554 ret = TEST_ptr(ctx = EVP_PKEY_CTX_new_from_pkey(libctx, recip, NULL)) in test_ec_noikme()
580 EVP_PKEY_free(recip); in test_ec_noikme()
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_core/ed25519/ref10/
H A Ded25519_ref10.c450 fe25519 recip; in ge25519_p3_to_precomp() local
455 fe25519_invert(recip, p->Z); in ge25519_p3_to_precomp()
456 fe25519_mul(x, p->X, recip); in ge25519_p3_to_precomp()
457 fe25519_mul(y, p->Y, recip); in ge25519_p3_to_precomp()
479 fe25519 recip; in ge25519_p3_tobytes() local
483 fe25519_invert(recip, h->Z); in ge25519_p3_tobytes()
484 fe25519_mul(x, h->X, recip); in ge25519_p3_tobytes()
485 fe25519_mul(y, h->Y, recip); in ge25519_p3_tobytes()
635 fe25519 recip; in ge25519_tobytes() local
639 fe25519_invert(recip, h->Z); in ge25519_tobytes()
[all …]
/freebsd/crypto/openssh/
H A Dsmult_curve25519_ref.c180 static void recip(unsigned int out[32],const unsigned int z[32]) in recip() function
260 recip(work + 32,work + 32); in crypto_scalarmult_curve25519()
/freebsd/crypto/openssl/include/openssl/
H A Dcms.h.in221 X509 *recip, unsigned int flags);
222 CMS_RecipientInfo *CMS_add1_recipient(CMS_ContentInfo *cms, X509 *recip,
227 EVP_PKEY **pk, X509 **recip,
H A Dcms.h319 X509 *recip, unsigned int flags);
320 CMS_RecipientInfo *CMS_add1_recipient(CMS_ContentInfo *cms, X509 *recip,
325 EVP_PKEY **pk, X509 **recip,
/freebsd/crypto/openssl/doc/man1/
H A Dopenssl-cms.pod.in68 [B<-recip> I<file>]
360 the B<-recip> or B<-signer> file. When signing this option can be used
398 =item B<-recip> I<file>
412 This is an alternative to using the B<-recip> option when encrypting a message.
841 openssl cms -decrypt -in mail.msg -recip mycert.pem -inkey key.pem
875 -recip cert.pem -keyopt rsa_padding_mode:oaep
880 -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
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMicroMipsInstrFPU.td254 def RECIP_S_MM : MMRel, ABSS_FT<"recip.s", FGR32Opnd, FGR32Opnd,
257 def RECIP_D32_MM : MMRel, ABSS_FT<"recip.d", AFGR64Opnd, AFGR64Opnd,
263 def RECIP_D64_MM : MMRel, ABSS_FT<"recip.d", FGR64Opnd, FGR64Opnd,
H A DMipsInstrFPU.td393 def RECIP_S : MMRel, ABSS_FT<"recip.s", FGR32Opnd, FGR32Opnd, II_RECIP_S>,
395 def RECIP_D32 : MMRel, ABSS_FT<"recip.d", AFGR64Opnd, AFGR64Opnd, II_RECIP_D>,
400 def RECIP_D64 : MMRel, ABSS_FT<"recip.d", FGR64Opnd, FGR64Opnd,
H A DMipsScheduleGeneric.td858 // rsqrt.[ds], recip.[ds]
/freebsd/crypto/krb5/src/plugins/preauth/spake/
H A Dedwards25519.c607 fe recip; in x25519_ge_tobytes() local
611 fe_invert(&recip, &h->Z); in x25519_ge_tobytes()
612 fe_mul_ttt(&x, &h->X, &recip); in x25519_ge_tobytes()
613 fe_mul_ttt(&y, &h->Y, &recip); in x25519_ge_tobytes()
/freebsd/crypto/openssl/crypto/ec/
H A Dcurve25519.c1965 fe recip; in ge_tobytes() local
1969 fe_invert(recip, h->Z); in ge_tobytes()
1970 fe_mul(x, h->X, recip); in ge_tobytes()
1971 fe_mul(y, h->Y, recip); in ge_tobytes()
1978 fe recip; in ge_p3_tobytes() local
1982 fe_invert(recip, h->Z); in ge_p3_tobytes()
1983 fe_mul(x, h->X, recip); in ge_p3_tobytes()
1984 fe_mul(y, h->Y, recip); in ge_p3_tobytes()
/freebsd/crypto/openssl/crypto/cmp/
H A Dcmp_msg.c481 X509 *recip = ctx->validatedSrvCert; /* this is the client cert */ in enc_privkey() local
485 || !X509_add_cert(encryption_recips, recip, X509_ADD_FLAG_UP_REF)) in enc_privkey()
/freebsd/crypto/heimdal/lib/asn1/
H A Dkrb5.asn1573 r-address[5] HostAddress OPTIONAL -- recip's addr
/freebsd/contrib/sendmail/src/
H A Ddeliver.c248 char *recip; local
252 recip = e->e_sendqueue->q_paddr;
254 recip = "(nobody)";
263 recip);