-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
crypto_generichash_blake2b_salt_personal has another result on x86 emulator #29
Comments
Does the real device have an architecture of x86 just like the emulator? |
Can't check it. Have no real device |
Hi just tested this on my device and emulator:
Seems to work for me! Also why aren't you passing a |
I've checked on Emulator - Pixel 2, API 25 x86 (Android Studio emulator), but the result is the same as in my first message. What kind of emulator do you use, Genymotion? |
@gurpreet-
|
Hold on, |
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:
The text was updated successfully, but these errors were encountered: