[riot-notifications] [RIOT-OS/RIOT] pkg/libb2: blake2s doesn't work on AVR (#12168)

Gunar Schorcht notifications at github.com
Wed Sep 4 14:23:19 CEST 2019


#### 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
..
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/issues/12168
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190904/b83d34bb/attachment.htm>


More information about the notifications mailing list