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

27 Commits

Author SHA1 Message Date
Jan Romann
4384795cb9
treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
Fabian Hüßler
069f88eeb6 sys/crypto: OCB add const 2020-10-05 12:32:51 +02:00
Fabian Hüßler
8ded1b8c3c sys/crypto: CTR add const 2020-10-05 12:32:51 +02:00
Fabian Hüßler
a9295ae531 sys/crypto: CCM add const 2020-10-05 12:32:51 +02:00
Fabian Hüßler
83d391f6b1 sys/crypto: CBC and ECB add const 2020-10-05 12:32:51 +02:00
Francisco Molina
0452e168d7
sys/ccm: define max MAC length 2020-06-26 12:41:18 +02:00
Francisco Molina
8372286591
sys/crypto/modes/ccm: accept input_len=0
CCM may be used on messages with no plaintext data.
2020-04-10 10:41:01 +02:00
Francisco Molina
0e4640276c sys/include/crypto/modes/ccm: specify implem limits 2020-01-12 17:57:27 +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
3382a089a8 sys/crypto: Check block size for CCM operations 2020-01-07 21:22:09 +01:00
61db4d9724 sys/include: fix typos 2019-11-23 22:39:37 +01:00
Mathias Tausig
89db40b563 sys/crypto: Fix code style 2019-10-08 20:58:52 +02:00
José Alamos
d16d911f42
Merge pull request #10120 from mtausig/ocb
Add OCB encryption mode
2019-04-23 11:08:30 +02:00
Mathias Tausig
aa611f6468 crypto: Implement OCB encryption mode 2019-04-23 10:34:32 +02:00
Gaëtan Harter
c87fe94ec1
crypto/modes/ccm: update api to const input buffers
Input buffers are not modified, so can be declared const arguments.
2018-11-19 16:44:04 +01:00
Gaëtan Harter
9427371849
crypto/modes/ctr: update api to const input buffers
Input buffers are not modified, so can be declared const arguments.
This will allow using `const` inputs for `modes/ccm`.
2018-11-19 16:44:04 +01:00
Mathias Tausig
4272ccf281 crypto: Fix whitespace errors 2018-11-08 11:25:50 +01:00
Mathias Tausig
41667cef66 crypto: Improve and fix comments
Update return values in documentation
Improve comments with separate @return statement for each rv
Remove incorrect return value for aes_init
Use @return instead of @returns
Fix comment lines over 80 chars
2018-11-08 11:25:50 +01:00
7d013eb2b6 sys: fix doxygen grouping 2018-06-11 19:12:02 +02:00
Pieter Willemsen
599dbd3bcd crypto/cbc: add return values to documentation 2018-02-27 09:56:54 +01:00
Gaëtan Harter
5e22f61cda sys/crypto/ccm: fix docstring value for 'nonce_len'
From RFC3610 - 2.1.2:

    A nonce N of 15-L octets
    (where L: Number of octets in length field)
2017-12-19 18:24:44 +01:00
Vincent Dupont
4f6fadbdc7 crypto/cbc: constify input buffers 2017-06-27 18:58:33 +02:00
Oleg Hahm
3c6678b037 *: fix mismatching endifs for header guards 2017-01-19 18:30:53 +01:00
Oleg Hahm
7ee7801c10 *: remove trailing underscores from header guards 2017-01-19 18:30:53 +01:00
Shuguo Zhuo
4a0720fd21 sys/crypto: Rename header include guards. 2016-09-01 16:56:13 +02:00
9082273746 core: header cleanup 2016-02-28 22:46:28 +01:00
Nico von Geyso
4a4235c622 Unified Cipher API and Block cipher operation modes 2015-07-22 19:18:34 +02:00