//
// RSA_padding_check_none from 0x8bff24 to 0x8bff98 (116 bytes)
//
// 3 xrefs:
// > sub_82E210 @ 0x82e494
// > sub_82EE80 @ 0x82f1d4
// > ??> @ 0x663cc
//
// 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
//
int __fastcall RSA_padding_check_none(char *a1, signed int a2, const void *a3, signed int a4)
{
int v6; // r6
if ( a4 > a2 )
{
ERR_put_error(4, 111, 109, (int)"crypto/rsa/rsa_none.c", 36);
return -1;
}
else
{
v6 = a2 - a4;
memset(a1, 0, a2 - a4);
memcpy(&a1[v6], a3, a4);
return a2;
}
}