From 5aebb5af2db552a2f8ab8dc66ae65b962cf3d1fc Mon Sep 17 00:00:00 2001 From: immoschuett <85198394+immoschuett@users.noreply.github.com> Date: Sat, 11 Nov 2023 14:25:00 +0100 Subject: [PATCH 1/2] fixed typo in export declarations --- src/SHA.jl | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/SHA.jl b/src/SHA.jl index 0b58952..64a2d9b 100644 --- a/src/SHA.jl +++ b/src/SHA.jl @@ -38,7 +38,7 @@ export sha1, SHA1_CTX, update!, digest! export sha224, sha256, sha384, sha512 export sha2_224, sha2_256, sha2_384, sha2_512 export sha3_224, sha3_256, sha3_384, sha3_512 -export shake_128, shake_256 +export shake128, shake256 export SHA224_CTX, SHA256_CTX, SHA384_CTX, SHA512_CTX export SHA2_224_CTX, SHA2_256_CTX, SHA2_384_CTX, SHA2_512_CTX export SHA3_224_CTX, SHA3_256_CTX, SHA3_384_CTX, SHA3_512_CTX @@ -77,8 +77,7 @@ for (f, ctx) in [(:sha1, :SHA1_CTX), (:sha3_224, :SHA3_224_CTX), (:sha3_256, :SHA3_256_CTX), (:sha3_384, :SHA3_384_CTX), - (:sha3_512, :SHA3_512_CTX), - (:shake_256, :SHAKE_256_CTX),] + (:sha3_512, :SHA3_512_CTX),] g = Symbol(:hmac_, f) @eval begin @@ -145,4 +144,4 @@ for (f, ctx) in [(:sha1, :SHA1_CTX), end end -end #module SHA \ No newline at end of file +end #module SHA From a2d31d79e53839ca1f76ce30f24aec1d876c2583 Mon Sep 17 00:00:00 2001 From: immoschuett <85198394+immoschuett@users.noreply.github.com> Date: Sat, 11 Nov 2023 14:30:51 +0100 Subject: [PATCH 2/2] changed exports in SHA.jl --- src/SHA.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SHA.jl b/src/SHA.jl index 64a2d9b..7aeac4b 100644 --- a/src/SHA.jl +++ b/src/SHA.jl @@ -77,7 +77,7 @@ for (f, ctx) in [(:sha1, :SHA1_CTX), (:sha3_224, :SHA3_224_CTX), (:sha3_256, :SHA3_256_CTX), (:sha3_384, :SHA3_384_CTX), - (:sha3_512, :SHA3_512_CTX),] + (:sha3_512, :SHA3_512_CTX)] g = Symbol(:hmac_, f) @eval begin