Commit Graph

262 Commits

Author SHA1 Message Date
kokke
7f70d54d6e
Update README.md 2021-01-06 18:07:35 +01:00
kokke
c0ca6f5857
Update README.md 2021-01-06 02:36:16 +01:00
kokke
c3b7532b6d
Merge pull request #173 from Youw/master
use size_t for buffer size and its indexes
2021-01-06 02:35:05 +01:00
kokke
7279b02ac9
Update README.md 2021-01-06 02:31:18 +01:00
kokke
aa08028c6a
Merge pull request #165 from jsiverskog/fix_warning
Fix compiler warning in CTR only mode
2021-01-05 22:37:06 +01:00
Ihor Dutchak
2ca3e81f3c use size_t for buffer size and its indexes
- this allows using CBC/CTR with buffers larger than 4GB on 64bit systems;

Closes: #172

Signed-off-by: Ihor Dutchak <ihor.youw@gmail.com>
2020-09-26 19:10:19 +03:00
kokke
3f69a5899e
Merge pull request #167 from k6dsp/patch-1
update cmakelists.txt to be able to use it in add_subdirectory()
2020-07-01 12:34:13 +02:00
k6dsp
58d9ab6910
update cmakelists.txt to be able to use it in add_subdirectory()
- Remove reference to ASM language
- advance minimum version of the cmake required as far version 2 is VERY outdated. 
- remove hardcoded folder name of "tiny-AES-c as target_include_directory which by some reason is PRIVATE and could not be used as add_subdirectory() in main project.
2020-06-30 11:56:20 -07:00
Jacob Siverskog
d2b3cd64e8 Fix compiler warning in CTR only mode
Fixes the following warning:

aes.c:98:22: warning: 'rsbox' defined but not used [-Wunused-const-variable=]
   98 | static const uint8_t rsbox[256] = {
      |                      ^~~~~

With CBC = 0, ECB = 0 and CTR = 1.
2020-05-28 10:52:50 +02:00
kokke
b4240662c6
Update README.md 2020-03-30 21:53:26 +02:00
kokke
7a3de7ed01
removing commented-out call to printf... 2020-03-30 21:47:48 +02:00
kokke
218dbd8b7a
Update aes.h 2020-03-30 21:43:47 +02:00
kokke
7052fd19c7
Update README.md 2020-03-07 02:57:16 +01:00
kokke
4229acd25e
Update README.md 2020-03-07 02:54:49 +01:00
kokke
1933872bba
Merge pull request #157 from dmitrystu/optimized-loop
loop optimization
2020-03-07 02:51:39 +01:00
Dmitry
6be2e11a23 loop optimization 2020-03-03 22:36:20 +03:00
kokke
3fe133ffa3
Update README.md 2020-02-11 20:54:21 +01:00
kokke
5e66d4385f
Merge pull request #145 from acortelyou/arduino-lib-props
Add metadata for Arduino Library Manager
2020-01-24 19:11:28 +01:00
kokke
f9fc97a6e4
Update aes.c 2020-01-24 16:54:19 +01:00
Alex Cortelyou
3e9f33dfa3 Add library.properties 2019-07-31 10:51:10 -07:00
kokke
ca85e00de9
Update aes.c
cosmetic: fixing whitespace / indentation
2019-02-22 09:25:36 +01:00
kokke
4b4b04b8fa
Merge pull request #126 from torfinnberset/master
Const-qualify all read-only pointers
2019-02-22 09:23:16 +01:00
Torfinn Berset
2fe22ab845 Update README 2019-02-21 09:41:19 +01:00
Torfinn Berset
7a35660a00 Const-qualify all read-only pointers 2019-02-21 09:31:53 +01:00
kokke
e72b6eff08
Merge pull request #124 from torfinnberset/master
Conan recipe
2019-02-01 11:32:41 +01:00
Torfinn Berset
597569f2ed Add check for AES key-size option 2019-01-31 14:28:09 +01:00
Torfinn Berset
8f778c3d88 Check if at least one encryption mode is selected 2019-01-31 14:25:36 +01:00
Torfinn Berset
7468e2ec12 Also try to compile C++ version of test 2019-01-31 14:19:48 +01:00
Torfinn Berset
ba0f2fd14d Remove Package author, and add Unlicense 2019-01-31 14:15:30 +01:00
Torfinn Berset
139cebe407 Add Conan package options 2019-01-31 14:11:26 +01:00
Torfinn Berset
cd1db241ad First version of Conan recipe 2019-01-31 13:50:14 +01:00
kokke
2c88f70a20
Merge pull request #123 from rkeene/invcipher-not-ctr
Also only define the Inv* family of functions if InvCipher is being compiled
2019-01-23 17:57:56 +01:00
Roy Keene
a5e18ec995 Also only define the Inv* family of functions if InvCipher is being compiled
Since only it uses them
2019-01-22 12:04:17 -06:00
kokke
ce24c0db9d
Merge pull request #121 from rkeene/invcipher-not-ctr
Only define InvCipher if needed
2019-01-17 20:07:21 +01:00
Roy Keene
c033c7c7e4 Only define InvCipher if needed
If AES is being compiled only for AES-CTR, don't compile InvCipher since it is not used
2019-01-11 16:36:17 +00:00
kokke
0677e48a49
Update aes.c
Suggestion by @DamonHD in https://github.com/kokke/tiny-AES-c/issues/118
2018-12-03 10:27:52 +01:00
kokke
691aa01d4a
Update aes.c
Hopefully resolving https://github.com/kokke/tiny-AES-c/issues/118
2018-11-30 09:01:13 +01:00
kokke
3a28fc9a87
new target for building static library: make lib 2018-09-24 15:35:10 +02:00
kokke
f56dbc05ab
Merge pull request #109 from franzinc/master
Testing improvements
2018-09-10 23:42:38 +02:00
Kevin Layer
7f211fb4f4 Testing improvements
Add a new `test' rule that tests all three combinations (128, 192 and
256).  This required the re-ordering of ifdef's in test.c, similar to
that in aes.[ch].  test.elf now exits with the number of tests which
failed, so the test rule in Makefile will notify properly.

Remove the unused variables `buf' and `buf2'.

Also, add a .gitignore file.
2018-07-26 10:12:54 -07:00
kokke
4b97e75fb9
Update README.md 2018-06-27 20:28:23 +02:00
kokke
3410accdc3
Update README.md 2018-05-29 13:42:57 +02:00
kokke
a525e5dbc9
Update aes.c 2018-05-29 13:42:26 +02:00
kokke
6018b3f469
Update aes.h 2018-05-29 13:41:59 +02:00
kokke
93c2670284
Update library.json 2018-05-22 19:30:59 +02:00
kokke
ee68cb869a
Update library.json 2018-05-08 23:07:37 +02:00
kokke
319d06b0fa
Update README.md 2018-05-04 21:21:20 +02:00
kokke
6a112a41a4
Merge pull request #99 from pjunni/patch-1
Fix JSON
2018-05-03 14:41:37 +02:00
Petter Junni
a68d37849e
Fix JSON 2018-05-03 14:29:16 +03:00
kokke
03be0caa72
Commenting reason for extra calls to xtime() 2018-05-02 15:23:47 +02:00