1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

44 Commits

Author SHA1 Message Date
Benjamin Valentin
d6e2499ab7 tests/sys_crypto: add missing <string.h> include 2023-02-20 18:31:23 +01:00
Francisco Molina
df3c0a6b72 tests/sys_crypto: fix potentially unitialized error 2022-03-01 09:55:25 +01:00
Dave VanKampen
55ea8cfb97 boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
Gerson Fernando Budke
574a0cf653 Revert "tests: Exclude atxmega-a1u-xpro board due low mem"
This reverts commit 6475620290.
2021-08-24 08:35:41 -03:00
Jan Romann
4384795cb9
treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
Ollrogge
46a0ef07b1 tests/sys/crypto: Split test application to reduce size 2021-05-03 17:40:33 +02:00
Ollrogge
3f529904b7 sys/crypto: Add AES-CCM NIST SP 800-38C testvectors 2021-05-03 17:34:53 +02:00
Ollrogge
b1a2d4787d sys/crypto: Remove leftover code related to deprecated 3DES block cipher 2021-05-03 17:34:53 +02:00
Ollrogge
427d2bd06e sys/crypto: Enable support for AES-192, AES-256 2021-05-03 17:34:49 +02:00
Gerson Fernando Budke
4a9f0efb6d boards: introduce atmega328p-xplained-mini
Add ATmega328P Xplained Mini board.  The board is an official
development kit from MCHP based on the Arduino UNO, reduced
hardware, with a xplainedmini debugger and CDC ACM serial
converter.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-03-27 14:10:19 -03:00
Gerson Fernando Budke
6475620290 tests: Exclude atxmega-a1u-xpro board due low mem
Add atxmega-a1u-xpro board to BOARD_INSUFFICIENT_MEMORY list to
exclude test since boards don't have enough data memory.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-03-15 20:16:10 -03:00
Leandro Lanzieri
589904e6e8
tests: add crypto and prng kconfig configurations 2021-01-26 17:50:20 +01:00
Benjamin Valentin
0c36a57e4e tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
05fbeb65b1
tests: skip nucleo-l011k4 where it doesn't fit 2020-10-15 18:52:51 +02:00
Benjamin Valentin
69a7eb5efa tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
Fabian Hüßler
848210f16c tests/sys_crypto: add const 2020-10-05 12:32:51 +02:00
f3eae3d468
tests/sys_crypto: fix typo 'neccessary' -> 'necessary' 2020-10-02 08:18:38 +02:00
9f7bfde27e tests: update msp430 memory blacklists 2020-08-05 14:32:57 +02:00
67843a2b11
examples: test: remove remaining occurences of wsn430 2020-07-10 16:49:08 +02:00
Francisco Molina
7a39e2e875
tests/sys_crypto/tests-crypto-modes-ccm: add test for input_len=0 2020-04-10 10:41:01 +02:00
e9af310159
tests: use check_unittests func from testrunner 2020-03-19 10:39:34 +01:00
5332ecec33
tests/crypto*: use crypto_% modules instead of CFLAGS 2020-03-06 19:49:58 +01:00
Gaëtan Harter
4eb0538e74 tests/sys_crypto: test that the whole plaintext_len is written 2020-01-08 19:49:15 +01:00
Mathias Tausig
44281269e1 crypto: Add testcase for CCM mode with message length > 256 2020-01-07 23:31:35 +01:00
Francisco
4c4cb8a14f
Merge pull request #12362 from mtausig/ccm_aadlen
Fix CCM mode when length of AAD is > 24
2020-01-07 22:26:24 +01:00
Mathias Tausig
c817bc9a11 sys/crypto: Add unit test for CCM mode with AAD length > 24 2020-01-07 21:25:48 +01:00
d9ca9f3ef2
tests/crypto: remove useless BOARD_BLACKLIST 2019-11-22 19:21:06 +01:00
608fee8852
tests/crypto: add new 8/16 bit boards to insufficient memory 2019-11-22 19:21:05 +01:00
2d9612b116
tests/sys_crypto: exclude some test for 8 and 16 bit arch
The tests doesn't work when length_encoding is above the maximum uint16
value.

Also add a set that checks the right error code is returned with too
small length_encoding.
2019-11-22 19:21:05 +01:00
Robert Olsson
c903bc8c1b boards/avr-rss2: add AtMega256RFR2 based board
Co-Authored-By: benpicco <benpicco@googlemail.com>
Support: Alexandre Abadie aabadie, Marian Buschsieweke maribu, Martine Lenders miri64
2019-11-20 11:57:02 +01:00
Marian Buschsieweke
277bf803f8
tests/sys_crypto: Blacklist atmega1284p 2019-11-19 09:32:20 +01:00
602f9d7f9c
tests: exclude atmega256rfr2-xpro where required 2019-11-05 10:40:59 +01:00
Benjamin Valentin
58892fbbef tests: add stm32f030f4-demo to Makefile.ci 2019-10-21 15:33:11 +02:00
Marian Buschsieweke
6441e3c178
tests: Updated BOARD_BLACKLIST
- Added atmega328p to BOARD_BLACKLIST where needed
- Adapted special timer frequency selection in tests/periph_timer to also
  select 25kHz for the atmega328p board
2019-10-21 12:54:46 +02:00
Benjamin Valentin
c01eae3239 tests: add microduino-corerf to Makefile.ci 2019-10-17 20:38:47 +02:00
Marian Buschsieweke
fd6fedaab6
tests: BOARD_INSUFFICIENT_MEMORY -> Makefile.ci
- Moved the BOARD_INSUFFICIENT_MEMORY list into Makefile.ci
- Formatted the list to contain one board per line
- Sorted the lists alphabetically
2019-10-17 15:11:59 +02:00
7794c29650
Merge pull request #12396 from mtausig/codestyle
Fix code style of crypto code
2019-10-09 08:00:25 +02:00
Mathias Tausig
89db40b563 sys/crypto: Fix code style 2019-10-08 20:58:52 +02:00
Gaëtan Harter
589d7e5a46
applications: remove mentions of jiminy-mega256rfr2
Remove the deprecated board from BOARD_BLACKLIST and BOARD_INSUFFICIENT_MEMORY.
2019-10-08 18:37:32 +02:00
43717c7b2b
tests: remove useless global board test on ci whitelist 2019-09-16 19:02:02 +02:00
Gaëtan Harter
46c79018f3
tests/sys_crypto: add tests from NIST SP 800-38C
Taken from pycrypto tests input
2019-08-21 17:52:45 +02:00
Gaëtan Harter
d61f3c23ca
tests/sys_crypto: add remaining tests from RFC 3610
Taken from pycrypto tests input
2019-08-21 17:52:45 +02:00
Gaëtan Harter
1e7242ac82
tests/sys_crypto: change naming and formatting
* use names with RFC
* add terminating comma
* remove newlines between tests values

This prepares for the format of the next commit adding all RFC tests.
This will reduce the number of changes in upcoming commit.
2019-08-21 17:52:45 +02:00
Gaëtan Harter
330b9669a3
tests/sys_crypto: move tests-crypto out of unittests
This moves unittests/tests-crypto to its own test.
It should allow adding big test vectors without preventing boards from
running the tests.
2019-08-21 17:52:45 +02:00