Hey!
Device: Android emulator Pixel 2 API 27 (x86)
I built a test app to demonstrate working the function.
https://github.com/samosudov/test-libsodium
I've got K variable after doing crypto_generichash_blake2b_salt_personal
function. Results from a real device and from emulator are different.
Device:
K=[30, 124, 96, -39, 26, 25, -21, -24, -11, 38, -119, -118, -9, -119, 89, -7, 111, 66, -6, 41, 62, -78, -68, -60, -118, 33, -117, -58, 85, -110, 65, 102]
Emulator:
K=[2, 2, -20, -102, 39, 111, -117, 61, 29, -12, -19, 86, -106, -14, -127, -33, 41, -39, -65, 4, 110, -4, -34, 113, -86, -124, 32, 36, -50, 51, 83, 116]
dependencies:
implementation "com.goterl.lazycode:lazysodium-android:4.1.0@aar"
implementation "net.java.dev.jna:jna:5.4.0@aar"