Handle ULong -> UInt conversions, update api to reflect stream_chacha20_ietf takes UInt for initial counter

This commit is contained in:
Ugljesa Jovanovic committed 2022-03-25 12:47:22 +01:00
1 parent ce868fc598
commit cd3ec109a3
8 files changed
+27 -9

No files matched your search

@@ -21,7 +21,7 @@ expect object Stream {
fun chacha20XorIc(message : UByteArray, nonce: UByteArray, initialCounter: ULong, key: UByteArray) : UByteArray
fun chacha20IetfXor(message : UByteArray, nonce: UByteArray, key: UByteArray) : UByteArray
fun chacha20IetfXorIc(message : UByteArray, nonce: UByteArray, initialCounter: ULong, key: UByteArray) : UByteArray
fun chacha20IetfXorIc(message: UByteArray, nonce: UByteArray, initialCounter: UInt, key: UByteArray) : UByteArray
// fun xChacha20Keygen() : UByteArray
//