[fpc-pascal] HMAC_SHA1 and FPC

Sven Barth pascaldragon at googlemail.com
Sun Mar 24 17:54:18 CET 2013


On 24.03.2013 17:48, Sven Barth wrote:
> On 24.03.2013 16:59, silvioprog wrote:
>> My function is more fast that cHash
>> (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

Oops. Wrong link. I meant this one: http://tools.ietf.org/html/rfc2202 
(contains also test vectors for HMAC-MD5).

> If that works satisfactory you could create a bug report and we could
> include it in the hash package.

Regards,
Sven



More information about the fpc-pascal mailing list