Use long instaed of int array in sha512

This commit is contained in:
Ugljesa Jovanovic 2021-02-23 10:23:07 +01:00
parent 7f703aa6b9
commit 354c0c2fd6
No known key found for this signature in database
GPG Key ID: 178E6DFCECCB0E0F
5 changed files with 4 additions and 4534 deletions

View File

@ -25,7 +25,7 @@ object Versions {
val taskTreePlugin = "1.5"
val kotlinBigNumVersion = "0.2.8-SNAPSHOT"
val lazySodium = "4.3.1-SNAPSHOT"
val jna = "5.5.0"
val jna = "5.7.0"
val kotlinPoet = "1.6.0"
val libsodiumBindings = "0.1.1-SNAPSHOT"
val ktor = "1.3.2"
@ -36,6 +36,7 @@ object Versions {
}
object ReleaseInfo {
@ -143,6 +144,7 @@ object Deps {
val ktorClientSerialization = "io.ktor:ktor-client-serialization-jvm:${Versions.ktor}"
val serialization = "org.jetbrains.kotlinx:kotlinx-serialization-runtime:${Versions.kotlinSerialization}"
val timber = "com.jakewharton.timber:timber:${Versions.timber}"
val jna = "net.java.dev.jna:jna:${Versions.jna}@aar"
}
object Desktop {

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -26,7 +26,7 @@ class Hash512State : Structure() {
override fun getFieldOrder(): List<String> = listOf("state", "count", "buf")
@JvmField
val state = IntArray(8)
val state = LongArray(8)
@JvmField
var count: LongArray = LongArray(2)