; ; BN_MONT_CTX_new from 0x7d56d4 to 0x7d5708 (52 bytes) ; ; 13 xrefs: ; > BN_MONT_CTX_set_locked @ 0x7d5a68 ; > EC_GROUP_copy @ 0x7eaa74 ; > ec_precompute_mont_data @ 0x7eb908 ; > ec_GFp_mont_group_set_curve @ 0x7efb50 ; > ec_GFp_mont_group_copy @ 0x7efcc0 ; > BN_mod_exp_mont_consttime @ 0x86d794 ; > BN_mod_exp_mont @ 0x86dc80 ; > BN_mod_exp_mont_word @ 0x86e1dc ; > BN_mod_exp2_mont @ 0x86eaf0 ; > dsa_builtin_paramgen @ 0x8802e8 ; > dsa_builtin_paramgen2 @ 0x880c9c ; > BN_is_prime_fasttest_ex @ 0x8cabe0 ; > @ 0x5fd8c ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; LDR R1, =(aCryptoBnBnMont - 0x7D56E8); "crypto/bn/bn_mont.c" ; +0x0, 0x7d56d4 PUSH {R4,LR} ; +0x4, 0x7d56d8 MOV R0, #0x4C ; 'L' ; +0x8, 0x7d56dc ADD R1, PC, R1; "crypto/bn/bn_mont.c" ; +0xc, 0x7d56e0 MOV R2, #0xD9 ; +0x10, 0x7d56e4 BL CRYPTO_malloc ; +0x14, 0x7d56e8 SUBS R4, R0, #0 ; +0x18, 0x7d56ec BEQ loc_7D5700 ; +0x1c, 0x7d56f0 BL BN_MONT_CTX_init ; +0x20, 0x7d56f4 MOV R3, #1 ; +0x24, 0x7d56f8 STR R3, [R4,#0x48] ; +0x28, 0x7d56fc MOV R0, R4 ; +0x2c, 0x7d5700 POP {R4,PC} ; +0x30, 0x7d5704