/third_party/ffmpeg/libavformat/ |
D | rtmpdh.c | 63 #define bn_new(bn) \ argument 65 bn = av_malloc(sizeof(*bn)); \ 66 if (bn) \ 67 mpz_init2(bn, 1); \ 69 #define bn_free(bn) \ argument 71 mpz_clear(bn); \ 72 av_free(bn); \ 74 #define bn_set_word(bn, w) mpz_set_ui(bn, w) argument 77 #define bn_sub_word(bn, w) mpz_sub_ui(bn, bn, w) argument 78 #define bn_cmp_1(bn) mpz_cmp_ui(bn, 1) argument [all …]
|
/third_party/openssl/test/ |
D | bntests.pl | 17 sub bn subroutine 33 my $sum = bn($s{'Sum'}); 34 my $a = bn($s{'A'}); 35 my $b = bn($s{'B'}); 39 my $lshift1 = bn($s{'LShift1'}); 40 my $a = bn($s{'A'}); 44 my $lshift = bn($s{'LShift'}); 45 my $a = bn($s{'A'}); 46 my $n = bn($s{'N'}); 50 my $rshift = bn($s{'RShift'}); [all …]
|
D | bntest.c | 314 BIGNUM *bn = BN_new(); in set_signed_bn() local 316 if (bn == NULL) in set_signed_bn() 318 if (!BN_set_word(bn, value < 0 ? -value : value)) { in set_signed_bn() 319 BN_free(bn); in set_signed_bn() 322 BN_set_negative(bn, value < 0); in set_signed_bn() 323 return bn; in set_signed_bn() 1841 BIGNUM *bn = NULL; in test_dec2bn() local 1844 if (!TEST_int_eq(parsedecBN(&bn, "0"), 1) in test_dec2bn() 1845 || !TEST_BN_eq_word(bn, 0) in test_dec2bn() 1846 || !TEST_BN_eq_zero(bn) in test_dec2bn() [all …]
|
D | bn_internal_test.c | 31 BIGNUM *bn = NULL; in test_is_prime_enhanced() local 33 ret = TEST_ptr(bn = BN_new()) in test_is_prime_enhanced() 35 && TEST_true(BN_set_word(bn, 11)) in test_is_prime_enhanced() 37 && TEST_true(ossl_bn_miller_rabin_is_prime(bn, 10, ctx, NULL, 1, in test_is_prime_enhanced() 40 BN_free(bn); in test_is_prime_enhanced() 52 BIGNUM *bn = NULL; in test_is_composite_enhanced() local 54 ret = TEST_ptr(bn = BN_new()) in test_is_composite_enhanced() 56 && TEST_true(BN_set_word(bn, composites[id])) in test_is_composite_enhanced() 57 && TEST_true(ossl_bn_miller_rabin_is_prime(bn, 10, ctx, NULL, 1, in test_is_composite_enhanced() 61 BN_free(bn); in test_is_composite_enhanced()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/data/ |
D | numberpermutationtest.txt | 13 bn-BD 27 bn-BD 41 bn-BD 55 bn-BD 69 bn-BD 83 bn-BD 97 bn-BD 111 bn-BD 125 bn-BD 139 bn-BD [all …]
|
/third_party/icu/icu4c/source/test/testdata/ |
D | numberpermutationtest.txt | 13 bn-BD 27 bn-BD 41 bn-BD 55 bn-BD 69 bn-BD 83 bn-BD 97 bn-BD 111 bn-BD 125 bn-BD 139 bn-BD [all …]
|
/third_party/icu/ohos_icu4j/src/main/tests/resources/ohos/global/icu/dev/data/ |
D | numberpermutationtest.txt | 13 bn-BD 27 bn-BD 41 bn-BD 55 bn-BD 69 bn-BD 83 bn-BD 97 bn-BD 111 bn-BD 125 bn-BD 139 bn-BD [all …]
|
/third_party/openssl/crypto/bn/ |
D | bn_const.c | 25 BIGNUM *BN_get_rfc2409_prime_768(BIGNUM *bn) in BN_get_rfc2409_prime_768() argument 41 return BN_bin2bn(RFC2409_PRIME_768, sizeof(RFC2409_PRIME_768), bn); in BN_get_rfc2409_prime_768() 53 BIGNUM *BN_get_rfc2409_prime_1024(BIGNUM *bn) in BN_get_rfc2409_prime_1024() argument 73 return BN_bin2bn(RFC2409_PRIME_1024, sizeof(RFC2409_PRIME_1024), bn); in BN_get_rfc2409_prime_1024() 85 BIGNUM *BN_get_rfc3526_prime_1536(BIGNUM *bn) in BN_get_rfc3526_prime_1536() argument 87 return COPY_BN(bn, ossl_bignum_modp_1536_p); in BN_get_rfc3526_prime_1536() 98 BIGNUM *BN_get_rfc3526_prime_2048(BIGNUM *bn) in BN_get_rfc3526_prime_2048() argument 100 return COPY_BN(bn, ossl_bignum_modp_2048_p); in BN_get_rfc3526_prime_2048() 111 BIGNUM *BN_get_rfc3526_prime_3072(BIGNUM *bn) in BN_get_rfc3526_prime_3072() argument 113 return COPY_BN(bn, ossl_bignum_modp_3072_p); in BN_get_rfc3526_prime_3072() [all …]
|
D | bn_conv.c | 126 int BN_hex2bn(BIGNUM **bn, const char *a) in BN_hex2bn() argument 148 if (bn == NULL) in BN_hex2bn() 152 if (*bn == NULL) { in BN_hex2bn() 156 ret = *bn; in BN_hex2bn() 191 *bn = ret; in BN_hex2bn() 198 if (*bn == NULL) in BN_hex2bn() 203 int BN_dec2bn(BIGNUM **bn, const char *a) in BN_dec2bn() argument 224 if (bn == NULL) in BN_dec2bn() 231 if (*bn == NULL) { in BN_dec2bn() 235 ret = *bn; in BN_dec2bn() [all …]
|
/third_party/node/deps/openssl/openssl/crypto/bn/ |
D | bn_const.c | 25 BIGNUM *BN_get_rfc2409_prime_768(BIGNUM *bn) in BN_get_rfc2409_prime_768() argument 41 return BN_bin2bn(RFC2409_PRIME_768, sizeof(RFC2409_PRIME_768), bn); in BN_get_rfc2409_prime_768() 53 BIGNUM *BN_get_rfc2409_prime_1024(BIGNUM *bn) in BN_get_rfc2409_prime_1024() argument 73 return BN_bin2bn(RFC2409_PRIME_1024, sizeof(RFC2409_PRIME_1024), bn); in BN_get_rfc2409_prime_1024() 85 BIGNUM *BN_get_rfc3526_prime_1536(BIGNUM *bn) in BN_get_rfc3526_prime_1536() argument 87 return COPY_BN(bn, ossl_bignum_modp_1536_p); in BN_get_rfc3526_prime_1536() 98 BIGNUM *BN_get_rfc3526_prime_2048(BIGNUM *bn) in BN_get_rfc3526_prime_2048() argument 100 return COPY_BN(bn, ossl_bignum_modp_2048_p); in BN_get_rfc3526_prime_2048() 111 BIGNUM *BN_get_rfc3526_prime_3072(BIGNUM *bn) in BN_get_rfc3526_prime_3072() argument 113 return COPY_BN(bn, ossl_bignum_modp_3072_p); in BN_get_rfc3526_prime_3072() [all …]
|
D | bn_conv.c | 126 int BN_hex2bn(BIGNUM **bn, const char *a) in BN_hex2bn() argument 148 if (bn == NULL) in BN_hex2bn() 152 if (*bn == NULL) { in BN_hex2bn() 156 ret = *bn; in BN_hex2bn() 191 *bn = ret; in BN_hex2bn() 198 if (*bn == NULL) in BN_hex2bn() 203 int BN_dec2bn(BIGNUM **bn, const char *a) in BN_dec2bn() argument 224 if (bn == NULL) in BN_dec2bn() 231 if (*bn == NULL) { in BN_dec2bn() 235 ret = *bn; in BN_dec2bn() [all …]
|
/third_party/glslang/Test/baseResults/ |
D | spv.140.frag.out | 29 Name 87 "bn" 30 MemberName 87(bn) 0 "matra" 31 MemberName 87(bn) 1 "matca" 32 MemberName 87(bn) 2 "matr" 33 MemberName 87(bn) 3 "matc" 34 MemberName 87(bn) 4 "matrdef" 51 MemberDecorate 87(bn) 0 RowMajor 52 MemberDecorate 87(bn) 0 Offset 0 53 MemberDecorate 87(bn) 0 MatrixStride 16 54 MemberDecorate 87(bn) 1 ColMajor [all …]
|
D | spv.450.tesc.out | 41 Name 42 "bn" 42 MemberName 42(bn) 0 "v1" 43 MemberName 42(bn) 1 "v2" 44 MemberName 42(bn) 2 "v3" 69 MemberDecorate 42(bn) 0 Patch 70 MemberDecorate 42(bn) 0 Location 20 71 MemberDecorate 42(bn) 1 Patch 72 MemberDecorate 42(bn) 1 Location 24 73 MemberDecorate 42(bn) 2 Patch 74 MemberDecorate 42(bn) 2 Location 25 [all …]
|
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/ |
D | bn.rs | 22 pub fn BN_num_bits(bn: *const BIGNUM) -> c_int; in BN_num_bits() 23 pub fn BN_clear_free(bn: *mut BIGNUM); in BN_clear_free() 32 pub fn BN_set_negative(bn: *mut BIGNUM, n: c_int); in BN_set_negative() 91 pub fn BN_set_word(bn: *mut BIGNUM, n: BN_ULONG) -> c_int; in BN_set_word() 94 pub fn BN_free(bn: *mut BIGNUM); in BN_free() 122 pub fn BN_clear(bn: *mut BIGNUM); in BN_clear() 156 pub fn BN_get_rfc2409_prime_768(bn: *mut BIGNUM) -> *mut BIGNUM; 157 pub fn BN_get_rfc2409_prime_1024(bn: *mut BIGNUM) -> *mut BIGNUM; 158 pub fn BN_get_rfc3526_prime_1536(bn: *mut BIGNUM) -> *mut BIGNUM; 159 pub fn BN_get_rfc3526_prime_2048(bn: *mut BIGNUM) -> *mut BIGNUM; [all …]
|
/third_party/libwebsockets/lib/tls/openssl/ |
D | lws-genrsa.c | 97 ctx->bn[n] = BN_bin2bn(el[n].buf, (int)el[n].len, NULL); in lws_genrsa_create() 98 if (!ctx->bn[n]) { in lws_genrsa_create() 116 if (RSA_set0_key(ctx->rsa, ctx->bn[LWS_GENCRYPTO_RSA_KEYEL_N], in lws_genrsa_create() 117 ctx->bn[LWS_GENCRYPTO_RSA_KEYEL_E], in lws_genrsa_create() 118 ctx->bn[LWS_GENCRYPTO_RSA_KEYEL_D]) != 1) { in lws_genrsa_create() 122 RSA_set0_factors(ctx->rsa, ctx->bn[LWS_GENCRYPTO_RSA_KEYEL_P], in lws_genrsa_create() 123 ctx->bn[LWS_GENCRYPTO_RSA_KEYEL_Q]); in lws_genrsa_create() 125 ctx->rsa->e = ctx->bn[LWS_GENCRYPTO_RSA_KEYEL_E]; in lws_genrsa_create() 126 ctx->rsa->n = ctx->bn[LWS_GENCRYPTO_RSA_KEYEL_N]; in lws_genrsa_create() 127 ctx->rsa->d = ctx->bn[LWS_GENCRYPTO_RSA_KEYEL_D]; in lws_genrsa_create() [all …]
|
/third_party/node/deps/openssl/openssl/apps/ |
D | prime.c | 45 BIGNUM *bn = NULL; in prime_main() local 102 bn = BN_new(); in prime_main() 103 if (bn == NULL) { in prime_main() 107 if (!BN_generate_prime_ex(bn, bits, safe, NULL, NULL, NULL)) { in prime_main() 111 s = hex ? BN_bn2hex(bn) : BN_bn2dec(bn); in prime_main() 123 r = BN_hex2bn(&bn, argv[0]); in prime_main() 125 r = BN_dec2bn(&bn, argv[0]); in prime_main() 132 BN_print(bio_out, bn); in prime_main() 135 BN_check_prime(bn, NULL, NULL) in prime_main() 142 BN_free(bn); in prime_main()
|
/third_party/openssl/apps/ |
D | prime.c | 45 BIGNUM *bn = NULL; in prime_main() local 102 bn = BN_new(); in prime_main() 103 if (bn == NULL) { in prime_main() 107 if (!BN_generate_prime_ex(bn, bits, safe, NULL, NULL, NULL)) { in prime_main() 111 s = hex ? BN_bn2hex(bn) : BN_bn2dec(bn); in prime_main() 123 r = BN_hex2bn(&bn, argv[0]); in prime_main() 125 r = BN_dec2bn(&bn, argv[0]); in prime_main() 132 BN_print(bio_out, bn); in prime_main() 135 BN_check_prime(bn, NULL, NULL) in prime_main() 142 BN_free(bn); in prime_main()
|
/third_party/node/deps/openssl/openssl/providers/ |
D | fips.module.sources | 36 crypto/bn/asm/alpha-mont.pl 37 crypto/bn/asm/armv4-gf2m.pl 38 crypto/bn/asm/armv4-mont.pl 39 crypto/bn/asm/armv8-mont.pl 40 crypto/bn/asm/bn-586.pl 41 crypto/bn/asm/c64xplus-gf2m.pl 42 crypto/bn/asm/co-586.pl 43 crypto/bn/asm/ia64-mont.pl 44 crypto/bn/asm/ia64.S 45 crypto/bn/asm/mips-mont.pl [all …]
|
D | fips-sources.checksums | 36 819c9fd2b0cae9aab81c3cbd1815c2e22949d75f132f649b5883812d0bbaa39a crypto/bn/asm/alpha-mont.pl 37 0070595128b250b9ebdebe48ce53d2d27ca16ec4f7c6c8bd169ab2e4a913b2d1 crypto/bn/asm/armv4-gf2m.pl 38 8c1c53a725b8a4f92b8a353bfeeb393be94198df41c912e3270f9e654417b250 crypto/bn/asm/armv4-mont.pl 39 8d6192337fedb0012764229d600634f8357c3b74fd38bcbfe8b86ddc6ca96ea2 crypto/bn/asm/armv8-mont.pl 40 cb4ad7b7461fcb8e2a0d52881158d0211b79544842d4eae36fc566869a2d62c8 crypto/bn/asm/bn-586.pl 41 636da7e2a66272a81f9c99e90b36c6f132ad6236c739e8b9f2e7315f30b72edd crypto/bn/asm/c64xplus-gf2m.pl 42 c86664fb974362ee52a454c83c2c4b23fd5b7d64b3c9e23ef1e0dfd130a46ee5 crypto/bn/asm/co-586.pl 43 199b9b100f194a2a128c14f2a71be5a04d50d069666d90ca5b69baee1318ccb7 crypto/bn/asm/ia64-mont.pl 44 a511aafbf76647a0c83705d4491c898a5584d300aa449fa6166c8803372946eb crypto/bn/asm/ia64.S 45 687c5d6606fdfd0e242005972d15db74a9cbac2b8a9a54a56fcb1e99d3880ff3 crypto/bn/asm/mips-mont.pl [all …]
|
/third_party/openssl/providers/ |
D | fips.module.sources | 36 crypto/bn/asm/alpha-mont.pl 37 crypto/bn/asm/armv4-gf2m.pl 38 crypto/bn/asm/armv4-mont.pl 39 crypto/bn/asm/armv8-mont.pl 40 crypto/bn/asm/bn-586.pl 41 crypto/bn/asm/c64xplus-gf2m.pl 42 crypto/bn/asm/co-586.pl 43 crypto/bn/asm/ia64-mont.pl 44 crypto/bn/asm/ia64.S 45 crypto/bn/asm/mips-mont.pl [all …]
|
D | fips-sources.checksums | 36 819c9fd2b0cae9aab81c3cbd1815c2e22949d75f132f649b5883812d0bbaa39a crypto/bn/asm/alpha-mont.pl 37 0070595128b250b9ebdebe48ce53d2d27ca16ec4f7c6c8bd169ab2e4a913b2d1 crypto/bn/asm/armv4-gf2m.pl 38 8c1c53a725b8a4f92b8a353bfeeb393be94198df41c912e3270f9e654417b250 crypto/bn/asm/armv4-mont.pl 39 8d6192337fedb0012764229d600634f8357c3b74fd38bcbfe8b86ddc6ca96ea2 crypto/bn/asm/armv8-mont.pl 40 cb4ad7b7461fcb8e2a0d52881158d0211b79544842d4eae36fc566869a2d62c8 crypto/bn/asm/bn-586.pl 41 636da7e2a66272a81f9c99e90b36c6f132ad6236c739e8b9f2e7315f30b72edd crypto/bn/asm/c64xplus-gf2m.pl 42 c86664fb974362ee52a454c83c2c4b23fd5b7d64b3c9e23ef1e0dfd130a46ee5 crypto/bn/asm/co-586.pl 43 199b9b100f194a2a128c14f2a71be5a04d50d069666d90ca5b69baee1318ccb7 crypto/bn/asm/ia64-mont.pl 44 a511aafbf76647a0c83705d4491c898a5584d300aa449fa6166c8803372946eb crypto/bn/asm/ia64.S 45 687c5d6606fdfd0e242005972d15db74a9cbac2b8a9a54a56fcb1e99d3880ff3 crypto/bn/asm/mips-mont.pl [all …]
|
/third_party/openssl/crypto/asn1/ |
D | x_bignum.c | 97 BIGNUM *bn; in bn_i2c() local 101 bn = (BIGNUM *)*pval; in bn_i2c() 103 if (BN_num_bits(bn) & 0x7) in bn_i2c() 110 BN_bn2bin(bn, cont); in bn_i2c() 112 return pad + BN_num_bytes(bn); in bn_i2c() 118 BIGNUM *bn; in bn_c2i() local 122 bn = (BIGNUM *)*pval; in bn_c2i() 123 if (!BN_bin2bn(cont, len, bn)) { in bn_c2i() 134 BIGNUM *bn; in bn_secure_c2i() local 144 bn = (BIGNUM *)*pval; in bn_secure_c2i() [all …]
|
/third_party/node/deps/openssl/openssl/crypto/asn1/ |
D | x_bignum.c | 97 BIGNUM *bn; in bn_i2c() local 101 bn = (BIGNUM *)*pval; in bn_i2c() 103 if (BN_num_bits(bn) & 0x7) in bn_i2c() 110 BN_bn2bin(bn, cont); in bn_i2c() 112 return pad + BN_num_bytes(bn); in bn_i2c() 118 BIGNUM *bn; in bn_c2i() local 122 bn = (BIGNUM *)*pval; in bn_c2i() 123 if (!BN_bin2bn(cont, len, bn)) { in bn_c2i() 134 BIGNUM *bn; in bn_secure_c2i() local 144 bn = (BIGNUM *)*pval; in bn_secure_c2i() [all …]
|
/third_party/openssl/test/testutil/ |
D | format_output.c | 184 static const char *test_bignum_zero_null(const BIGNUM *bn) in test_bignum_zero_null() argument 186 if (bn != NULL) in test_bignum_zero_null() 187 return BN_is_negative(bn) ? "-0" : "0"; in test_bignum_zero_null() 195 static void test_bignum_zero_print(const BIGNUM *bn, char sep) in test_bignum_zero_print() argument 197 const char *v = test_bignum_zero_null(bn); in test_bignum_zero_print() 198 const char *suf = bn != NULL ? ": 0" : ""; in test_bignum_zero_print() 208 char *out, int *lz, const BIGNUM *bn) in convert_bn_memory() argument 214 if (bn != NULL && !BN_is_zero(bn)) { in convert_bn_memory() 228 if ((in[bytes] & 0xf0) != 0 && BN_is_negative(bn)) { in convert_bn_memory() 235 if (BN_is_negative(bn)) { in convert_bn_memory() [all …]
|
/third_party/node/deps/openssl/config/archs/VC-WIN64A/asm_avx2/ |
D | openssl-fips.gypi | 6 'openssl/crypto/bn/bn_add.c', 7 'openssl/crypto/bn/bn_asm.c', 8 'openssl/crypto/bn/bn_blind.c', 9 'openssl/crypto/bn/bn_const.c', 10 'openssl/crypto/bn/bn_conv.c', 11 'openssl/crypto/bn/bn_ctx.c', 12 'openssl/crypto/bn/bn_dh.c', 13 'openssl/crypto/bn/bn_div.c', 14 'openssl/crypto/bn/bn_exp.c', 15 'openssl/crypto/bn/bn_exp2.c', [all …]
|