//
// RSA_padding_add_none from 0x8bfe98 to 0x8bff1c (132 bytes)
//
// 3 xrefs:
// > sub_82E5F4 @ 0x82e82c
// > sub_82E968 @ 0x82eba8
// > ??> @ 0x6642c
//
// 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_add_none(void *a1, int a2, void *a3, signed int a4)
{
if ( a4 > a2 )
{
ERR_put_error(4, 107, 110, (int)"crypto/rsa/rsa_none.c", 18);
return 0;
}
else if ( a4 < a2 )
{
ERR_put_error(4, 107, 122, (int)"crypto/rsa/rsa_none.c", 23);
return 0;
}
else
{
memcpy(a1, a3, a4);
return 1;
}
}