[fpc-pascal] HMAC_SHA1 and FPC

Sven Barth pascaldragon at googlemail.com
Tue Mar 26 17:08:50 CET 2013


Am 26.03.2013 14:26 schrieb "Ludo Brands" <ludo.brands at free.fr>:
>
> 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.

If someone provides a patch to additionally add assembly versions to
cryptographic algorithms I doubt that we'll turn them down...

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20130326/71423f9a/attachment.html>


More information about the fpc-pascal mailing list