/third_party/openssl/test/ |
H A D | rsa_mp_test.c | 152 BIGNUM **pris = NULL, **exps = NULL, **coeffs = NULL; in key2048p3_v1() local 169 exps = OPENSSL_zalloc(sizeof(BIGNUM *)); in key2048p3_v1() 171 if (!TEST_ptr(pris) || !TEST_ptr(exps) || !TEST_ptr(coeffs)) in key2048p3_v1() 175 exps[0] = BN_bin2bn(ex_exponent, sizeof(ex_exponent) - 1, NULL); in key2048p3_v1() 177 if (!TEST_ptr(pris[0]) || !TEST_ptr(exps[0]) || !TEST_ptr(coeffs[0])) in key2048p3_v1() 180 if (!TEST_true(RSA_set0_multi_prime_params(key, pris, exps, 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() 202 STACK_OF(BIGNUM) *primes = NULL, *exps in key2048p3_v2() [all...] |
/third_party/node/deps/openssl/openssl/crypto/rsa/ |
H A D | rsa_lib.c | 479 int RSA_set0_multi_prime_params(RSA *r, BIGNUM *primes[], BIGNUM *exps[], 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() 505 pinfo->d = exps[i]; in RSA_set0_multi_prime_params() 609 int RSA_get0_multi_prime_crt_params(const RSA *r, const BIGNUM *exps[], in RSA_get0_multi_prime_crt_params() argument 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 in DEFINE_STACK_OF() [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() [all...] |
/third_party/openssl/crypto/rsa/ |
H A D | rsa_lib.c | 479 int RSA_set0_multi_prime_params(RSA *r, BIGNUM *primes[], BIGNUM *exps[], 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() 505 pinfo->d = exps[i]; in RSA_set0_multi_prime_params() 609 int RSA_get0_multi_prime_crt_params(const RSA *r, const BIGNUM *exps[], in RSA_get0_multi_prime_crt_params() argument 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 in DEFINE_STACK_OF() [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() 145 int numexps = sk_BIGNUM_const_num(exps); in DEFINE_SPECIAL_STACK_OF_CONST() 163 ossl_rsa_mp_exp_names, exps) in DEFINE_SPECIAL_STACK_OF_CONST() [all...] |
/third_party/node/deps/openssl/openssl/providers/implementations/encode_decode/ |
H A D | encode_key2text.c | 636 STACK_OF(BIGNUM_const) *exps = NULL; in rsa_to_text() 648 exps = sk_BIGNUM_const_new_null(); in rsa_to_text() 651 if (factors == NULL || exps == NULL || coeffs == NULL) { in rsa_to_text() 667 ossl_rsa_get0_all_params((RSA *)rsa, factors, exps, coeffs); in rsa_to_text() 696 sk_BIGNUM_const_value(exps, 0))) in rsa_to_text() 699 sk_BIGNUM_const_value(exps, 1))) in rsa_to_text() 713 sk_BIGNUM_const_value(exps, i))) in rsa_to_text() 775 sk_BIGNUM_const_free(exps); in rsa_to_text()
|
/third_party/openssl/providers/implementations/encode_decode/ |
H A D | encode_key2text.c | 649 STACK_OF(BIGNUM_const) *exps = NULL; in rsa_to_text() 661 exps = sk_BIGNUM_const_new_null(); in rsa_to_text() 664 if (factors == NULL || exps == NULL || coeffs == NULL) { in rsa_to_text() 680 ossl_rsa_get0_all_params((RSA *)rsa, factors, exps, coeffs); in rsa_to_text() 709 sk_BIGNUM_const_value(exps, 0))) in rsa_to_text() 712 sk_BIGNUM_const_value(exps, 1))) in rsa_to_text() 726 sk_BIGNUM_const_value(exps, i))) in rsa_to_text() 788 sk_BIGNUM_const_free(exps); in rsa_to_text()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | BigNumberFormatTest.java | 301 String exp = null, exps[] = null; in expect() 313 exps = (String[]) expo; in expect() 324 if (exps != null) { in expect() 325 n = Math.max(n, exps.length); in expect() 330 exps == null ? exp : exps[i]); in expect()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
H A D | BigNumberFormatTest.java | 304 String exp = null, exps[] = null; in expect() 316 exps = (String[]) expo; in expect() 327 if (exps != null) { in expect() 328 n = Math.max(n, exps.length); in expect() 333 exps == null ? exp : exps[i]); in expect()
|
/third_party/node/deps/openssl/openssl/include/crypto/ |
H A D | rsa.h | 60 const STACK_OF(BIGNUM) *exps, 63 STACK_OF(BIGNUM_const) *exps,
|
/third_party/openssl/include/crypto/ |
H A D | rsa.h | 60 const STACK_OF(BIGNUM) *exps, 63 STACK_OF(BIGNUM_const) *exps,
|
/third_party/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()
|
/third_party/node/deps/openssl/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[],
|
/third_party/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[],
|
/third_party/openssl/ohos_lite/include/openssl/ |
H A D | rsa.h | 207 int RSA_set0_multi_prime_params(RSA *r, BIGNUM *primes[], BIGNUM *exps[], 217 int RSA_get0_multi_prime_crt_params(const RSA *r, const BIGNUM *exps[],
|
/third_party/node/deps/openssl/openssl/crypto/evp/ |
H A D | ctrl_params_translate.c | 1873 const BIGNUM *exps[10], *coeffs[10]; in get_rsa_payload_exponent() local 1876 && RSA_get0_multi_prime_crt_params(r, exps, coeffs)) in get_rsa_payload_exponent() 1877 bn = exps[exponentnum - 2]; in get_rsa_payload_exponent() 1900 const BIGNUM *exps[10], *coeffs[10]; in get_rsa_payload_coefficient() local 1903 && RSA_get0_multi_prime_crt_params(r, exps, coeffs)) in get_rsa_payload_coefficient()
|
/third_party/openssl/crypto/evp/ |
H A D | ctrl_params_translate.c | 1867 const BIGNUM *exps[10], *coeffs[10]; in get_rsa_payload_exponent() local 1870 && RSA_get0_multi_prime_crt_params(r, exps, coeffs)) in get_rsa_payload_exponent() 1871 bn = exps[exponentnum - 2]; in get_rsa_payload_exponent() 1894 const BIGNUM *exps[10], *coeffs[10]; in get_rsa_payload_coefficient() local 1897 && RSA_get0_multi_prime_crt_params(r, exps, coeffs)) in get_rsa_payload_coefficient()
|
/third_party/vk-gl-cts/framework/common/ |
H A D | tcuTextureUtil.cpp | 1350 int exps = de::max(-eBias - 1, floorc) + 1 + eBias; 1351 float e = deFloatPow(2.0f, (float)(exps-eBias-mBits)); 1356 exps++; 1364 DE_ASSERT((exps & ~((1<<5)-1)) == 0); 1369 return rs | (gs << 9) | (bs << 18) | (exps << 27);
|
/third_party/ffmpeg/libavcodec/ |
H A D | ac3dec.c | 472 /* convert to absolute exps and expand groups */ in decode_exponents() 541 int8_t *exps = s->dexps[ch_index]; in ac3_decode_transform_coeffs_ch() local 608 coeffs[freq] = mantissa >> exps[freq]; in ac3_decode_transform_coeffs_ch()
|
/third_party/skia/tests/ |
H A D | SkVMTest.cpp | 2035 float exps[] = {-2, -1, 0, 1, 2}; 2036 constexpr int N = SK_ARRAY_COUNT(exps); 2037 eval(N, exps, [](skvm::Builder* b, skvm::F32 exp) { 2041 compare(N, exps, expected);
|