[fpc-pascal] HMAC_SHA1 and FPC

silvioprog silvioprog at gmail.com
Mon Mar 25 23:56:29 CET 2013


2013/3/24 Sven Barth <pascaldragon at googlemail.com>

> On 24.03.2013 16:59, silvioprog wrote:
>
>> My function is more fast that cHash
>> (http://fundementals.**sourceforge.net/dl.html<http://fundementals.sourceforge.net/dl.html>).
>> The comparison result is:
>>
>> HMAC: 00:00:01:689 cHash: 00:00:02:038
>>
>> My final unit is:
>>
>> http://pastebin.com/4484g9i8
>>
>
> Could you maybe run your unit through some test vectors if you haven't
> done already? E.g. these: http://tools.ietf.org/html/**rfc4231<http://tools.ietf.org/html/rfc4231>
>
> If that works satisfactory you could create a bug report and we could
> include it in the hash package.
>
> Regards,
> Sven


Done.

http://bugs.freepascal.org/view.php?id=24136

The patch includes source, examples and test cases (7 for MD5 and 7 for
SHA1).

-- 
Silvio Clécio
My public projects - github.com/silvioprog
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20130325/4b6dc582/attachment.html>


More information about the fpc-pascal mailing list