-
Notifications
You must be signed in to change notification settings - Fork 2.1k
pkg/libb2: blake2s doesn't work on AVR #12168
Copy link
Copy link
Closed
Labels
Area: pkgArea: External package portsArea: External package portsPlatform: AVRPlatform: This PR/issue effects AVR-based platformsPlatform: This PR/issue effects AVR-based platformsType: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)The issue reports a bug / The PR fixes a bug (including spelling errors)
Milestone
Description
Description
Function blake2s returns a wrong hash value on AVR architecture. The problem was found when testing PR #12135
Steps to reproduce the issue
Flash tests/pkg_libb2 on an Arduino Mega2560 board and test it.
make BOARD=arduino-mega2560 -C tests/pkg_libb2 PORT=/dev/ttyUSB0 flash term
Expected results
The test should succeed with following output:
This is RIOT! (Version: 2019.10-devel-556-g93fa4)
..
OK (2 tests)
Actual results
The test fails with following output:
This is RIOT! (Version: 2019.10-devel-556-g93fa4)
.
2019-09-04 14:19:43,660 - INFO # blake2_tests.test_blake2s (tests/pkg_libb2/main.c 56) memcmp(b2s, hash, sizeof hash) == 0
.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Area: pkgArea: External package portsArea: External package portsPlatform: AVRPlatform: This PR/issue effects AVR-based platformsPlatform: This PR/issue effects AVR-based platformsType: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)The issue reports a bug / The PR fixes a bug (including spelling errors)