| 13 | #pragma clang diagnostic ignored "-Wdeprecated-declarations" |
| 14 | #endif |
| 15 | SC::Hashing::Hashing() |
| 16 | { |
| 17 | static_assert(sizeof(CC_MD5_CTX) <= sizeof(buffer), "Check size"); // 92 |
| 18 | static_assert(sizeof(CC_SHA1_CTX) <= sizeof(buffer), "Check size"); // 96 |
| 19 | static_assert(sizeof(CC_SHA256_CTX) == sizeof(buffer), "Check size"); // 104 |
| 20 | static_assert(alignof(CC_MD5_CTX) <= alignof(uint64_t), "Check size"); |
| 21 | static_assert(CC_MD5_DIGEST_LENGTH == Result::MD5_DIGEST_LENGTH, "Check Size"); |
| 22 | static_assert(CC_SHA1_DIGEST_LENGTH == Result::SHA1_DIGEST_LENGTH, "Check Size"); |
| 23 | static_assert(CC_SHA256_DIGEST_LENGTH == Result::SHA256_DIGEST_LENGTH, "Check Size"); |
| 24 | } |
| 25 | |
| 26 | SC::Hashing::~Hashing() {} |
| 27 |
nothing calls this directly
no outgoing calls
no test coverage detected