Skip to content

Commit

Permalink
shake128,shake256: fixed typo in export declarations (#93)
Browse files Browse the repository at this point in the history
* fixed typo in export declarations

* changed exports in SHA.jl
  • Loading branch information
immoschuett authored Nov 11, 2023
1 parent 176baaa commit 068f85d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/SHA.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -145,4 +144,4 @@ for (f, ctx) in [(:sha1, :SHA1_CTX),
end
end

end #module SHA
end #module SHA

0 comments on commit 068f85d

Please sign in to comment.