Searched refs:iqmp (Results 1 - 24 of 24) sorted by relevance

/barrelfish-master/lib/openssl-1.0.0d/crypto/rsa/
H A Drsa_test.c29 key->iqmp = BN_bin2bn(iqmp, sizeof(iqmp)-1, key->iqmp); \
69 static unsigned char iqmp[] = local
114 static unsigned char iqmp[] = local
179 static unsigned char iqmp[] = local
H A Drsa_asn1.c90 ASN1_SIMPLE(RSA, iqmp, BIGNUM)
H A Drsa_chk.c131 if (key->dmp1 != NULL && key->dmq1 != NULL && key->iqmp != NULL)
161 /* iqmp = q^-1 mod p? */
168 if (BN_cmp(i, key->iqmp) != 0)
H A Drsa_gen.c113 if(!rsa->iqmp && ((rsa->iqmp=BN_new()) == NULL)) goto err;
202 if (!BN_mod_inverse(rsa->iqmp,rsa->q,p,ctx)) goto err;
H A Drsa_lib.c176 ret->iqmp=NULL;
243 if (r->iqmp != NULL) BN_clear_free(r->iqmp);
453 t[5]= &r->iqmp;
H A Drsa_ameth.c201 update_buflen(x->iqmp, &buf_len);
246 if (!ASN1_bn_print(bp,"coefficient:",x->iqmp,m,off))
H A Drsa.h145 BIGNUM *iqmp; member in struct:rsa_st
H A Drsa_eay.c417 (rsa->iqmp != NULL)) )
541 (rsa->iqmp != NULL)) )
815 if (!BN_mul(r1,r0,rsa->iqmp,ctx)) goto err;
/barrelfish-master/lib/openssl-1.0.0d/test/
H A Drsa_test.c29 key->iqmp = BN_bin2bn(iqmp, sizeof(iqmp)-1, key->iqmp); \
69 static unsigned char iqmp[] = local
114 static unsigned char iqmp[] = local
179 static unsigned char iqmp[] = local
/barrelfish-master/lib/openssl-1.0.0d/engines/
H A De_gmp.c326 mpz_t iqmp; member in struct:st_e_gmp_rsa_ctx
345 mpz_init(hptr->iqmp);
352 if(!rsa->p || !rsa->q || !rsa->d || !rsa->dmp1 || !rsa->dmq1 || !rsa->iqmp)
359 !bn2gmp(rsa->dmq1, hptr->dmq1) || !bn2gmp(rsa->iqmp, hptr->iqmp))
372 mpz_clear(hptr->iqmp);
392 mpz_clear(hptr->iqmp);
440 mpz_mul(hptr->r1, hptr->r0, hptr->iqmp);
H A De_cswift.c117 const BIGNUM *iqmp, BN_CTX *ctx);
611 const BIGNUM *dmq1, const BIGNUM *iqmp, BN_CTX *ctx)
626 sw_param.up.crt.iqmp.value = NULL;
671 if(!cswift_bn_32copy(&sw_param.up.crt.iqmp, iqmp))
729 if(sw_param.up.crt.iqmp.value)
730 OPENSSL_free(sw_param.up.crt.iqmp.value);
747 if(!rsa->p || !rsa->q || !rsa->dmp1 || !rsa->dmq1 || !rsa->iqmp)
758 BN_num_bytes(rsa->iqmp) > 128)
774 rsa->dmq1, rsa->iqmp, ct
609 cswift_mod_exp_crt(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *q, const BIGNUM *dmp1, const BIGNUM *dmq1, const BIGNUM *iqmp, BN_CTX *ctx) argument
[all...]
H A De_aep.c120 const BIGNUM *iqmp, BN_CTX *ctx);
653 const BIGNUM *dmq1,const BIGNUM *iqmp, BN_CTX *ctx)
668 (void*)iqmp,(void*)r,NULL);
781 if (rsa->q && rsa->dmp1 && rsa->dmq1 && rsa->iqmp)
783 rv = aep_mod_exp_crt(r0,I,rsa->p,rsa->q, rsa->dmp1,rsa->dmq1,rsa->iqmp,ctx);
651 aep_mod_exp_crt(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *q, const BIGNUM *dmp1, const BIGNUM *dmq1,const BIGNUM *iqmp, BN_CTX *ctx) argument
H A De_chil.c1018 if(!rsa->p || !rsa->q || !rsa->dmp1 || !rsa->dmq1 || !rsa->iqmp)
1032 BN2MPI(m_iqmp, rsa->iqmp);
H A De_ubsec.c608 if(!rsa->p || !rsa->q || !rsa->dmp1 || !rsa->dmq1 || !rsa->iqmp)
615 rsa->dmq1, rsa->iqmp, ctx);
/barrelfish-master/lib/openssl-1.0.0d/demos/engines/cluster_labs/
H A Dcluster_labs.h6 const BIGNUM *iqmp, BN_CTX *ctx);
H A Dhw_cluster_labs.c474 const BIGNUM *iqmp, BN_CTX *ctx)
488 return p_cl_mod_exp_crt(r, a, p, q,dmp1, dmq1, iqmp, ctx);
472 cluster_labs_mod_exp_crt(BIGNUM *r, BIGNUM *a, const BIGNUM *p, const BIGNUM *q, const BIGNUM *dmp1, const BIGNUM *dmq1, const BIGNUM *iqmp, BN_CTX *ctx) argument
/barrelfish-master/lib/openssl-1.0.0d/demos/engines/ibmca/
H A Dhw_ibmca.c97 const BIGNUM *iqmp, BN_CTX *ctx);
606 if(!rsa->p || !rsa->q || !rsa->dmp1 || !rsa->dmq1 || !rsa->iqmp)
619 rsa->dmq1, rsa->iqmp, ctx);
631 const BIGNUM *dmq1, const BIGNUM *iqmp, BN_CTX *ctx)
652 unsigned int iqmpbytes = BN_num_bytes(iqmp);
712 privKey->qInvLength = CORRECT_ENDIANNESS(BN_num_bytes(iqmp)+8);
774 pkey += pSize - BN_num_bytes(iqmp); /* Adjust for padding */
775 BN_bn2bin(iqmp, pkey);
629 ibmca_mod_exp_crt(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *q, const BIGNUM *dmp1, const BIGNUM *dmq1, const BIGNUM *iqmp, BN_CTX *ctx) argument
/barrelfish-master/lib/openssl-1.0.0d/engines/vendor_defns/
H A Dhwcryptohook.h390 HWCryptoHook_MPI iqmp,
402 HWCryptoHook_MPI iqmp,
H A Dcswift.h185 SW_LARGENUMBER iqmp; /* CRT coefficient */ member in struct:_SW_CRT
/barrelfish-master/lib/openssl-1.0.0d/demos/engines/zencod/
H A Dhw_zencod.c748 if ( !rsa->p || !rsa->q || !rsa->dmp1 || !rsa->dmq1 || !rsa->iqmp ) {
760 zen_nb_t y, x, p, q, dmp1, dmq1, iqmp; local
774 BIGNUM2ZEN ( &iqmp, rsa->iqmp ) ;
776 if ( ptr_zencod_rsa_mod_exp_crt ( &y, &x, &p, &q, &dmp1, &dmq1, &iqmp ) < 0 ) {
/barrelfish-master/lib/openssl-1.0.0d/demos/engines/rsaref/
H A Drsaref.c378 if ((to->iqmp=RSAref_bin2bn(from->coef,NULL,RSAref_MAX_PLEN)) == NULL)
394 if (!RSAref_bn2bin(from->iqmp,to->coefficient,MAX_RSA_PRIME_LEN)) return(0);
/barrelfish-master/include/openssl/
H A Drsa.h145 BIGNUM *iqmp; member in struct:rsa_st
/barrelfish-master/lib/openssl-1.0.0d/crypto/pem/
H A Dpvkfmt.c400 if (!read_lebn(&p, hnbyte, &rsa->iqmp))
597 if ((BN_num_bytes(rsa->iqmp) > hnbyte)
624 write_lebn(out, rsa->iqmp, hnbyte);
/barrelfish-master/lib/openssl-1.0.0d/crypto/engine/
H A Deng_cryptodev.c1053 if (!rsa->p || !rsa->q || !rsa->dmp1 || !rsa->dmq1 || !rsa->iqmp) {
1060 /* inputs: rsa->p rsa->q I rsa->dmp1 rsa->dmq1 rsa->iqmp */
1071 if (bn2crparam(rsa->iqmp, &kop.crk_param[5]))

Completed in 258 milliseconds