| /freebsd-14.2/contrib/netbsd-tests/lib/libm/ |
| H A D | t_scalbn.c | 124 y = scalbn(x, exps[i]); in ATF_TC_BODY() 173 y = scalbn(x, exps[i]); in ATF_TC_BODY() 176 ldexp(x, exps[i]), y - ldexp(x, exps[i])); in ATF_TC_BODY() 196 y = scalbn(x, exps[i]); in ATF_TC_BODY() 217 y = scalbn(x, exps[i]); in ATF_TC_BODY() 269 y = scalbnf(x, exps[i]); in ATF_TC_BODY() 318 y = scalbnf(x, exps[i]); in ATF_TC_BODY() 321 i, exps[i], y, ldexpf(x, exps[i]), y-ldexpf(x, exps[i])); in ATF_TC_BODY() 341 y = scalbnf(x, exps[i]); in ATF_TC_BODY() 362 y = scalbnf(x, exps[i]); in ATF_TC_BODY() [all …]
|
| H A D | t_ldexp.c | 228 y = ldexp(x, exps[i]); in ATF_TC_BODY() 244 for (i = 0; i < __arraycount(exps); i++) in ATF_TC_BODY() 245 ATF_CHECK(ldexp(x, exps[i]) == x); in ATF_TC_BODY() 260 ATF_CHECK(ldexp(x, exps[i]) == x); in ATF_TC_BODY() 278 y = ldexp(x, exps[i]); in ATF_TC_BODY() 299 y = ldexp(x, exps[i]); in ATF_TC_BODY() 348 y = ldexpf(x, exps[i]); in ATF_TC_BODY() 365 ATF_CHECK(ldexpf(x, exps[i]) == x); in ATF_TC_BODY() 380 ATF_CHECK(ldexpf(x, exps[i]) == x); in ATF_TC_BODY() 398 y = ldexpf(x, exps[i]); in ATF_TC_BODY() [all …]
|
| /freebsd-14.2/crypto/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 …]
|
| /freebsd-14.2/crypto/openssl/crypto/rsa/ |
| H A D | rsa_lib.c | 505 pinfo->d = exps[i]; in RSA_set0_multi_prime_params() 618 if (exps != NULL || coeffs != NULL) { in RSA_get0_multi_prime_crt_params() 625 if (exps != NULL) in RSA_get0_multi_prime_crt_params() 626 exps[i] = pinfo->d; in RSA_get0_multi_prime_crt_params() 744 const STACK_OF(BIGNUM) *exps, in DEFINE_STACK_OF() 752 if (primes == NULL || exps == NULL || coeffs == NULL) in DEFINE_STACK_OF() 763 if (pnum == sk_BIGNUM_num(exps) in DEFINE_STACK_OF() 786 BIGNUM *exp = sk_BIGNUM_value(exps, i); in DEFINE_STACK_OF() 863 sk_BIGNUM_const_push(exps, RSA_get0_dmp1(r)); in DEFINE_SPECIAL_STACK_OF_CONST() 864 sk_BIGNUM_const_push(exps, RSA_get0_dmq1(r)); in DEFINE_SPECIAL_STACK_OF_CONST() [all …]
|
| H A D | rsa_backend.c | 68 STACK_OF(BIGNUM) *factors = NULL, *exps = NULL, *coeffs = NULL; in ossl_rsa_fromdata() 93 || !collect_numbers(exps = sk_BIGNUM_new_null(), params, in ossl_rsa_fromdata() 101 && !ossl_rsa_set0_all_params(rsa, factors, exps, coeffs)) in ossl_rsa_fromdata() 107 sk_BIGNUM_free(exps); in ossl_rsa_fromdata() 116 sk_BIGNUM_pop_free(exps, BN_free); in ossl_rsa_fromdata() 129 STACK_OF(BIGNUM_const) *exps = sk_BIGNUM_const_new_null(); in DEFINE_SPECIAL_STACK_OF_CONST() 132 if (rsa == NULL || factors == NULL || exps == NULL || coeffs == NULL) in DEFINE_SPECIAL_STACK_OF_CONST() 136 ossl_rsa_get0_all_params(rsa, factors, exps, coeffs); in DEFINE_SPECIAL_STACK_OF_CONST() 151 ossl_rsa_mp_exp_names, exps) in DEFINE_SPECIAL_STACK_OF_CONST() 166 sk_BIGNUM_const_free(exps); in DEFINE_SPECIAL_STACK_OF_CONST()
|
| /freebsd-14.2/crypto/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
|
| /freebsd-14.2/crypto/openssl/providers/implementations/encode_decode/ |
| H A D | encode_key2text.c | 637 STACK_OF(BIGNUM_const) *exps = NULL; in rsa_to_text() 649 exps = sk_BIGNUM_const_new_null(); in rsa_to_text() 652 if (factors == NULL || exps == NULL || coeffs == NULL) { in rsa_to_text() 668 ossl_rsa_get0_all_params((RSA *)rsa, factors, exps, coeffs); in rsa_to_text() 697 sk_BIGNUM_const_value(exps, 0))) in rsa_to_text() 700 sk_BIGNUM_const_value(exps, 1))) in rsa_to_text() 714 sk_BIGNUM_const_value(exps, i))) in rsa_to_text() 776 sk_BIGNUM_const_free(exps); in rsa_to_text()
|
| /freebsd-14.2/crypto/openssl/include/crypto/ |
| H A D | rsa.h | 60 const STACK_OF(BIGNUM) *exps, 63 STACK_OF(BIGNUM_const) *exps,
|
| /freebsd-14.2/contrib/arm-optimized-routines/pl/math/ |
| H A D | Dir.mk | 181 fenv-exps := $(ulp-input-dir)/fenv 182 $(fenv-exps): $(math-lib-fenvs) 189 check-pl/math-ulp: $(math-tools) $(ulp-lims) $(fenv-exps) $(ulp-itvs) 194 FENV=../../../$(fenv-exps) \
|
| /freebsd-14.2/contrib/arm-optimized-routines/math/test/rtest/ |
| H A D | dotest.c | 831 int exps[] = { in float32_case() local 854 for (eptr = 0; eptr < sizeof(exps)/sizeof(*exps); eptr++) { in float32_case() 855 se = (sign ? 0x80000000 : 0) | ((exps[eptr]+127) << 23); in float32_case() 958 int exps[] = { in float64_case() local 982 for (eptr = 0; eptr < sizeof(exps)/sizeof(*exps); eptr++) { in float64_case() 983 se = (sign ? 0x80000000 : 0) | ((exps[eptr]+1023) << 20); in float64_case()
|
| /freebsd-14.2/crypto/openssl/include/openssl/ |
| H A D | rsa.h | 214 BIGNUM *exps[], 230 int RSA_get0_multi_prime_crt_params(const RSA *r, const BIGNUM *exps[],
|
| /freebsd-14.2/crypto/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[],
|
| /freebsd-14.2/crypto/openssl/crypto/evp/ |
| H A D | ctrl_params_translate.c | 1877 const BIGNUM *exps[10], *coeffs[10]; in get_rsa_payload_exponent() local 1880 && RSA_get0_multi_prime_crt_params(r, exps, coeffs)) in get_rsa_payload_exponent() 1881 bn = exps[exponentnum - 2]; in get_rsa_payload_exponent() 1904 const BIGNUM *exps[10], *coeffs[10]; in get_rsa_payload_coefficient() local 1907 && RSA_get0_multi_prime_crt_params(r, exps, coeffs)) in get_rsa_payload_coefficient()
|