Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 13f79a8

Browse files
committedDec 9, 2024·
sha256: restore HASH_SIZE constexpr
1 parent b7e95fd commit 13f79a8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎src/sha256/SHA256.h

Lines changed: 2 additions & 0 deletions
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)
Please sign in to comment.