/barrelfish-master/lib/openssl-1.0.0d/crypto/rsa/ |
H A D | rsa_test.c | 29 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 D | rsa_asn1.c | 90 ASN1_SIMPLE(RSA, iqmp, BIGNUM)
|
H A D | rsa_chk.c | 131 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 D | rsa_gen.c | 113 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 D | rsa_lib.c | 176 ret->iqmp=NULL; 243 if (r->iqmp != NULL) BN_clear_free(r->iqmp); 453 t[5]= &r->iqmp;
|
H A D | rsa_ameth.c | 201 update_buflen(x->iqmp, &buf_len); 246 if (!ASN1_bn_print(bp,"coefficient:",x->iqmp,m,off))
|
H A D | rsa.h | 145 BIGNUM *iqmp; member in struct:rsa_st
|
H A D | rsa_eay.c | 417 (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 D | rsa_test.c | 29 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 D | e_gmp.c | 326 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 D | e_cswift.c | 117 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 D | e_aep.c | 120 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 D | e_chil.c | 1018 if(!rsa->p || !rsa->q || !rsa->dmp1 || !rsa->dmq1 || !rsa->iqmp) 1032 BN2MPI(m_iqmp, rsa->iqmp);
|
H A D | e_ubsec.c | 608 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 D | cluster_labs.h | 6 const BIGNUM *iqmp, BN_CTX *ctx);
|
H A D | hw_cluster_labs.c | 474 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 D | hw_ibmca.c | 97 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 D | hwcryptohook.h | 390 HWCryptoHook_MPI iqmp, 402 HWCryptoHook_MPI iqmp,
|
H A D | cswift.h | 185 SW_LARGENUMBER iqmp; /* CRT coefficient */ member in struct:_SW_CRT
|
/barrelfish-master/lib/openssl-1.0.0d/demos/engines/zencod/ |
H A D | hw_zencod.c | 748 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 D | rsaref.c | 378 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 D | rsa.h | 145 BIGNUM *iqmp; member in struct:rsa_st
|
/barrelfish-master/lib/openssl-1.0.0d/crypto/pem/ |
H A D | pvkfmt.c | 400 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 D | eng_cryptodev.c | 1053 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]))
|