11.05.2021 16:38, Alex Peshkoff via Firebird-devel wrote:
In tomcrypt rsa_sign_hash() signs message digests (hashes)

Because it is supposed to have hash on input (and this fact is reflected in its name). Tomcrypt is low-level library and its user is supposed to do whole high-level work. Firebird is different. It has dedicated function for signing of messages so user don't have to write RSA_CRYPT(HASH(message)||salt) everywhere. That's RSA_SIGN(message, hash_function, salt).

--
  WBR, SD.


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to