/freebsd/crypto/openssl/test/ |
H A D | rsa_mp_test.c | 152 BIGNUM **pris = NULL, **exps = NULL, **coeffs = NULL; in key2048p3_v1() local 170 coeffs = OPENSSL_zalloc(sizeof(BIGNUM *)); in key2048p3_v1() 171 if (!TEST_ptr(pris) || !TEST_ptr(exps) || !TEST_ptr(coeffs)) in key2048p3_v1() 176 coeffs[0] = BN_bin2bn(ex_coefficient, sizeof(ex_coefficient) - 1, NULL); in key2048p3_v1() 177 if (!TEST_ptr(pris[0]) || !TEST_ptr(exps[0]) || !TEST_ptr(coeffs[0])) in key2048p3_v1() 181 coeffs, NUM_EXTRA_PRIMES))) in key2048p3_v1() 187 OPENSSL_free(coeffs); in key2048p3_v1() 194 if (coeffs != NULL) in key2048p3_v1() 195 BN_free(coeffs[0]); in key2048p3_v1() 202 STACK_OF(BIGNUM) *primes = NULL, *exps = NULL, *coeffs = NULL; in key2048p3_v2() [all …]
|
/freebsd/sys/tools/sound/ |
H A D | feeder_eq_mkfilter.awk | 127 function feedeq_gen_biquad_coeffs(coeffs, rate, gain, \ 157 coeffs["treble", gain, 0] = feedeq_fx_floor(a0); 158 coeffs["treble", gain, 1] = feedeq_fx_floor(a1); 159 coeffs["treble", gain, 2] = feedeq_fx_floor(a2); 160 coeffs["treble", gain, 3] = feedeq_fx_floor(b0); 161 coeffs["treble", gain, 4] = feedeq_fx_floor(b1); 162 coeffs["treble", gain, 5] = feedeq_fx_floor(b2); 191 coeffs["bass", gain, 0] = feedeq_fx_floor(a0); 192 coeffs["bass", gain, 1] = feedeq_fx_floor(a1); 193 coeffs["bass", gain, 2] = feedeq_fx_floor(a2); [all …]
|
/freebsd/contrib/arm-optimized-routines/math/aarch64/advsimd/ |
H A D | erfcf.c | 16 float coeffs[4]; member 31 .coeffs = { 0x1.555556p-2f, 0x1.555556p-1f, 0x1.111112p-3f, 0 }, 137 float32x4_t coeffs = vld1q_f32 (dat->coeffs); in V_NAME_F1() local 138 float32x4_t p2 = vfmsq_laneq_f32 (dat->third, r2, coeffs, 1); in V_NAME_F1() 140 = vmulq_f32 (r, vfmaq_laneq_f32 (v_f32 (-0.5), r2, coeffs, 0)); in V_NAME_F1() 141 float32x4_t p4 = vfmaq_laneq_f32 (dat->two_over_five, r2, coeffs, 2); in V_NAME_F1()
|
/freebsd/contrib/arm-optimized-routines/math/tools/ |
H A D | sincosf.sollya | 6 // This script only finds the coeffs for cos - see math/tools/sin.sollya for sin coeffs. 21 // first coeff is fixed, iteratively find optimal double prec coeffs 32 print("coeffs:");
|
H A D | sincos.sollya | 6 // This script only finds the coeffs for cos - see math/aarch64/advsimd/sin.c for sin coeffs 21 // first coeff is fixed, iteratively find optimal double prec coeffs 32 print("coeffs:");
|
H A D | remez.jl | 91 function poly_eval(coeffs::Array{BigFloat}, x::BigFloat) 92 n = length(coeffs) 96 return coeffs[1] 98 return coeffs[1] + x * poly_eval(coeffs[2:n], x) 134 function poly_to_string(coeffs::Array{BigFloat}) 135 n = length(coeffs) 139 return float_to_str(coeffs[1]) 141 return string(float_to_str(coeffs[1]), "+", xvarname, "*(", 142 poly_to_string(coeffs[2:n]), ")") 900 function wellcond(coeffs, lo, hi) argument [all …]
|
H A D | v_exp.sollya | 18 // first 2 coeffs are fixed, iteratively find optimal double prec coeffs 29 print("coeffs:");
|
H A D | exp.sollya | 19 // first 2 coeffs are fixed, iteratively find optimal double prec coeffs 34 print("coeffs:");
|
H A D | cos.sollya | 19 // first coeff is fixed, iteratively find optimal double prec coeffs 30 print("coeffs:");
|
H A D | v_sin.sollya | 25 // first coeff is fixed, iteratively find optimal double prec coeffs 35 print("coeffs:");
|
H A D | sinpi.sollya | 22 // first coeff is predefine, iteratively find optimal double prec coeffs 32 print("coeffs:");
|
H A D | sin.sollya | 25 // first coeff is fixed, iteratively find optimal double prec coeffs 36 print("coeffs:");
|
H A D | log.sollya | 24 // first coeff is fixed, iteratively find optimal double prec coeffs 34 print("coeffs:");
|
H A D | v_log.sollya | 23 // first coeff is fixed, iteratively find optimal double prec coeffs 33 print("coeffs:");
|
H A D | v_log2f.sollya | 27 // first coeff is fixed, iteratively find optimal double prec coeffs 37 print("coeffs:");
|
H A D | log_abs.sollya | 19 // first coeff is fixed, iteratively find optimal double prec coeffs 34 print("coeffs:");
|
H A D | v_log10.sollya | 23 // first coeff is fixed, iteratively find optimal double prec coeffs 37 print("coeffs:");
|
H A D | log10f.sollya | 26 // first coeff is fixed, iteratively find optimal double prec coeffs 36 print("coeffs:");
|
H A D | log2.sollya | 29 // first coeff is fixed, iteratively find optimal double prec coeffs 41 print("coeffs:");
|
/freebsd/crypto/openssl/doc/internal/man3/ |
H A D | ossl_rsa_get0_all_params.pod | 14 STACK_OF(BIGNUM_const) *coeffs); 17 const STACK_OF(BIGNUM) *coeffs); 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 49 the I<coeffs> stack contains I<qInv>, and then the rest of the coefficients
|
/freebsd/crypto/openssl/crypto/rsa/ |
H A D | rsa_backend.c | 68 STACK_OF(BIGNUM) *factors = NULL, *exps = NULL, *coeffs = NULL; in ossl_rsa_fromdata() 95 || !collect_numbers(coeffs = sk_BIGNUM_new_null(), params, in ossl_rsa_fromdata() 101 && !ossl_rsa_set0_all_params(rsa, factors, exps, coeffs)) in ossl_rsa_fromdata() 108 sk_BIGNUM_free(coeffs); in ossl_rsa_fromdata() 117 sk_BIGNUM_pop_free(coeffs, BN_free); in ossl_rsa_fromdata() 130 STACK_OF(BIGNUM_const) *coeffs = 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() 154 coeffs)) in DEFINE_SPECIAL_STACK_OF_CONST() 167 sk_BIGNUM_const_free(coeffs); in DEFINE_SPECIAL_STACK_OF_CONST()
|
H A D | rsa_lib.c | 480 BIGNUM *coeffs[], int pnum) in RSA_set0_multi_prime_params() argument 486 if (primes == NULL || exps == NULL || coeffs == NULL || pnum == 0) in RSA_set0_multi_prime_params() 500 if (primes[i] != NULL && exps[i] != NULL && coeffs[i] != NULL) { in RSA_set0_multi_prime_params() 506 pinfo->t = coeffs[i]; in RSA_set0_multi_prime_params() 610 const BIGNUM *coeffs[]) in RSA_get0_multi_prime_crt_params() argument 618 if (exps != NULL || coeffs != NULL) { in RSA_get0_multi_prime_crt_params() 627 if (coeffs != NULL) in RSA_get0_multi_prime_crt_params() 628 coeffs[i] = pinfo->t; in RSA_get0_multi_prime_crt_params() 745 const STACK_OF(BIGNUM) *coeffs) in DEFINE_STACK_OF() 752 if (primes == NULL || exps == NULL || coeffs == NULL) in DEFINE_STACK_OF() [all …]
|
/freebsd/contrib/arm-optimized-routines/math/aarch64/sve/ |
H A D | erfcf.c | 80 svfloat32_t coeffs = svld1rq (svptrue_b32 (), &dat->third); in SV_NAME_F1() local 83 svfloat32_t p2 = svmls_lane (sv_f32 (dat->third), r2, coeffs, 1); in SV_NAME_F1() 85 = svmul_x (svptrue_b32 (), r, svmla_lane (sv_f32 (-0.5), r2, coeffs, 0)); in SV_NAME_F1() 86 svfloat32_t p4 = svmla_lane (sv_f32 (dat->two_over_five), r2, coeffs, 2); in SV_NAME_F1()
|
/freebsd/contrib/arm-optimized-routines/math/ |
H A D | tgamma128.c | 34 static long double poly(const long double *coeffs, size_t n, long double x) in poly() argument 36 long double result = coeffs[--n]; in poly() 39 result = (result * x) + coeffs[--n]; in poly()
|
/freebsd/crypto/openssl/providers/implementations/encode_decode/ |
H A D | encode_key2text.c | 638 STACK_OF(BIGNUM_const) *coeffs = NULL; in rsa_to_text() 650 coeffs = 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() 703 sk_BIGNUM_const_value(coeffs, 0))) in rsa_to_text() 719 sk_BIGNUM_const_value(coeffs, i - 1))) in rsa_to_text() 777 sk_BIGNUM_const_free(coeffs); in rsa_to_text()
|