Skip to content

Commit

Permalink
rm: Duplicated const alias (#111)
Browse files Browse the repository at this point in the history
The same definitions can be found at the top of the file.
  • Loading branch information
Keno committed Jun 2, 2024
1 parent aa72f73 commit 7f25aa8
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -209,12 +209,6 @@ Construct an empty SHA3_512 context.
"""
SHA3_512_CTX() = SHA3_512_CTX(zeros(UInt64, 25), 0, zeros(UInt8, blocklen(SHA3_512_CTX)), Vector{UInt64}(undef, 5), false)

# Nickname'd outer constructor methods for SHA2
const SHA224_CTX = SHA2_224_CTX
const SHA256_CTX = SHA2_256_CTX
const SHA384_CTX = SHA2_384_CTX
const SHA512_CTX = SHA2_512_CTX

# SHA1 is special; he needs extra workspace
"""
SHA1_CTX()
Expand Down

0 comments on commit 7f25aa8

Please sign in to comment.