Home
last modified time | relevance | path

Searched refs:dmq1 (Results 1 – 22 of 22) sorted by relevance

/mirbsd/src/lib/libssl/src/crypto/rsa/
Drsa_test.c27 key->dmq1 = BN_bin2bn(dmq1, sizeof(dmq1)-1, key->dmq1); \
63 static unsigned char dmq1[] = in key1() local
109 static unsigned char dmq1[] = in key2() local
172 static unsigned char dmq1[] = in key3() local
Drsa_eay.c435 (rsa->dmq1 != NULL) && in RSA_eay_private_encrypt()
573 (rsa->dmq1 != NULL) && in RSA_eay_private_decrypt()
747 BIGNUM *dmp1, *dmq1; in RSA_eay_mod_exp() local
769 dmq1 = &local_dmq1; in RSA_eay_mod_exp()
770 BN_with_flags(dmq1, rsa->dmq1, BN_FLG_EXP_CONSTTIME); in RSA_eay_mod_exp()
773 dmq1 = rsa->dmq1; in RSA_eay_mod_exp()
774 if (!rsa->meth->bn_mod_exp(&m1,&r1,dmq1,rsa->q,ctx, in RSA_eay_mod_exp()
Drsa_gen.c179 rsa->dmq1=BN_new(); in RSA_generate_key()
180 if (rsa->dmq1 == NULL) goto err; in RSA_generate_key()
181 if (!BN_mod(rsa->dmq1,rsa->d,r2,ctx)) goto err; in RSA_generate_key()
Drsa_lib.c175 ret->dmq1=NULL; in RSA_new_method()
232 if (r->dmq1 != NULL) BN_clear_free(r->dmq1); in RSA_free()
383 t[4]= &r->dmq1; in RSA_memory_lock()
Drsa_chk.c131 if (key->dmp1 != NULL && key->dmq1 != NULL && key->iqmp != NULL) in RSA_check_key()
154 if (BN_cmp(j, key->dmq1) != 0) in RSA_check_key()
Drsa_asn1.c99 ASN1_SIMPLE(RSA, dmq1, BIGNUM),
Drsa.h139 BIGNUM *dmq1; member
/mirbsd/src/lib/libssl/src/crypto/engine/
Dhw_cswift.c99 const BIGNUM *q, const BIGNUM *dmp1, const BIGNUM *dmq1,
586 const BIGNUM *dmq1, const BIGNUM *iqmp, BN_CTX *ctx) in cswift_mod_exp_crt() argument
600 sw_param.up.crt.dmq1.value = NULL; in cswift_mod_exp_crt()
641 if(!cswift_bn_32copy(&sw_param.up.crt.dmq1, dmq1)) in cswift_mod_exp_crt()
702 if(sw_param.up.crt.dmq1.value) in cswift_mod_exp_crt()
703 OPENSSL_free(sw_param.up.crt.dmq1.value); in cswift_mod_exp_crt()
726 BN_num_bytes(rsa->dmq1) > 128 || in cswift_rsa_mod_exp()
744 if(!rsa->p || !rsa->q || !rsa->dmp1 || !rsa->dmq1 || !rsa->iqmp) in cswift_rsa_mod_exp()
750 rsa->dmq1, rsa->iqmp, ctx); in cswift_rsa_mod_exp()
Dhw_aep.c104 const BIGNUM *q, const BIGNUM *dmp1,const BIGNUM *dmq1,
630 const BIGNUM *dmq1,const BIGNUM *iqmp, BN_CTX *ctx) in aep_mod_exp_crt() argument
644 rv = p_AEP_ModExpCrt(hConnection,(void*)a, (void*)p, (void*)q, (void*)dmp1,(void*)dmq1, in aep_mod_exp_crt()
761 if (rsa->q && rsa->dmp1 && rsa->dmq1 && rsa->iqmp) in aep_rsa_mod_exp()
763 rv = aep_mod_exp_crt(r0,I,rsa->p,rsa->q, rsa->dmp1,rsa->dmq1,rsa->iqmp,ctx); in aep_rsa_mod_exp()
Dhw_ncipher.c1030 if(!rsa->p || !rsa->q || !rsa->dmp1 || !rsa->dmq1 || !rsa->iqmp) in hwcrhk_rsa_mod_exp()
1043 BN2MPI(m_dmq1, rsa->dmq1); in hwcrhk_rsa_mod_exp()
Dhw_ubsec.c597 if(!rsa->p || !rsa->q || !rsa->dmp1 || !rsa->dmq1 || !rsa->iqmp) in ubsec_rsa_mod_exp()
604 rsa->dmq1, rsa->iqmp, ctx); in ubsec_rsa_mod_exp()
Dhw_cryptodev.c1004 if (!rsa->p || !rsa->q || !rsa->dmp1 || !rsa->dmq1 || !rsa->iqmp) { in cryptodev_rsa_mod_exp()
1020 if (bn2crparam(rsa->dmq1, &kop.crk_param[4])) in cryptodev_rsa_mod_exp()
/mirbsd/src/lib/libssl/src/crypto/engine/vendor_defns/
Dhwcryptohook.h389 HWCryptoHook_MPI dmq1,
401 HWCryptoHook_MPI dmq1,
Dcswift.h184 SW_LARGENUMBER dmq1; /* exponent2 */ member
/mirbsd/src/lib/libssl/src/crypto/asn1/
Dt_pkey.c119 if (x->dmq1) in RSA_print()
120 if (buf_len < (i = (size_t)BN_num_bytes(x->dmq1))) in RSA_print()
152 if (!print(bp,"exponent2:",x->dmq1,m,off)) goto err; in RSA_print()
/mirbsd/src/usr.bin/gzsig/
Dssh.c288 BN_mod(rsa->dmq1, rsa->d, aux, ctx); in load_ssh1_private()
333 rsa->dmq1 = BN_new(); in ssh_load_private()
/mirbsd/src/lib/libssl/src/doc/crypto/
Drsa.pod79 BIGNUM *dmq1; // d mod (q-1)
88 B<p>, B<q>, B<dmp1>, B<dmq1> and B<iqmp> may be B<NULL> in private
DRSA_check_key.pod19 and that B<dmp1>, B<dmq1> and B<iqmp> are set correctly or are B<NULL>.
DRSA_set_method.pod116 * operations, even if p,q,dmp1,dmq1,iqmp
/mirbsd/src/usr.bin/ssh/
Drsa.c140 (BN_mod(rsa->dmq1, rsa->d, aux, ctx) == 0) || in rsa_generate_additional_parameters()
Dscard.c495 COPY_RSA_KEY(dmq1, 3); in sc_put_key()
553 memset(elements[3], '\0', BN_num_bytes(prv->rsa->dmq1)); in sc_put_key()
Dkey.c115 if ((k->rsa->dmq1 = BN_new()) == NULL) in key_new_private()