[fpc-pascal] HMAC_SHA1 and FPC

Ludo Brands ludo.brands at free.fr
Tue Mar 26 14:26:38 CET 2013


On 03/26/2013 10:40 AM, Sven Barth wrote:
> Am 26.03.2013 06:53, schrieb Anthony Walter:

>> I wasn't asking you to stop your work, rather I was attempting to
>> share insights and my opinions with the group. My point in the
>> previous message was that many times it make sense to reuse something
>> which works, and possibly part of the operating system, rather than
>> recreating that which already exists.
> We already have a "hash" package and I'm all for improving/extending it.
> This can prove especially useful for platforms where OpenSSL is not
> supported (think the embedded targets or similar here). Also I'm a big
> fan of "as less non-Pascal dependencies as possible" :)
> 

Another advantage of OpenSSL is performance. Especially on x64 where
OpenSSL is an order of magnitude faster than fe. the synapse sha1
implementation. It uses assembly to optimize code. I doubt that will
ever be done in a FPC library.

Ludo




More information about the fpc-pascal mailing list