Commit Graph

2 Commits

Author SHA1 Message Date
Guy Harris ee864219ff Squelch warnings from compilers that don't know that (a%b) is always < b.
Change-Id: I71efc87ad6931e5bbac0cbc0f5602eb7101fde54
Reviewed-on: https://code.wireshark.org/review/13699
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2016-02-03 21:51:30 +00:00
Cedric Izoard 16bee215c1 Add functions for SHA256 and HMAC-SHA256
- 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>
2016-02-03 20:53:03 +00:00