-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Aloha!

Joachim Strömbergson wrote:
> I can take a shot at the code changes and post patches.

It wasn't really that hard. Patches will follow in two mails.
I have not updated the H0 generation scripts used to verify the values
(which you have done for SHA-384 and SHA-512). But the test program I've
written generates the correct digest for SHA-512 (as baseline) and for
SHA-512-224 and SHA-512-256.

The test code etc is available on github:
https://github.com/secworks/nettle/tree/master/sha512x

I think it looks a bit ugly to have separat init and digest functions
but reuse the update function from sha512. I would prefer to add
sha512_224_update() and sha512_256 too but still reuse the context. But
since you don't do that for sha384 I guess you prefer it having just
init and digest as specific functions.

- -- 
Med vänlig hälsning, Yours

Joachim Strömbergson - Alltid i harmonisk svängning.
========================================================================
 Joachim Strömbergson          Secworks AB          [email protected]
========================================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCAAGBQJTKyNDAAoJEF3cfFQkIuyNYcwP/3Q2n7mPtEZ0SMPPMdPf4YgD
nJU0hqvkyD1ima5l4XAdjyZIsc+8M9K3SZckUhMze5Mx28jetemfHMojx2nCWssa
tw/6soEKFCrzPHiGl6vBPmKRkGEQ+yw+XtpZh4lFZEhfNtUKpWiBcTLgrw6ih2Z9
OWXj1nfFkx2mj14yzs5GYLeNhGJ4UpyoY+uKS/49kDAhjLxoIxwAFdq3+BRHX831
qs1UBnprQWoc5/RMUobxykMkA3Gy17TI0plZeZCkYi/IL/9FfbtBmQONMYDA+hz7
uCj7+8J3HFtdWOeRTBqI5fOCDiRV7hlA7LbVHjXaCoFdLAGPwIKB9G9stKp+E6g7
3PaEoLK/Q6pKu7Q9A9kMJeKJDMUjHnPf1GQhCMv4gjqZKugS8Lzrm/1m28N3Vfwi
yN/S+UJxUijrjmiDuU49sc21OnPuNS8K3HthvQkRU6sRsREAoWtikDpXFtKJn+si
DRC4EsfFwiP8XV0/mbERtaDhpdpxqdoNOtFuF7povpYD4IddKoHrw6qBUxLzsYVC
hKk0OpFzKb0CkNVInxaSR6r8ivYvigLCSf4KRQWFVO4KfTaPG4sVkQJku1YqMvR9
ptGZOMXBlLh8BCHD0ZNL7a75GQIL6IQpWhEjtWNeD6LoUc3WJWZlhhhhjfRCq2cA
RH2gnRh0UEB/2FLgKBCj
=N9yE
-----END PGP SIGNATURE-----
_______________________________________________
nettle-bugs mailing list
[email protected]
http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs

Reply via email to