Adding crypto_auth

This commit is contained in:
Ugljesa Jovanovic authored and Ugljesa Jovanovic committed 2020-08-30 17:56:12 +02:00
1 parent 4cf1d48225
commit 0c8de7b5c5
4 files changed
+294

No files matched your search

@@ -0,0 +1,48 @@
package com.ionspin.kotlin.crypto.auth
actual object Auth {
actual fun authKeygen(): UByteArray {
TODO("not implemented yet")
}
actual fun auth(message: UByteArray, key: UByteArray): UByteArray {
TODO("not implemented yet")
}
actual fun authVerify(mac: UByteArray, message: UByteArray, key: UByteArray): Boolean {
TODO("not implemented yet")
}
actual fun authHmacSha256Keygen(): UByteArray {
TODO("not implemented yet")
}
actual fun authHmacSha256(message: UByteArray, key: UByteArray): UByteArray {
TODO("not implemented yet")
}
actual fun authHmacSha256Verify(
mac: UByteArray,
message: UByteArray,
key: UByteArray
): Boolean {
TODO("not implemented yet")
}
actual fun authHmacSha512Keygen(): UByteArray {
TODO("not implemented yet")
}
actual fun authHmacSha512(message: UByteArray, key: UByteArray): UByteArray {
TODO("not implemented yet")
}
actual fun authHmacSha512Verify(
mac: UByteArray,
message: UByteArray,
key: UByteArray
): Boolean {
TODO("not implemented yet")
}
}