tylerwilson
05/29/2019, 2:07 PMCCHmacContext context;
CCHmacInit(&context, algorithm, keyCString, strlen(keyCString));
I am unclear on how to create the context and pass in the Kotlin version. The first context param is declared as CValuesRef<CCHmacContext>? So how do I construct this CValuesRef type? Thank you. Any similar code would be cool too.svyatoslav.scherbina
05/30/2019, 7:19 AMstat
here:
https://kotlinlang.org/docs/reference/native/c_interop.html#memory-allocation