Adde emitters, paths are different when running from gradle or intellij, will fix later
This commit is contained in:
8 files changed
+23
-10
No files matched your search
File renamed without changes.
@@ -1,5 +1,6 @@
|
||||
package debug.test
|
||||
|
||||
import kotlin.Byte
|
||||
import kotlin.Int
|
||||
import kotlin.UByteArray
|
||||
import kotlinx.cinterop.addressOf
|
||||
@@ -18,6 +19,10 @@ actual typealias Sha512State = crypto_hash_sha512_state
|
||||
actual typealias GenericHashState = crypto_generichash_blake2b_state
|
||||
|
||||
actual class Crypto {
|
||||
val _emitByte: Byte = 0
|
||||
|
||||
val _emitByteArray: Byte = ByteArray(0) {}
|
||||
|
||||
actual fun crypto_hash_sha256_init(state: Sha256State): Int {
|
||||
println("Debug")
|
||||
return libsodium.crypto_hash_sha256_init(state.ptr)
|
||||
|
||||
Reference in new issue
Block a user