diff --git a/nimcrypto.nimble b/nimcrypto.nimble index b43655b..3edc8b2 100644 --- a/nimcrypto.nimble +++ b/nimcrypto.nimble @@ -1,6 +1,6 @@ # Package -version = "0.4.9" +version = "0.4.10" author = "Eugene Kabanov" description = "Nim cryptographic library" license = "MIT" diff --git a/nimcrypto/blake2.nim b/nimcrypto/blake2.nim index 796c5d5..3c6506f 100644 --- a/nimcrypto/blake2.nim +++ b/nimcrypto/blake2.nim @@ -20,7 +20,7 @@ export hash {.deadCodeElim: on.} type - Blake2bContext[bits: static[int]] = object + Blake2bContext*[bits: static[int]] = object b: array[128, byte] h: array[8, uint64] t: array[2, uint64] @@ -30,7 +30,7 @@ type tb: array[2, uint64] cb: int - Blake2sContext[bits: static[int]] = object + Blake2sContext*[bits: static[int]] = object b: array[64, byte] h: array[8, uint32] t: array[2, uint32]