From 068f85d284771f3a47ecf23ec4b338f8884308cf Mon Sep 17 00:00:00 2001 From: immoschuett <85198394+immoschuett@users.noreply.github.com> Date: Sat, 11 Nov 2023 19:13:08 +0100 Subject: [PATCH] shake128,shake256: fixed typo in export declarations (#93) * fixed typo in export declarations * changed exports in SHA.jl --- src/SHA.jl | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/SHA.jl b/src/SHA.jl index 0b58952..7aeac4b 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