Skip to content

Commit 0d100c3

Browse files
authored
Merge pull request #16 from arduino-libraries/sha-hash-fix
sha256: restore HASH_SIZE constexpr
2 parents b7e95fd + 13f79a8 commit 0d100c3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/sha256/SHA256.h

+2
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ namespace arduino { namespace sha256 {
3030
class SHA256 {
3131
public:
3232

33+
static constexpr uint32_t HASH_SIZE = SHA256_DIGEST_SIZE;
34+
3335
inline void begin() {
3436
return arduino::sha256::begin(&_ctx);
3537
}

0 commit comments

Comments
 (0)