; ; BN_MONT_CTX_free from 0xffa030 to 0xffa08c (92 bytes) ; ; 29 xrefs: ; > BN_MONT_CTX_set_locked @ 0xffa38c ; > BN_MONT_CTX_set_locked @ 0xffa3b0 ; > sub_1005B14 @ 0x1005b20 ; > sub_100815C @ 0x1008168 ; > EC_GROUP_free @ 0x100f970 ; > EC_GROUP_clear_free @ 0x100fa54 ; > EC_GROUP_copy @ 0x100fd60 ; > ec_precompute_mont_data @ 0x1010a4c ; > ec_precompute_mont_data @ 0x1010aa0 ; > EC_GROUP_set_generator @ 0x1010b58 ; > ec_GFp_mont_group_finish @ 0x1014694 ; > ec_GFp_mont_group_clear_finish @ 0x10146cc ; > ec_GFp_mont_group_set_curve @ 0x1014724 ; > ec_GFp_mont_group_set_curve @ 0x1014794 ; > ec_GFp_mont_group_set_curve @ 0x101484c ; > ec_GFp_mont_group_copy @ 0x1014880 ; > ec_GFp_mont_group_copy @ 0x10148ec ; > sub_1052694 @ 0x10526a8 ; > sub_1052694 @ 0x10526b0 ; > sub_1052694 @ 0x10526b8 ; > BN_mod_exp_mont_consttime @ 0x109523c ; > BN_mod_exp_mont_consttime @ 0x10952ac ; > BN_mod_exp_mont @ 0x1095644 ; > BN_mod_exp_mont_word @ 0x1095c20 ; > BN_mod_exp2_mont @ 0x1096534 ; > dsa_builtin_paramgen @ 0x10a8ec4 ; > dsa_builtin_paramgen2 @ 0x10a960c ; > BN_is_prime_fasttest_ex @ 0x10f4f5c ; > @ 0xebde0 ; ; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! ; ; 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 13:15:50 +0000 ; STP X29, X30, [SP,#var_20]! ; +0x0, 0xffa030 MOV X29, SP ; +0x4, 0xffa034 STR X19, [SP,#0x20+var_10] ; +0x8, 0xffa038 CBZ X0, loc_FFA064 ; +0xc, 0xffa03c MOV X19, X0 ; +0x10, 0xffa040 ADD X0, X0, #8 ; +0x14, 0xffa044 BL BN_clear_free ; +0x18, 0xffa048 ADD X0, X19, #0x20 ; ' ' ; +0x1c, 0xffa04c BL BN_clear_free ; +0x20, 0xffa050 ADD X0, X19, #0x38 ; '8' ; +0x24, 0xffa054 BL BN_clear_free ; +0x28, 0xffa058 LDR W0, [X19,#0x60] ; +0x2c, 0xffa05c TBNZ W0, #0, loc_FFA070 ; +0x30, 0xffa060 LDR X19, [SP,#0x20+var_10] ; +0x34, 0xffa064 LDP X29, X30, [SP+0x20+var_20],#0x20 ; +0x38, 0xffa068 RET ; +0x3c, 0xffa06c MOV X0, X19 ; +0x40, 0xffa070 ADRP X1, #aCryptoBnBnMont@PAGE; "crypto/bn/bn_mont.c" ; +0x44, 0xffa074 LDR X19, [SP,#0x20+var_10] ; +0x48, 0xffa078 ADD X1, X1, #aCryptoBnBnMont@PAGEOFF; "crypto/bn/bn_mont.c" ; +0x4c, 0xffa07c LDP X29, X30, [SP+0x20+var_20],#0x20 ; +0x50, 0xffa080 MOV W2, #0xF4 ; +0x54, 0xffa084 B CRYPTO_free ; +0x58, 0xffa088