Steffen Jaeckel
33a26c4959
introduce separate aes_desc
...
`aes_desc` and `aes_enc_desc` now do auto-detection of the best suitable
AES implementation for the platform.
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
2024-02-18 17:02:10 +00:00
Steffen Jaeckel
97d0f61491
port cmake integration changes from libtommath
...
... also enable building of tests.
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
2024-02-18 17:02:09 +00:00
Adrian Antonana
d07a66f9b2
introduce initial cmake support
2024-02-18 17:02:09 +00:00
Steffen Jaeckel
3447eaff53
also prefix static hash functions by s_
2020-07-16 10:38:33 +02:00
Steffen Jaeckel
4fd7b5002d
prefix static functions with s_
2020-07-14 18:44:40 +02:00
Karel Miko
89d991e946
add macro name check to helper.pl
2020-07-14 18:44:23 +02:00
Steffen Jaeckel
9824af8e3b
update header
2020-07-14 18:41:30 +02:00
Steffen Jaeckel
24765c30c5
remove footer
2020-07-14 18:41:29 +02:00
Steffen Jaeckel
2a63adc1ab
add XSTRLEN
2019-10-17 10:29:27 +02:00
Steffen Jaeckel
9c67f8ac3c
Fix includes
...
Headers which are included with '< >' can only be found if the folder where
the files are located is given as include path.
To be able to install the files to a separate folder, include them instead
with '" "'.
2019-10-11 14:32:22 +02:00
Steffen Jaeckel
ee11f2d500
add headers & footers
2019-06-09 11:43:54 +02:00
Russ Williams
b4b50cc0c6
Initial commit of SSH+ECDSA signature format
...
Wrap signature format in #ifdef LTC_SSH
Update docs
Code review fixes
Replace strcmp/memcmp with XSTRCMP/XMEMCMP for check-source
Fix for check-defines
XSTRCMP/XMEMCMP != 0
GCC7.3 wants only literal strings for sprintf format
Code review changes
Rework SSH decoding and tests
Fix encoding and tests
COMPARE_TESTVECTOR macro
Single return point in ssh_decode_sequence_multi
Actually use XSTRNCPY rather than just defining it
More code review fixes
Code review tweaks
Ensure it's not possible to read past buffer end
Keep track of size remaining, not end pointer
2018-10-12 10:22:10 +01:00
Steffen Jaeckel
2cb77edf4c
update makefiles etc. for tomcrypt_private.h
2018-06-03 15:07:27 +02:00
Steffen Jaeckel
7de2d910fe
libtomcrypt v1.18.1
...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Gnu Privacy Tools
iF4EABEIAAYFAlpltt4ACgkQrwyxdiHtrXIaugD+PZ1lGJ3Hhm5nQzVycQqp5ryc
BbfeJhhrRVr1art3ftMA/2AOFXS0SEKtkgALCh1qJkK9YwZIZcDGPqSl/6uTEbKq
=1DpZ
-----END PGP SIGNATURE-----
Merge tag 'v1.18.1' into develop
libtomcrypt v1.18.1
2018-01-22 11:04:49 +01:00
Steffen Jaeckel
c7ff3bb86e
Bump revision
2018-01-22 10:45:28 +01:00
Karel Miko
dd868600b3
fix staticfunc_name detection
...
(cherry picked from commit 6d71d657ef
)
2017-12-17 01:05:53 +01:00
Karel Miko
6d71d657ef
fix staticfunc_name detection
2017-12-10 12:35:59 +01:00
Karel Miko
153b897984
helper.pl - detect sizeof without brackets
...
(cherry picked from commit b7e35e9f57
)
2017-12-05 09:21:27 +01:00
Karel Miko
f10c2055dc
helper.pl - improved detection of static functions without _
...
(cherry picked from commit 5c34fb2bad
)
2017-12-05 09:21:17 +01:00
Steffen Jaeckel
b159ca0d12
add missing file footers
...
[skip ci]
2017-11-09 15:31:51 +01:00
Karel Miko
b7e35e9f57
helper.pl - detect sizeof without brackets
2017-11-05 17:08:02 +01:00
Karel Miko
5c34fb2bad
helper.pl - improved detection of static functions without _
2017-11-05 11:40:01 +01:00
Steffen Jaeckel
b3c9f586dc
also patch doc/Doxyfile automatically
2017-10-10 15:48:35 +02:00
Steffen Jaeckel
bab6af73e5
fix check_source()
2017-10-07 18:09:13 +02:00
Steffen Jaeckel
5049463774
bump the libtool version
...
yeah, helper.pl doesn't update it anymore automagically...
we'll probably find a new way to do that in the future...
or we keep on updating it manually...
This fixes #300
2017-09-27 21:19:33 +02:00
Steffen Jaeckel
e53858c740
update VERSION variables in makefiles
...
VERSION is now VERSION_PC
the new VERSION contains the entire string of SCRYPT
2017-07-05 14:30:17 +02:00
Steffen Jaeckel
d03635acab
support patch-releases in helper.pl
2017-07-05 14:30:17 +02:00
Steffen Jaeckel
11338d2496
introduce XMEMMOVE and check for its usage
2017-06-22 14:21:14 +02:00
Steffen Jaeckel
af984dc33e
exclude more sources from "static function check"
2017-06-22 14:21:14 +02:00
Karel Miko
8f433f1a36
add check for static function names
2017-06-22 14:21:14 +02:00
Karel Miko
f4ce5a21c8
helper.pl - enable check_comments for --check-all
2017-06-22 13:19:47 +02:00
Steffen Jaeckel
18c00ddcd6
better usage of find()
2017-06-20 15:16:11 +02:00
Steffen Jaeckel
6fc0a90a1e
fix headers & footers in demos & tests
2017-06-20 15:16:11 +02:00
Karel Miko
2cd69fb541
improved helper.pl (check mandatory comments - not included in "--check-all" yet)
2017-06-14 17:16:26 +02:00
Steffen Jaeckel
904366eb0f
check that all ciphers/hashes/prngs are unregistered
2017-06-12 17:19:43 +02:00
Steffen Jaeckel
4ceb82bf54
add register_all_{ciphers,hashes,prngs}()
2017-06-08 22:20:45 +02:00
Steffen Jaeckel
e1a1145802
rename 'testprof/' to 'tests/'
2017-06-08 22:20:45 +02:00
Steffen Jaeckel
07ffa0f1a2
remove tomcrypt_prof test-only library
2017-06-08 22:20:45 +02:00
Steffen Jaeckel
201681ee3b
merge testprof/timing_test.c into demos/timing.c
2017-06-08 22:20:45 +02:00
Steffen Jaeckel
0a23c6d32e
also check for cipher descriptors
2017-06-08 22:20:44 +02:00
Steffen Jaeckel
9b8fff6260
add testprof/common.c
...
so we can remove all the duplicate registration implementations
...and we can put some other shared stuff in there as well
2017-06-08 22:20:44 +02:00
Steffen Jaeckel
7379c94f0a
merge .include and .common makefiles
2017-05-11 23:04:37 +02:00
Steffen Jaeckel
ea67579298
further clean-up
...
- improve doc generation
- update version handling
no need for VERSION_{MAJ,MIN}
2017-05-11 23:04:37 +02:00
Karel Miko
7ed5a832b0
tuning makefile.msvc+mingw
2017-05-11 23:04:37 +02:00
Karel Miko
add3495bfc
fix perlcritics warnings in helper.pl
2017-05-11 23:04:37 +02:00
Karel Miko
1300c5ade5
make fixupind.pl part of helper.pl
2017-05-11 23:04:37 +02:00
Karel Miko
3176103c15
fix makefile.icc in makefile update scripts
2017-05-11 23:04:37 +02:00
Karel Miko
bf45ea66e5
drop the need for testprof/makefile*
2017-05-11 23:04:37 +02:00
Karel Miko
6d404afc97
helper.pl --check-hashes + related fixes
2017-04-21 21:20:31 +02:00
Karel Miko
7bb7bdde1d
improving MS Windows builds (msvc)
2017-03-29 08:48:33 +02:00