Jump to content
Frédéric

Added RSA_Verify prototype in OverbyteIcsLIBEAY

Recommended Posts

Hello;

 

Not sure it's the most appropriate way to report it...

I've added the RSA_verify prototype, so we can directly call it.

 

    RSA_verify :                             function (type1: Integer; m: pointer; m_len: longword; sigbuf: PAnsichar; siglen: longword; rsa: PRSA): Integer; cdecl = nil;

 

Attached the modified file.

 

It would be nice to include the modification in the SVN. Thanks !

 

Regards

Frederic

OverbyteIcsLIBEAY.pas

Share this post


Link to post

RSA_verify is a deprecated low-level signing function, you should be using the EVP_VerifyFinal and related EVP functions.  

 

Not sure that we want to add deprecated functions, ICS has already been updated to stop using most of them. 

 

Angus

 

Share this post


Link to post

On reflection, I will add your new prototypes to ICS. 

 

I was going to suggest you created your own import table with the RSA functions, similarly to the OpenSSL engine table that requires a define conditional to import. 

 

But ICS has a problem with the OpenSSL import tables getting larger as new functions are added, but old ones rarely disappear when they cease being used. 

 

So I'll create a new import table that will have most of the RSA_, ECDA_, DH_., EC_KEY_, EC_GROUP_ and DSA_ exports, with a new define around all those functions and the table, to ensure that none are currently being used by ICS.  I already had to remove some EC_GROUP_ exports that have disappeared from some Linux distributions.

 

Should be in SVN in a couple of days. 

 

Angus

 

Edited by Angus Robertson
  • Like 1

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×