compute

fun compute(key: ByteArray, data: ByteArray, outputLength: Int, customization: ByteArray = ByteArray(0)): ByteArray(source)

Parameters

key

the KMAC key K.

data

the input X.

outputLength

L in bytes.

customization

S, empty for EDHOC.