File tree Expand file tree Collapse file tree 3 files changed +11
-12
lines changed
Expand file tree Collapse file tree 3 files changed +11
-12
lines changed Original file line number Diff line number Diff line change 33 - linux
44 - osx
55julia :
6- - 0.4
7- - 0.5
6+ - 0.6
87 - nightly
98notifications :
109 email : false
Original file line number Diff line number Diff line change 1- julia 0.4
1+ julia 0.6
22Compat 0.17.0
Original file line number Diff line number Diff line change @@ -7,33 +7,33 @@ import Base: copy
77
88# We derive SHA1_CTX straight from SHA_CTX since it doesn't have a
99# family of types like SHA2 or SHA3 do
10- type SHA1_CTX <: SHA_CTX
10+ mutable struct SHA1_CTX <: SHA_CTX
1111 state:: Array{UInt32,1}
1212 bytecount:: UInt64
1313 buffer:: Array{UInt8,1}
1414 W:: Array{UInt32,1}
1515end
1616
1717# SHA2 224/256/384/512-bit Context Structures
18- type SHA2_224_CTX <: SHA2_CTX
18+ mutable struct SHA2_224_CTX <: SHA2_CTX
1919 state:: Array{UInt32,1}
2020 bytecount:: UInt64
2121 buffer:: Array{UInt8,1}
2222end
2323
24- type SHA2_256_CTX <: SHA2_CTX
24+ mutable struct SHA2_256_CTX <: SHA2_CTX
2525 state:: Array{UInt32,1}
2626 bytecount:: UInt64
2727 buffer:: Array{UInt8,1}
2828end
2929
30- type SHA2_384_CTX <: SHA2_CTX
30+ mutable struct SHA2_384_CTX <: SHA2_CTX
3131 state:: Array{UInt64,1}
3232 bytecount:: UInt128
3333 buffer:: Array{UInt8,1}
3434end
3535
36- type SHA2_512_CTX <: SHA2_CTX
36+ mutable struct SHA2_512_CTX <: SHA2_CTX
3737 state:: Array{UInt64,1}
3838 bytecount:: UInt128
3939 buffer:: Array{UInt8,1}
@@ -47,22 +47,22 @@ const SHA512_CTX = SHA2_512_CTX
4747
4848
4949# SHA3 224/256/384/512-bit context structures
50- type SHA3_224_CTX <: SHA3_CTX
50+ mutable struct SHA3_224_CTX <: SHA3_CTX
5151 state:: Array{UInt64,1}
5252 bytecount:: UInt128
5353 buffer:: Array{UInt8,1}
5454end
55- type SHA3_256_CTX <: SHA3_CTX
55+ mutable struct SHA3_256_CTX <: SHA3_CTX
5656 state:: Array{UInt64,1}
5757 bytecount:: UInt128
5858 buffer:: Array{UInt8,1}
5959end
60- type SHA3_384_CTX <: SHA3_CTX
60+ mutable struct SHA3_384_CTX <: SHA3_CTX
6161 state:: Array{UInt64,1}
6262 bytecount:: UInt128
6363 buffer:: Array{UInt8,1}
6464end
65- type SHA3_512_CTX <: SHA3_CTX
65+ mutable struct SHA3_512_CTX <: SHA3_CTX
6666 state:: Array{UInt64,1}
6767 bytecount:: UInt128
6868 buffer:: Array{UInt8,1}
You can’t perform that action at this time.
0 commit comments