// // RSA_padding_add_PKCS1_type_1 from 0x1053b8c to 0x1053c34 (168 bytes) // // 2 xrefs: // > sub_1053210 @ 0x1053470 // > @ 0xe68d8 // // 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:16:40 +0000 // __int64 __fastcall RSA_padding_add_PKCS1_type_1(_BYTE *a1, int a2, const void *a3, unsigned int a4) { unsigned int v5; // w19 _BYTE *v6; // x0 if ( a2 - 10 <= (int)a4 ) { ERR_put_error(4, 108, 110, (__int64)"crypto/rsa/rsa_pk1.c", 26); return 0; } else { *a1 = 0; v5 = a2 - 3 - a4; a1[1] = 1; v6 = memset(a1 + 2, 255, (int)v5); v6[v5] = 0; memcpy(&v6[v5 + 1], a3, a4); return 1; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source