Skip to content

Commit 13f79a8

Browse files
committed
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

Diff for: 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)