aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil/sha2.c
AgeCommit message (Collapse)AuthorFilesLines
2016-02-03Squelch warnings from compilers that don't know that (a%b) is always < b.Guy Harris1-2/+2
Change-Id: I71efc87ad6931e5bbac0cbc0f5602eb7101fde54 Reviewed-on: https://code.wireshark.org/review/13699 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2016-02-03Add functions for SHA256 and HMAC-SHA256Cedric Izoard1-0/+281
- Use same API as SHA-1 - Tested against NIST's test vectors (byte oriented implementation) Bug: 11312 Change-Id: I7fea7d13c43da059138153b17de7084ef9d81ac5 Reviewed-on: https://code.wireshark.org/review/13662 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>