/openssl/test/ |
H A D | rsa_mp_test.c | 169 exps = OPENSSL_zalloc(sizeof(BIGNUM *)); in key2048p3_v1() 186 OPENSSL_free(exps); in key2048p3_v1() 192 if (exps != NULL) in key2048p3_v1() 193 BN_free(exps[0]); in key2048p3_v1() 207 || !TEST_ptr(exps = sk_BIGNUM_new_null()) in key2048p3_v2() 220 || !TEST_int_ne(sk_BIGNUM_push(exps, num), 0) in key2048p3_v2() 222 || !TEST_int_ne(sk_BIGNUM_push(exps, num), 0) in key2048p3_v2() 224 || !TEST_int_ne(sk_BIGNUM_push(exps, num), 0)) in key2048p3_v2() 238 sk_BIGNUM_free(exps); in key2048p3_v2() 243 sk_BIGNUM_pop_free(exps, BN_free); in key2048p3_v2() [all …]
|
/openssl/util/ |
H A D | checkplatformsyms.pl | 20 my $exps; 31 $exps=<$expsyms>; 55 if (index($exps, $_) < 0) { 70 $exps=<$expsyms>; 77 if (index($exps, $_) < 0) {
|
/openssl/crypto/rsa/ |
H A D | rsa_lib.c | 514 pinfo->d = exps[i]; in RSA_set0_multi_prime_params() 627 if (exps != NULL || coeffs != NULL) { in RSA_get0_multi_prime_crt_params() 634 if (exps != NULL) in RSA_get0_multi_prime_crt_params() 635 exps[i] = pinfo->d; in RSA_get0_multi_prime_crt_params() 789 if (pnum == sk_BIGNUM_num(exps) in DEFINE_STACK_OF() 798 sk_BIGNUM_delete(exps, 0); in DEFINE_STACK_OF() 799 sk_BIGNUM_delete(exps, 0); in DEFINE_STACK_OF() 817 BIGNUM *exp = sk_BIGNUM_pop(exps); in DEFINE_STACK_OF() 892 sk_BIGNUM_const_push(exps, RSA_get0_dmp1(r)); in DEFINE_SPECIAL_STACK_OF_CONST() 901 sk_BIGNUM_const_push(exps, pinfo->d); in DEFINE_SPECIAL_STACK_OF_CONST() [all …]
|
H A D | rsa_backend.c | 70 STACK_OF(BIGNUM) *factors = NULL, *exps = NULL, *coeffs = NULL; in ossl_rsa_fromdata() 127 || !collect_numbers(exps = sk_BIGNUM_new_null(), params, in ossl_rsa_fromdata() 133 if (derive_from_pq && sk_BIGNUM_num(exps) == 0 in ossl_rsa_fromdata() 189 rsa->e, factors, exps, in ossl_rsa_fromdata() 222 || sk_BIGNUM_num(exps) != 0 in ossl_rsa_fromdata() 226 sk_BIGNUM_num(factors), sk_BIGNUM_num(exps), in ossl_rsa_fromdata() 241 sk_BIGNUM_free(exps); in ossl_rsa_fromdata() 251 sk_BIGNUM_pop_free(exps, BN_clear_free); in ossl_rsa_fromdata() 265 STACK_OF(BIGNUM_const) *exps = sk_BIGNUM_const_new_null(); in DEFINE_SPECIAL_STACK_OF_CONST() 272 ossl_rsa_get0_all_params(rsa, factors, exps, coeffs); in DEFINE_SPECIAL_STACK_OF_CONST() [all …]
|
H A D | rsa_gen.c | 85 STACK_OF(BIGNUM) *exps, in DEFINE_STACK_OF() 197 if (!sk_BIGNUM_insert(exps, dmp1, sk_BIGNUM_num(exps))) in DEFINE_STACK_OF() 203 if (!sk_BIGNUM_insert(exps, dmq1, sk_BIGNUM_num(exps))) in DEFINE_STACK_OF() 216 if (!sk_BIGNUM_insert(exps, newexp, sk_BIGNUM_num(exps))) in DEFINE_STACK_OF() 267 STACK_OF(BIGNUM) *exps = NULL; in rsa_multiprime_keygen() 297 exps = sk_BIGNUM_new_null(); in rsa_multiprime_keygen() 298 if (exps == NULL) in rsa_multiprime_keygen() 570 rsa->dmp1 = sk_BIGNUM_delete(exps, 0); in rsa_multiprime_keygen() 571 rsa->dmq1 = sk_BIGNUM_delete(exps, 0); in rsa_multiprime_keygen() 578 tmp = sk_BIGNUM_delete(exps, 0); in rsa_multiprime_keygen() [all …]
|
H A D | rsa_local.h | 155 STACK_OF(BIGNUM) *factors, STACK_OF(BIGNUM) *exps,
|
/openssl/doc/internal/man3/ |
H A D | ossl_rsa_get0_all_params.pod | 13 STACK_OF(BIGNUM_const) *exps, 16 const STACK_OF(BIGNUM) *exps, 23 I<exps> and I<coeffs>. The B<RSA> object takes ownership of the BIGNUMs, 28 I<primes>, I<exps> and I<coeffs>. The B<RSA> object retains ownership of the 44 the I<exps> stack contains I<dP>, I<dQ>, and then the rest of the exponents
|
/openssl/providers/implementations/encode_decode/ |
H A D | encode_key2text.c | 639 STACK_OF(BIGNUM_const) *exps = NULL; in rsa_to_text() 651 exps = sk_BIGNUM_const_new_null(); in rsa_to_text() 654 if (factors == NULL || exps == NULL || coeffs == NULL) { in rsa_to_text() 670 ossl_rsa_get0_all_params((RSA *)rsa, factors, exps, coeffs); in rsa_to_text() 699 sk_BIGNUM_const_value(exps, 0))) in rsa_to_text() 702 sk_BIGNUM_const_value(exps, 1))) in rsa_to_text() 716 sk_BIGNUM_const_value(exps, i))) in rsa_to_text() 778 sk_BIGNUM_const_free(exps); in rsa_to_text()
|
/openssl/include/crypto/ |
H A D | rsa.h | 66 STACK_OF(BIGNUM) *exps, 69 STACK_OF(BIGNUM_const) *exps,
|
/openssl/include/openssl/ |
H A D | rsa.h | 225 BIGNUM *exps[], 241 int RSA_get0_multi_prime_crt_params(const RSA *r, const BIGNUM *exps[],
|
/openssl/doc/man3/ |
H A D | RSA_get0_key.pod | 47 int RSA_get0_multi_prime_crt_params(const RSA *r, const BIGNUM *exps[], 49 int RSA_set0_multi_prime_params(RSA *r, BIGNUM *primes[], BIGNUM *exps[],
|
/openssl/crypto/evp/ |
H A D | ctrl_params_translate.c | 1933 const BIGNUM *exps[10], *coeffs[10]; in get_rsa_payload_exponent() local 1936 && RSA_get0_multi_prime_crt_params(r, exps, coeffs)) in get_rsa_payload_exponent() 1937 bn = exps[exponentnum - 2]; in get_rsa_payload_exponent() 1960 const BIGNUM *exps[10], *coeffs[10]; in get_rsa_payload_coefficient() local 1963 && RSA_get0_multi_prime_crt_params(r, exps, coeffs)) in get_rsa_payload_coefficient()
|