hare

The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit 1e56d76b95530aaaf5b048c53297ab39bbd1d662
parent 73617bcfe4a6d28db78652320099d6aae18ef12f
Author: Drew DeVault <sir@cmpwn.com>
Date:   Sat, 27 Mar 2021 12:26:48 -0400

sha512: export SIZE constants

Diffstat:
Mcrypto/sha512/sha512.ha | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/crypto/sha512/sha512.ha b/crypto/sha512/sha512.ha @@ -14,16 +14,16 @@ type variant = enum { }; // The size, in bytes, of the SHA-512 checksum. -def SIZE: size = 64; +export def SIZE: size = 64; // The size, in bytes, of the SHA-512/224 checksum. -def SIZE224: size = 28; +export def SIZE224: size = 28; // The size, in bytes, of the SHA-512/256 checksum. -def SIZE256: size = 32; +export def SIZE256: size = 32; // The size, in bytes, of the SHA-384 checksum. -def SIZE384: size = 48; +export def SIZE384: size = 48; def chunk: size = 128; def init0: u64 = 0x6a09e667f3bcc908;