//
// BN_CTX_new from 0xa80b14 to 0xa80b8c (120 bytes)
//
// 69 xrefs:
// > sub_9F4C18 @ 0x9f4c40
// > sub_9F4DE0 @ 0x9f4dec
// > sub_9F5DC4 @ 0x9f5ef0
// > sub_9F715C @ 0x9f71dc
// > sub_9F74B8 @ 0x9f7548
// > sub_9F7978 @ 0x9f7b5c
// > EC_GROUP_new_by_curve_name @ 0x9fcbdc
// > ec_key_simple_generate_key @ 0x9fda48
// > ec_key_simple_check_key @ 0x9fdcb8
// > EC_KEY_set_public_key_affine_coordinates @ 0x9fe0b8
// > EC_GROUP_cmp @ 0xa00278
// > ec_precompute_mont_data @ 0xa004e8
// > ec_wNAF_mul @ 0xa00ee0
// > ec_wNAF_precompute_mult @ 0xa01abc
// > ecdh_simple_compute_key @ 0xa02240
// > ossl_ecdsa_sign_setup @ 0xa027d8
// > ossl_ecdsa_sign_sig @ 0xa02c10
// > ossl_ecdsa_verify_sig @ 0xa036d0
// > ECPKParameters_print @ 0xa03f70
// > ec_GFp_mont_group_set_curve @ 0xa0485c
// > sub_A05194 @ 0xa062d8
// > sub_A067A0 @ 0xa06b2c
// > ec_GFp_simple_set_compressed_coordinates @ 0xa0706c
// > ec_GFp_simple_point2oct @ 0xa074ac
// > ec_GFp_simple_oct2point @ 0xa07848
// > ec_GFp_simple_group_get_curve @ 0xa07bc0
// > ec_GFp_simple_get_Jprojective_coordinates_GFp @ 0xa07d2c
// > ec_GFp_simple_group_check_discriminant @ 0xa07e84
// > ec_GFp_simple_set_Jprojective_coordinates_GFp @ 0xa08138
// > ec_GFp_simple_point_get_affine_coordinates @ 0xa083e0
// > ec_GFp_simple_dbl @ 0xa088e8
// > ec_GFp_simple_group_set_curve @ 0xa08b88
// > ec_GFp_simple_cmp @ 0xa08e60
// > ec_GFp_simple_add @ 0xa0913c
// > ec_GFp_simple_is_on_curve @ 0xa09640
// > ec_GFp_simple_make_affine @ 0xa098d8
// > ec_GFp_simple_points_make_affine @ 0xa09a24
// > RSA_setup_blinding @ 0xa42190
// > sub_A42E10 @ 0xa42e5c
// > sub_A431F4 @ 0xa43240
// > sub_A43568 @ 0xa43580
// > sub_A43A80 @ 0xa43a98
// > SRP_Calc_server_key @ 0xa4b598
// > SRP_Calc_B @ 0xa4b694
// > SRP_Calc_A @ 0xa4b9b0
// > SRP_Calc_client_key @ 0xa4ba5c
// > SRP_Verify_B_mod_N @ 0xa4bc04
// > SRP_create_verifier_BN @ 0xa4cd94
// > BN_CTX_secure_new @ 0xa80b94
// > DH_check @ 0xa94100
// > DH_check_pub_key @ 0xa94388
// > dsa_builtin_paramgen @ 0xa94ef8
// > dsa_builtin_paramgen2 @ 0xa95890
// > dsa_builtin_paramgen2 @ 0xa95a18
// > ec_GF2m_simple_set_compressed_coordinates @ 0xa9db1c
// > ec_GF2m_simple_point2oct @ 0xa9def8
// > ec_GF2m_simple_oct2point @ 0xa9e2c8
// > ec_GF2m_simple_group_check_discriminant @ 0xa9e7b0
// > ec_GF2m_simple_cmp @ 0xa9ecf0
// > ec_GF2m_simple_make_affine @ 0xa9edfc
// > ec_GF2m_simple_is_on_curve @ 0xa9ef64
// > ec_GF2m_simple_add @ 0xa9f348
// > RSA_generate_key_ex @ 0xad4978
// > BN_is_prime_fasttest_ex @ 0xadfb80
// > BN_generate_prime_ex @ 0xae01e4
// > DH_generate_parameters_ex @ 0xae58d4
// > DSA_generate_key @ 0xae5eb4
// > ec_GF2m_simple_mul @ 0xae6b78
// > ??> @ 0x7a4dc
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:08:49 +0000
//
_DWORD *BN_CTX_new()
{
_DWORD *v0; // r0
_DWORD *v1; // r4
v0 = CRYPTO_zalloc(&word_30, (int)"crypto/bn/bn_ctx.c", 138);
v1 = v0;
if ( v0 )
{
v0[2] = 0;
v0[1] = 0;
*v0 = 0;
v0[4] = 0;
v0[3] = 0;
v0[5] = 0;
v0[7] = 0;
v0[6] = 0;
}
else
{
ERR_put_error(3, 106, 65, (int)"crypto/bn/bn_ctx.c", 139);
}
return v1;
}