| /src/crypto/external/bsd/openssl.old/dist/test/ |
| rsa_mp_test.c | 101 static const unsigned char iqmp[] = local 150 BN_bin2bn(iqmp, sizeof(iqmp) - 1,
|
| rsa_test.c | 44 BN_bin2bn(iqmp, sizeof(iqmp)-1, NULL)); \ 85 static unsigned char iqmp[] = local 130 static unsigned char iqmp[] = local 195 static unsigned char iqmp[] = local
|
| /src/external/bsd/wpa/dist/src/tls/ |
| rsa.c | 27 struct bignum *iqmp; /* 1 / q mod p; CRT coefficient */ member in struct:crypto_rsa_key 164 key->iqmp = bignum_init(); 168 key->dmq1 == NULL || key->iqmp == NULL) { 215 pos = crypto_rsa_parse_integer(pos, end, key->iqmp); 285 * iqmp = (1/q) mod p, where p > q 306 bignum_mulmod(tmp, key->iqmp, key->p, tmp) < 0) 363 bignum_deinit(key->iqmp);
|
| /src/crypto/external/apache2/openssl/dist/test/ |
| rsa_mp_test.c | 101 static const unsigned char iqmp[] = "\x03\xa1\x8b\x80\xe4\xd8\x87\x25\x17\x5d\xcc\x8d\xa9\x8a\x22\x2b" variable 155 BN_bin2bn(iqmp, sizeof(iqmp) - 1, 219 if (!TEST_ptr(num = BN_bin2bn(iqmp, sizeof(iqmp) - 1, NULL))
|
| rsa_test.c | 43 BN_bin2bn(iqmp, sizeof(iqmp) - 1, NULL)); \ 78 static unsigned char iqmp[] = "\x36\x3F\xF7\x18\x9D\xA8\xE9\x0B\x1D\x34\x1F\x71\xD0\x9B\x76\xA8" local 115 static unsigned char iqmp[] = "\x00\x83\xEF\xEF\xB8\xA9\xA4\x0D\x1D\xB6\xED\x98\xAD\x84\xED\x13" local 172 static unsigned char iqmp[] = "\x00\xB0\x6C\x4F\xDA\xBB\x63\x01\x19\x8D\x26\x5B\xDB\xAE\x94\x23" local
|
| evp_pkey_provided_test.c | 548 BIGNUM *dmp1 = NULL, *dmq1 = NULL, *iqmp = NULL; local 596 || !TEST_ptr(iqmp = BN_bin2bn(iqmp_data, sizeof(iqmp_data), NULL)) 614 cdata[2].comparebn = iqmp; 628 BN_free(iqmp); 638 BIGNUM *dmp1 = NULL, *dmq1 = NULL, *iqmp = NULL; local 771 || !TEST_ptr(iqmp = BN_bin2bn(iqmp_data, sizeof(iqmp_data), NULL)) 791 cdata[2].comparebn = iqmp; 822 BN_free(iqmp);
|
| /src/crypto/external/bsd/openssl/dist/test/ |
| rsa_mp_test.c | 107 static const unsigned char iqmp[] = variable 164 BN_bin2bn(iqmp, sizeof(iqmp) - 1, 227 if (!TEST_ptr(num = BN_bin2bn(iqmp, sizeof(iqmp) - 1, NULL))
|
| rsa_test.c | 43 BN_bin2bn(iqmp, sizeof(iqmp)-1, NULL)); \ 84 static unsigned char iqmp[] = local 129 static unsigned char iqmp[] = local 194 static unsigned char iqmp[] = local
|
| /src/crypto/external/apache2/openssl/dist/crypto/rsa/ |
| rsa_gen.c | 92 BIGNUM *dmp1 = NULL, *dmq1 = NULL, *iqmp = NULL; local 222 /* Calculate iqmp and additional coefficients */ 223 iqmp = BN_new(); 224 if (iqmp == NULL) 227 if (BN_mod_inverse(iqmp, sk_BIGNUM_value(factors, 1), 231 if (!sk_BIGNUM_insert(coeffs, iqmp, sk_BIGNUM_num(coeffs))) 233 iqmp = NULL; 261 BN_clear_free(iqmp); 569 * and the first coeff is in iqmp, so pop those off the stack 571 * assign dmp1/dmq1 and iqmp [all...] |
| rsa_local.h | 69 BIGNUM *iqmp; member in struct:rsa_st
|
| /src/crypto/external/bsd/heimdal/dist/lib/hcrypto/ |
| rsa-gmp.c | 82 mpz_t dmp1, mpz_t dmq1, mpz_t iqmp, 95 /* C2 = 1/q mod p (iqmp) */ 102 mpz_mul(u, iqmp, u); 297 if (rsa->p && rsa->q && rsa->dmp1 && rsa->dmq1 && rsa->iqmp) { 298 mpz_t p, q, dmp1, dmq1, iqmp; local 304 BN2mpz(iqmp, rsa->iqmp); 306 rsa_private_calculate(in, p, q, dmp1, dmq1, iqmp, out); 312 mpz_clear(iqmp); 365 if (rsa->p && rsa->q && rsa->dmp1 && rsa->dmq1 && rsa->iqmp) { 366 mpz_t p, q, dmp1, dmq1, iqmp; local 447 mpz_t el, p, q, n, d, dmp1, dmq1, iqmp, t1, t2, t3; local [all...] |
| rsa-ltm.c | 106 mp_int * dmp1, mp_int * dmq1, mp_int * iqmp, 120 /* C2 = 1/q mod p (iqmp) */ 125 mp_mul(&u, iqmp, &u); 340 if (rsa->p && rsa->q && rsa->dmp1 && rsa->dmq1 && rsa->iqmp) { 341 mp_int p, q, dmp1, dmq1, iqmp; local 343 mp_init_multi(&p, &q, &dmp1, &dmq1, &iqmp, NULL); 349 BN2mpz(&iqmp, rsa->iqmp); 351 res = ltm_rsa_private_calculate(&in, &p, &q, &dmp1, &dmq1, &iqmp, &out); 353 mp_clear_multi(&p, &q, &dmp1, &dmq1, &iqmp, NULL) 429 mp_int p, q, dmp1, dmq1, iqmp; local 520 mp_int el, p, q, n, d, dmp1, dmq1, iqmp, t1, t2, t3; local [all...] |
| rsa-tfm.c | 64 fp_int * dmp1, fp_int * dmq1, fp_int * iqmp, 78 /* C2 = 1/q mod p (iqmp) */ 83 fp_mul(&u, iqmp, &u); 273 if (rsa->p && rsa->q && rsa->dmp1 && rsa->dmq1 && rsa->iqmp) { 274 fp_int p, q, dmp1, dmq1, iqmp; local 280 BN2mpz(&iqmp, rsa->iqmp); 282 res = tfm_rsa_private_calculate(&in, &p, &q, &dmp1, &dmq1, &iqmp, &out); 284 fp_zero_multi(&p, &q, &dmp1, &dmq1, &iqmp, NULL); 344 if (rsa->p && rsa->q && rsa->dmp1 && rsa->dmq1 && rsa->iqmp) { 345 fp_int p, q, dmp1, dmq1, iqmp; local 449 fp_int el, p, q, n, d, dmp1, dmq1, iqmp, t1, t2, t3; local [all...] |
| rsa.h | 116 BIGNUM *iqmp; member in struct:RSA
|
| /src/crypto/external/bsd/netpgp/dist/src/librsa/ |
| rsa.h | 59 BIGNUM *iqmp; member in struct:mpi_rsa_t
|
| /src/crypto/external/bsd/netpgp/dist/src/netpgpverify/ |
| rsa.h | 59 PGPV_BIGNUM *iqmp; member in struct:netpgpv_mpi_rsa_t
|
| /src/crypto/external/bsd/openssl/dist/crypto/rsa/ |
| rsa_local.h | 69 BIGNUM *iqmp; member in struct:rsa_st
|
| /src/crypto/external/bsd/openssl.old/dist/crypto/rsa/ |
| rsa_local.h | 45 BIGNUM *iqmp; member in struct:rsa_st
|
| /src/external/mpl/bind/dist/lib/dns/ |
| opensslrsa_link.c | 50 const BIGNUM *e, *n, *d, *p, *q, *dmp1, *dmq1, *iqmp; member in struct:rsa_components 58 c->iqmp == NULL); 101 (BIGNUM **)&c->iqmp); 125 RSA_get0_crt_params(rsa, &c->dmp1, &c->dmq1, &c->iqmp); 150 BN_clear_free((BIGNUM *)c->iqmp); 453 if (c->dmp1 != NULL || c->dmq1 != NULL || c->iqmp != NULL) { 456 (BIGNUM *)c->iqmp) == 0) 463 c->iqmp = NULL; 640 if (c->iqmp != NULL && 642 c->iqmp) != 1 [all...] |
| /src/crypto/external/apache2/openssl/dist/crypto/pem/ |
| pvkfmt.c | 453 BIGNUM *p = NULL, *q = NULL, *dmp1 = NULL, *dmq1 = NULL, *iqmp = NULL; local 477 if (!read_lebn(&pin, hnbyte, &iqmp)) 484 if (!RSA_set0_crt_params(rsa, dmp1, dmq1, iqmp)) 486 dmp1 = dmq1 = iqmp = NULL; 508 BN_free(iqmp); 651 const BIGNUM *d, *p, *q, *iqmp, *dmp1, *dmq1; local 662 RSA_get0_crt_params(rsa, &dmp1, &dmq1, &iqmp); 663 if ((BN_num_bytes(iqmp) > hnbyte) 679 const BIGNUM *n, *d, *e, *p, *q, *iqmp, *dmp1, *dmq1; local 689 RSA_get0_crt_params(rsa, &dmp1, &dmq1, &iqmp); [all...] |
| /src/crypto/external/bsd/openssl/dist/crypto/pem/ |
| pvkfmt.c | 446 BIGNUM *p = NULL, *q = NULL, *dmp1 = NULL, *dmq1 = NULL, *iqmp = NULL; local 470 if (!read_lebn(&pin, hnbyte, &iqmp)) 477 if (!RSA_set0_crt_params(rsa, dmp1, dmq1, iqmp)) 479 dmp1 = dmq1 = iqmp = NULL; 495 BN_free(iqmp); 639 const BIGNUM *d, *p, *q, *iqmp, *dmp1, *dmq1; local 650 RSA_get0_crt_params(rsa, &dmp1, &dmq1, &iqmp); 651 if ((BN_num_bytes(iqmp) > hnbyte) 667 const BIGNUM *n, *d, *e, *p, *q, *iqmp, *dmp1, *dmq1; local 677 RSA_get0_crt_params(rsa, &dmp1, &dmq1, &iqmp); [all...] |
| /src/crypto/external/bsd/openssl.old/dist/crypto/pem/ |
| pvkfmt.c | 325 BIGNUM *p = NULL, *q = NULL, *dmp1 = NULL, *dmq1 = NULL, *iqmp = NULL; local 350 if (!read_lebn(&pin, hnbyte, &iqmp)) 357 if (!RSA_set0_crt_params(rsa, dmp1, dmq1, iqmp)) 359 dmp1 = dmq1 = iqmp = NULL; 378 BN_free(iqmp); 533 const BIGNUM *d, *p, *q, *iqmp, *dmp1, *dmq1; local 544 RSA_get0_crt_params(rsa, &dmp1, &dmq1, &iqmp); 545 if ((BN_num_bytes(iqmp) > hnbyte) 561 const BIGNUM *n, *d, *e, *p, *q, *iqmp, *dmp1, *dmq1; local 571 RSA_get0_crt_params(rsa, &dmp1, &dmq1, &iqmp); [all...] |
| /src/crypto/external/cpl/tpm-tools/dist/src/data_mgmt/ |
| data_import.c | 770 int iqmpLen = BN_num_bytes( a_pRsa->iqmp ); 784 CK_BYTE *iqmp = malloc( iqmpLen ); local 812 { CKA_COEFFICIENT, iqmp, iqmpLen }, 818 if ( !n || !e || !d || !p || !q || !dmp1 || !dmq1 || !iqmp ) { 831 BN_bn2bin( a_pRsa->iqmp, iqmp ); 848 free( iqmp );
|
| /src/external/mpl/dhcp/bind/dist/lib/dns/ |
| opensslrsa_link.c | 115 RSA_set0_crt_params(RSA *r, BIGNUM *dmp1, BIGNUM *dmq1, BIGNUM *iqmp) { 117 * If the fields dmp1, dmq1 and iqmp in r are NULL, the 122 (r->iqmp == NULL && iqmp == NULL)) 135 if (iqmp != NULL) { 136 BN_free(r->iqmp); 137 r->iqmp = iqmp; 169 const BIGNUM **iqmp) { 176 if (iqmp != NULL) 721 const BIGNUM *dmp1 = NULL, *dmq1 = NULL, *iqmp = NULL; local 906 BIGNUM *dmp1 = NULL, *dmq1 = NULL, *iqmp = NULL; local [all...] |
| pkcs11rsa_link.c | 1432 CK_ATTRIBUTE *dmp1 = NULL, *dmq1 = NULL, *iqmp = NULL; local 1474 iqmp = attr; 1543 if (iqmp != NULL) { 1545 priv.elements[i].length = (unsigned short)iqmp->ulValueLen; 1546 memmove(bufs[i], iqmp->pValue, iqmp->ulValueLen);
|