Functions | Variables
ts_Sha2.cpp File Reference
#include <icl_core_crypt/Sha2.h>
#include <boost/test/unit_test.hpp>
Include dependency graph for ts_Sha2.cpp:

Go to the source code of this file.

Functions

 BOOST_AUTO_TEST_CASE (EmptyStringDigestSha224)
 
 BOOST_AUTO_TEST_CASE (EmptyStringDigestSha256)
 
 BOOST_AUTO_TEST_CASE (EmptyStringDigestSha384)
 
 BOOST_AUTO_TEST_CASE (EmptyStringDigestSha512)
 
 BOOST_AUTO_TEST_CASE (SimpleStringDigestSha224)
 
 BOOST_AUTO_TEST_CASE (SimpleStringDigestSha256)
 
 BOOST_AUTO_TEST_CASE (SimpleStringDigestSha384)
 
 BOOST_AUTO_TEST_CASE (SimpleStringDigestSha512)
 
 BOOST_AUTO_TEST_CASE (LongStringDigestSha224)
 
 BOOST_AUTO_TEST_CASE (LongStringDigestSha256)
 
 BOOST_AUTO_TEST_CASE (LongStringDigestSha384)
 
 BOOST_AUTO_TEST_CASE (LongStringDigestSha512)
 
 BOOST_AUTO_TEST_CASE (Pad440Sha224)
 
 BOOST_AUTO_TEST_CASE (Pad440Sha256)
 
 BOOST_AUTO_TEST_CASE (Pad888Sha384)
 
 BOOST_AUTO_TEST_CASE (Pad888Sha512)
 
 BOOST_AUTO_TEST_CASE (Pad448Sha224)
 
 BOOST_AUTO_TEST_CASE (Pad448Sha256)
 
 BOOST_AUTO_TEST_CASE (Pad896Sha384)
 
 BOOST_AUTO_TEST_CASE (Pad896Sha512)
 
 BOOST_AUTO_TEST_CASE (Pad456Sha224)
 
 BOOST_AUTO_TEST_CASE (Pad456Sha256)
 
 BOOST_AUTO_TEST_CASE (Pad904Sha384)
 
 BOOST_AUTO_TEST_CASE (Pad904Sha512)
 

Variables

const char * longstring
 
const char * padstring256_440bit = "....:....|....:....|....:....|....:....|....:....|....:"
 
const char * padstring256_448bit = "....:....|....:....|....:....|....:....|....:....|....:."
 
const char * padstring256_456bit = "....:....|....:....|....:....|....:....|....:....|....:.."
 
const char * padstring512_888bit = "....:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....|."
 
const char * padstring512_896bit = "....:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....|.."
 
const char * padstring512_904bit = "....:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....|..."
 
const char * teststring1 = "The quick brown fox jumps over the lazy dog"
 
const char * teststring2 = "The quick brown fox jumps over the lazy dog."
 

Detailed Description

Author
Jan Oberländer oberl.nosp@m.aen@.nosp@m.fzi.d.nosp@m.e
Date
2012-01-19

Definition in file ts_Sha2.cpp.

Function Documentation

BOOST_AUTO_TEST_CASE ( EmptyStringDigestSha224  )

Definition at line 39 of file ts_Sha2.cpp.

BOOST_AUTO_TEST_CASE ( EmptyStringDigestSha256  )

Definition at line 46 of file ts_Sha2.cpp.

BOOST_AUTO_TEST_CASE ( EmptyStringDigestSha384  )

Definition at line 53 of file ts_Sha2.cpp.

BOOST_AUTO_TEST_CASE ( EmptyStringDigestSha512  )

Definition at line 60 of file ts_Sha2.cpp.

BOOST_AUTO_TEST_CASE ( SimpleStringDigestSha224  )

Definition at line 74 of file ts_Sha2.cpp.

BOOST_AUTO_TEST_CASE ( SimpleStringDigestSha256  )

Definition at line 86 of file ts_Sha2.cpp.

BOOST_AUTO_TEST_CASE ( SimpleStringDigestSha384  )

Definition at line 98 of file ts_Sha2.cpp.

BOOST_AUTO_TEST_CASE ( SimpleStringDigestSha512  )

Definition at line 110 of file ts_Sha2.cpp.

BOOST_AUTO_TEST_CASE ( LongStringDigestSha224  )

Definition at line 160 of file ts_Sha2.cpp.

BOOST_AUTO_TEST_CASE ( LongStringDigestSha256  )

Definition at line 168 of file ts_Sha2.cpp.

BOOST_AUTO_TEST_CASE ( LongStringDigestSha384  )

Definition at line 176 of file ts_Sha2.cpp.

BOOST_AUTO_TEST_CASE ( LongStringDigestSha512  )

Definition at line 184 of file ts_Sha2.cpp.

BOOST_AUTO_TEST_CASE ( Pad440Sha224  )

Definition at line 199 of file ts_Sha2.cpp.

BOOST_AUTO_TEST_CASE ( Pad440Sha256  )

Definition at line 207 of file ts_Sha2.cpp.

BOOST_AUTO_TEST_CASE ( Pad888Sha384  )

Definition at line 215 of file ts_Sha2.cpp.

BOOST_AUTO_TEST_CASE ( Pad888Sha512  )

Definition at line 223 of file ts_Sha2.cpp.

BOOST_AUTO_TEST_CASE ( Pad448Sha224  )

Definition at line 238 of file ts_Sha2.cpp.

BOOST_AUTO_TEST_CASE ( Pad448Sha256  )

Definition at line 246 of file ts_Sha2.cpp.

BOOST_AUTO_TEST_CASE ( Pad896Sha384  )

Definition at line 254 of file ts_Sha2.cpp.

BOOST_AUTO_TEST_CASE ( Pad896Sha512  )

Definition at line 262 of file ts_Sha2.cpp.

BOOST_AUTO_TEST_CASE ( Pad456Sha224  )

Definition at line 277 of file ts_Sha2.cpp.

BOOST_AUTO_TEST_CASE ( Pad456Sha256  )

Definition at line 285 of file ts_Sha2.cpp.

BOOST_AUTO_TEST_CASE ( Pad904Sha384  )

Definition at line 293 of file ts_Sha2.cpp.

BOOST_AUTO_TEST_CASE ( Pad904Sha512  )

Definition at line 301 of file ts_Sha2.cpp.

Variable Documentation

const char* longstring

Definition at line 126 of file ts_Sha2.cpp.

const char* padstring256_440bit = "....:....|....:....|....:....|....:....|....:....|....:"

Definition at line 196 of file ts_Sha2.cpp.

const char* padstring256_448bit = "....:....|....:....|....:....|....:....|....:....|....:."

Definition at line 235 of file ts_Sha2.cpp.

const char* padstring256_456bit = "....:....|....:....|....:....|....:....|....:....|....:.."

Definition at line 274 of file ts_Sha2.cpp.

const char* padstring512_888bit = "....:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....|."

Definition at line 197 of file ts_Sha2.cpp.

const char* padstring512_896bit = "....:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....|.."

Definition at line 236 of file ts_Sha2.cpp.

const char* padstring512_904bit = "....:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....|....:....|..."

Definition at line 275 of file ts_Sha2.cpp.

const char* teststring1 = "The quick brown fox jumps over the lazy dog"

Definition at line 71 of file ts_Sha2.cpp.

const char* teststring2 = "The quick brown fox jumps over the lazy dog."

Definition at line 72 of file ts_Sha2.cpp.



fzi_icl_core
Author(s):
autogenerated on Mon Jun 10 2019 13:17:59