-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Aloha!
Niels Möller wrote: > That's correct. I wasn't aware of them... Are there any applications > or protocols using them? Don't have any good answer to that. the embedded SSL/TLS stack seems to use it, but afaik there are no official defined cipher suites in TLS that uses them. http://www.oryx-embedded.com/doc/files.html OSX command shasum supports sha-512/256 (and calls it sha51256, the horrors!). There seems to be discussions in OpenSSL about adding support. So no, right now there doesn't seem to be much application demand for it. OTOH as long as it is not available in libs, it is harder for applications to use them. The SHA-512/x are part of the big SHA-2 standard and the prevalence of 64-bit arch even in embedded space is increasing. (I do also have a specific application case where SHA-512/256 will be used which is why I started checking support for it.) > If they are needed, I'd suggest adding > > sha512_224_init sha512_224_digest sha512_256_init sha512_256_digest I can take a shot at the code changes and post patches. > (and not bother with any additional aliases for context struct and > _update function). Is that ok? Very ok. As long as the H0-constants can be changed we shouldn't need to modify anything else. - -- 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/ iQIcBAEBCAAGBQJTKapqAAoJEF3cfFQkIuyN6CYP/R6x4okGe12TTUBJ59GWy/jp iNlHQDUPRVNjIxKtBQ/7fD7cZ96fjPbXNS7Kx6SVsjM6I6L0QF1x8d9bxVD1PNlu nGYNCraVkg6DQopiqN9KFuP/WFOngq8srO6rQ7/QpWtw0rILwjbdj50BRODjDD2I L79RkKWkLJsPVK3uVDDSVp6hryttf3xw7GGTYTHkZX16cr8AAJ6F82lX6fQM0P+r hEnpcI5DVqtJXhts5yUfKrQRvKmWWd1gHNhY6K68A4BXwYeMBbwgZ8veNUVQXogN hz/Y5QUsCYz64S0yAy/4c6b642P7GLHjfNOSG2VgvIFbo1kTikuvAP81va+kp3xi xOiCvgzEfgZsKYgDnOflAHYSI5FBFWzbZq1NgDmDOwCJMuJtxu7AQEiFwjWju1St 9CAeojh9A1k8ap7wO1fBHNksuh5NrG+l4xyTLp+VatH2pfYypdaBpVaaNkFfEq0C IfOwtiFtHrmclrQucU9fyvW1aXSw9XJgs1/yBYlzG/Sq1TZfT7eutbvRo0TG3g+4 xXTYmZem6FcAwN8CuzhcslnLYsb8/nW3c4zxzpYU3pJuOeaIVO58RxpIBJsQaLLA ruNRmU4+qqe5lQJZw9aNC/LKX4r9JYLgR3L9AKDKLXFiAFtkaa+zj5b5tPIEMj8t D7poHkOA2XTZkuArvh3k =pwTI -----END PGP SIGNATURE----- _______________________________________________ nettle-bugs mailing list [email protected] http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs
