Searched refs:rsakey (Results 1 – 1 of 1) sorted by relevance
/illumos-gate/usr/src/common/crypto/rsa/ |
H A D | rsa_impl.c | 402 RSAkey rsakey; in rsa_genkey_pair() local 480 RSA_key_finish(&rsakey); in rsa_genkey_pair() 494 RSAkey rsakey; in rsa_encrypt() local 535 if (big_modexp(&msg, &msg, &(rsakey.e), &(rsakey.n), NULL) != in rsa_encrypt() 547 RSA_key_finish(&rsakey); in rsa_encrypt() 561 RSAkey rsakey; in rsa_decrypt() local 611 if ((big_cmp_abs(&(rsakey.dmodpminus1), &(rsakey.p)) > 0) || in rsa_decrypt() 612 (big_cmp_abs(&(rsakey.dmodqminus1), &(rsakey.q)) > 0) || in rsa_decrypt() 613 (big_cmp_abs(&(rsakey.pinvmodq), &(rsakey.q)) > 0)) { in rsa_decrypt() 620 &(rsakey.dmodqminus1), &(rsakey.p), &(rsakey.q), in rsa_decrypt() [all …]
|