Searched refs:dmodpminus1 (Results 1 – 4 of 4) sorted by relevance
/illumos-gate/usr/src/common/crypto/rsa/ |
H A D | rsa_impl.c | 128 if ((err = big_init(&(key->dmodpminus1), plen)) != BIG_OK) in RSA_key_init() 152 big_finish(&(key->dmodpminus1)); in RSA_key_init() 175 big_finish(&(key->dmodpminus1)); in RSA_key_finish() 328 (void) big_copy(&(key->dmodpminus1), &f); in generate_rsa_key() 471 rsakey.dmodpminus1.len * (int)sizeof (BIG_CHUNK_TYPE); in rsa_genkey_pair() 473 &(rsakey.dmodpminus1), bkey->expo2_bytes); in rsa_genkey_pair() 606 bytestring2bignum(&(rsakey.dmodpminus1), in rsa_decrypt() 611 if ((big_cmp_abs(&(rsakey.dmodpminus1), &(rsakey.p)) > 0) || in rsa_decrypt() 619 if (big_modexp_crt(&msg, &msg, &(rsakey.dmodpminus1), in rsa_decrypt()
|
H A D | rsa_impl.h | 91 BIGNUM dmodpminus1; /* d mod (p - 1) (exponent 1) */ member
|
/illumos-gate/usr/src/common/bignum/ |
H A D | bignum.h | 145 BIG_ERR_CODE big_modexp_crt(BIGNUM *result, BIGNUM *a, BIGNUM *dmodpminus1, 148 BIG_ERR_CODE big_modexp_crt_ext(BIGNUM *result, BIGNUM *a, BIGNUM *dmodpminus1,
|
H A D | bignumimpl.c | 2391 big_modexp_crt_ext(BIGNUM *result, BIGNUM *a, BIGNUM *dmodpminus1, in big_modexp_crt_ext() argument 2452 if ((err = big_modexp_ext(&ap, &ap, dmodpminus1, p, p_rr, info)) != in big_modexp_crt_ext() 2491 big_modexp_crt(BIGNUM *result, BIGNUM *a, BIGNUM *dmodpminus1, in big_modexp_crt() argument 2495 return (big_modexp_crt_ext(result, a, dmodpminus1, dmodqminus1, in big_modexp_crt()
|