Wireshark-commits: [Wireshark-commits] master 16bee21: Add functions for SHA256 and HMAC-SHA256

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 3 Feb 2016 20:53:18 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=16bee215c1e65cf5f7f22b35738414c45b912aba
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

16bee21 by Cedric Izoard (cedric.izoard@xxxxxxxxxxxx):

    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@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  1b1b934   M3AP: fix dissection of IPAddress field
    adds  16bee21   Add functions for SHA256 and HMAC-SHA256


Summary of changes:
 wsutil/CMakeLists.txt  |    1 +
 wsutil/Makefile.common |    2 +
 wsutil/sha2.c          |  281 ++++++++++++++++++++++++++++++++++++++++++++++++
 wsutil/sha2.h          |   75 +++++++++++++
 4 files changed, 359 insertions(+)
 create mode 100644 wsutil/sha2.c
 create mode 100644 wsutil/sha2.h