; ; BN_MONT_CTX_new from 0x9ea2d4 to 0x9ea308 (52 bytes) ; ; 13 xrefs: ; > BN_MONT_CTX_set_locked @ 0x9ea668 ; > EC_GROUP_copy @ 0x9ff674 ; > ec_precompute_mont_data @ 0xa00508 ; > ec_GFp_mont_group_set_curve @ 0xa04750 ; > ec_GFp_mont_group_copy @ 0xa048c0 ; > BN_mod_exp_mont_consttime @ 0xa82394 ; > BN_mod_exp_mont @ 0xa82880 ; > BN_mod_exp_mont_word @ 0xa82ddc ; > BN_mod_exp2_mont @ 0xa836f0 ; > dsa_builtin_paramgen @ 0xa94ee8 ; > dsa_builtin_paramgen2 @ 0xa9589c ; > BN_is_prime_fasttest_ex @ 0xadfbe0 ; > @ 0x7980c ; ; 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:07:26 +0000 ; LDR R1, =(aCryptoBnBnMont - 0x9EA2E8); "crypto/bn/bn_mont.c" ; +0x0, 0x9ea2d4 PUSH {R4,LR} ; +0x4, 0x9ea2d8 MOV R0, #0x4C ; 'L' ; +0x8, 0x9ea2dc ADD R1, PC, R1; "crypto/bn/bn_mont.c" ; +0xc, 0x9ea2e0 MOV R2, #0xD9 ; +0x10, 0x9ea2e4 BL CRYPTO_malloc ; +0x14, 0x9ea2e8 SUBS R4, R0, #0 ; +0x18, 0x9ea2ec BEQ loc_9EA300 ; +0x1c, 0x9ea2f0 BL BN_MONT_CTX_init ; +0x20, 0x9ea2f4 MOV R3, #1 ; +0x24, 0x9ea2f8 STR R3, [R4,#0x48] ; +0x28, 0x9ea2fc MOV R0, R4 ; +0x2c, 0x9ea300 POP {R4,PC} ; +0x30, 0x9ea304