/third_party/openssl/crypto/srp/ |
D | srp_lib.c | 80 BN_CTX *bn_ctx; in SRP_Calc_server_key() local 85 if ((bn_ctx = BN_CTX_new()) == NULL || (tmp = BN_new()) == NULL) in SRP_Calc_server_key() 90 if (!BN_mod_exp(tmp, v, u, N, bn_ctx)) in SRP_Calc_server_key() 92 if (!BN_mod_mul(tmp, A, tmp, N, bn_ctx)) in SRP_Calc_server_key() 96 if (S != NULL && !BN_mod_exp(S, tmp, b, N, bn_ctx)) { in SRP_Calc_server_key() 101 BN_CTX_free(bn_ctx); in SRP_Calc_server_key() 111 BN_CTX *bn_ctx; in SRP_Calc_B_ex() local 114 (bn_ctx = BN_CTX_new_ex(libctx)) == NULL) in SRP_Calc_B_ex() 123 if (!BN_mod_exp(gb, g, b, N, bn_ctx) in SRP_Calc_B_ex() 125 || !BN_mod_mul(kv, v, k, N, bn_ctx) in SRP_Calc_B_ex() [all …]
|
D | srp_vfy.c | 720 BN_CTX *bn_ctx = BN_CTX_new_ex(libctx); in SRP_create_verifier_BN_ex() local 727 (verifier == NULL) || (N == NULL) || (g == NULL) || (bn_ctx == NULL)) in SRP_create_verifier_BN_ex() 749 if (!BN_mod_exp(verif, g, x, N, bn_ctx)) { in SRP_create_verifier_BN_ex() 762 BN_CTX_free(bn_ctx); in SRP_create_verifier_BN_ex()
|
/third_party/node/deps/openssl/openssl/crypto/srp/ |
D | srp_lib.c | 80 BN_CTX *bn_ctx; in SRP_Calc_server_key() local 85 if ((bn_ctx = BN_CTX_new()) == NULL || (tmp = BN_new()) == NULL) in SRP_Calc_server_key() 90 if (!BN_mod_exp(tmp, v, u, N, bn_ctx)) in SRP_Calc_server_key() 92 if (!BN_mod_mul(tmp, A, tmp, N, bn_ctx)) in SRP_Calc_server_key() 96 if (S != NULL && !BN_mod_exp(S, tmp, b, N, bn_ctx)) { in SRP_Calc_server_key() 101 BN_CTX_free(bn_ctx); in SRP_Calc_server_key() 111 BN_CTX *bn_ctx; in SRP_Calc_B_ex() local 114 (bn_ctx = BN_CTX_new_ex(libctx)) == NULL) in SRP_Calc_B_ex() 123 if (!BN_mod_exp(gb, g, b, N, bn_ctx) in SRP_Calc_B_ex() 125 || !BN_mod_mul(kv, v, k, N, bn_ctx) in SRP_Calc_B_ex() [all …]
|
D | srp_vfy.c | 720 BN_CTX *bn_ctx = BN_CTX_new_ex(libctx); in SRP_create_verifier_BN_ex() local 727 (verifier == NULL) || (N == NULL) || (g == NULL) || (bn_ctx == NULL)) in SRP_create_verifier_BN_ex() 749 if (!BN_mod_exp(verif, g, x, N, bn_ctx)) { in SRP_create_verifier_BN_ex() 762 BN_CTX_free(bn_ctx); in SRP_create_verifier_BN_ex()
|
/third_party/openssl/apps/lib/ |
D | tlssrp_depr.c | 29 BN_CTX *bn_ctx = BN_CTX_new(); in srp_Verify_N_and_g() local 33 g != NULL && N != NULL && bn_ctx != NULL && BN_is_odd(N) && in srp_Verify_N_and_g() 34 BN_check_prime(N, bn_ctx, NULL) == 1 && in srp_Verify_N_and_g() 37 BN_check_prime(p, bn_ctx, NULL) == 1 && in srp_Verify_N_and_g() 40 BN_mod_exp(r, g, p, N, bn_ctx) && in srp_Verify_N_and_g() 45 BN_CTX_free(bn_ctx); in srp_Verify_N_and_g()
|
/third_party/node/deps/openssl/openssl/apps/lib/ |
D | tlssrp_depr.c | 29 BN_CTX *bn_ctx = BN_CTX_new(); in srp_Verify_N_and_g() local 33 g != NULL && N != NULL && bn_ctx != NULL && BN_is_odd(N) && in srp_Verify_N_and_g() 34 BN_check_prime(N, bn_ctx, NULL) == 1 && in srp_Verify_N_and_g() 37 BN_check_prime(p, bn_ctx, NULL) == 1 && in srp_Verify_N_and_g() 40 BN_mod_exp(r, g, p, N, bn_ctx) && in srp_Verify_N_and_g() 45 BN_CTX_free(bn_ctx); in srp_Verify_N_and_g()
|
/third_party/openssl/test/ |
D | acvp_test.c | 456 BN_CTX *bn_ctx) in dsa_create_pkey() argument 465 || !TEST_ptr(p_bn = BN_CTX_get(bn_ctx)) in dsa_create_pkey() 474 || !TEST_ptr(q_bn = BN_CTX_get(bn_ctx)) in dsa_create_pkey() 480 if (!TEST_ptr(g_bn = BN_CTX_get(bn_ctx)) in dsa_create_pkey() 498 if (!TEST_ptr(pub_bn = BN_CTX_get(bn_ctx)) in dsa_create_pkey() 523 BN_CTX *bn_ctx = NULL; in dsa_pqver_test() local 528 if (!TEST_ptr(bn_ctx = BN_CTX_new_ex(libctx)) in dsa_pqver_test() 534 bn_ctx)) in dsa_pqver_test() 542 BN_CTX_free(bn_ctx); in dsa_pqver_test() 627 BN_CTX *bn_ctx = NULL; in dsa_sigver_test() local [all …]
|
D | ectest.c | 1509 BN_CTX *bn_ctx = NULL; in check_named_curve_test() local 1515 if (!TEST_ptr(bn_ctx = BN_CTX_new()) in check_named_curve_test() 1683 BN_CTX_free(bn_ctx); in check_named_curve_test() 1831 BN_CTX *bn_ctx = NULL; in check_named_curve_from_ecparameters() local 1843 if (!TEST_ptr(bn_ctx = BN_CTX_new())) in check_named_curve_from_ecparameters() 1845 BN_CTX_start(bn_ctx); in check_named_curve_from_ecparameters() 1848 !TEST_ptr(group_cofactor = BN_CTX_get(bn_ctx)) in check_named_curve_from_ecparameters() 1849 || !TEST_ptr(other_gen_x = BN_CTX_get(bn_ctx)) in check_named_curve_from_ecparameters() 1850 || !TEST_ptr(other_gen_y = BN_CTX_get(bn_ctx)) in check_named_curve_from_ecparameters() 1851 || !TEST_ptr(other_order = BN_CTX_get(bn_ctx)) in check_named_curve_from_ecparameters() [all …]
|
/third_party/node/deps/openssl/openssl/crypto/bn/ |
D | build.info | 104 $COMMON=bn_add.c bn_div.c bn_exp.c bn_lib.c bn_ctx.c bn_mul.c \
|
/third_party/openssl/crypto/bn/ |
D | build.info | 104 $COMMON=bn_add.c bn_div.c bn_exp.c bn_lib.c bn_ctx.c bn_mul.c \
|
/third_party/node/deps/openssl/config/archs/linux-armv4/no-asm/ |
D | openssl-fips.gypi | 13 'openssl/crypto/bn/bn_ctx.c',
|
/third_party/node/deps/openssl/config/archs/darwin64-x86_64-cc/no-asm/ |
D | openssl-fips.gypi | 13 'openssl/crypto/bn/bn_ctx.c',
|
/third_party/node/deps/openssl/config/archs/linux64-s390x/no-asm/ |
D | openssl-fips.gypi | 13 'openssl/crypto/bn/bn_ctx.c',
|
/third_party/node/deps/openssl/config/archs/BSD-x86/no-asm/ |
D | openssl-fips.gypi | 13 'openssl/crypto/bn/bn_ctx.c',
|
/third_party/node/deps/openssl/config/archs/linux-aarch64/no-asm/ |
D | openssl-fips.gypi | 13 'openssl/crypto/bn/bn_ctx.c',
|
/third_party/node/deps/openssl/config/archs/aix64-gcc-as/no-asm/ |
D | openssl-fips.gypi | 13 'openssl/crypto/bn/bn_ctx.c',
|
/third_party/node/deps/openssl/config/archs/VC-WIN64-ARM/no-asm/ |
D | openssl-fips.gypi | 13 'openssl/crypto/bn/bn_ctx.c',
|
/third_party/node/deps/openssl/config/archs/linux64-mips64/no-asm/ |
D | openssl-fips.gypi | 13 'openssl/crypto/bn/bn_ctx.c',
|
/third_party/node/deps/openssl/config/archs/linux64-loongarch64/no-asm/ |
D | openssl-fips.gypi | 13 'openssl/crypto/bn/bn_ctx.c',
|
/third_party/node/deps/openssl/config/archs/linux32-s390x/no-asm/ |
D | openssl-fips.gypi | 13 'openssl/crypto/bn/bn_ctx.c',
|
/third_party/node/deps/openssl/config/archs/linux64-riscv64/no-asm/ |
D | openssl-fips.gypi | 13 'openssl/crypto/bn/bn_ctx.c',
|
/third_party/node/deps/openssl/config/archs/darwin-i386-cc/no-asm/ |
D | openssl-fips.gypi | 13 'openssl/crypto/bn/bn_ctx.c',
|
/third_party/node/deps/openssl/config/archs/linux-x86_64/no-asm/ |
D | openssl-fips.gypi | 13 'openssl/crypto/bn/bn_ctx.c',
|
/third_party/node/deps/openssl/config/archs/VC-WIN32/no-asm/ |
D | openssl-fips.gypi | 13 'openssl/crypto/bn/bn_ctx.c',
|
/third_party/node/deps/openssl/config/archs/VC-WIN64A/no-asm/ |
D | openssl-fips.gypi | 13 'openssl/crypto/bn/bn_ctx.c',
|