Adopting libsodium secret stream approach for multipart, currently correct state and keystream, but mac is still incorrect on pure implementation

This commit is contained in:
Ugljesa Jovanovic authored and Ugljesa Jovanovic committed 2020-06-29 21:46:29 +02:00
1 parent e6f560ba8e
commit 85e3e2e4ee
13 files changed
+220 -37

No files matched your search

@@ -51,6 +51,10 @@ actual class XChaCha20Poly1305Delegated actual constructor(key: UByteArray, addi
}
}
internal actual constructor(key: UByteArray, additionalData: UByteArray, testState : UByteArray, testHeader: UByteArray) {
}
actual fun encryptPartialData(data: UByteArray): UByteArray {
TODO("not implemented yet")
}