//
// RSA_padding_check_none from 0x10e8ec4 to 0x10e8f50 (140 bytes)
//
// 3 xrefs:
// > sub_1052B04 @ 0x1052d9c
// > sub_10536BC @ 0x1053a38
// > ??> @ 0x85978
//
// 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:18:01 +0000
//
__int64 __fastcall RSA_padding_check_none(char *a1, unsigned int a2, const void *a3, int a4)
{
if ( a4 > (int)a2 )
{
ERR_put_error(4, 111, 109, (__int64)"crypto/rsa/rsa_none.c", 36);
return 0xFFFFFFFFLL;
}
else
{
memset(a1, 0, (int)(a2 - a4));
memcpy(&a1[(int)a2 - (__int64)a4], a3, a4);
return a2;
}
}