Commit Graph

187 Commits

Author SHA1 Message Date
Steffen Jaeckel
62add4d0ce Add LTC_ALIGN_BUF()
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
2024-02-18 17:03:01 +00:00
Steffen Jaeckel
299a9eb565 fix help message of aesgcm demo
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
ae1c26842b use LTC_NULL in the library code
`NULL` as defined by the standard is not guaranteed to be of a pointer
type. In order to make sure that in vararg API's a pointer type is used,
define our own version and use that one internally.

Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
2024-02-18 17:02:08 +00:00
Steffen Jaeckel
083ba719cf read system timer on AARCH64 2024-02-18 17:02:05 +00:00
Steffen Jaeckel
802907ba3f recent aesgcm versions have shorter iv/key strings 2024-02-18 17:02:05 +00:00
Steffen Jaeckel
c5d7bfb2cc manually fix the remaining leading _'s 2020-07-16 10:38:33 +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
50584ac7ec do timing on actual RSA key sizes 2019-10-17 22:27:54 +02:00
Steffen Jaeckel
2a63adc1ab add XSTRLEN 2019-10-17 10:29:27 +02:00
Steffen Jaeckel
c0d1cbdf1d fix #469
[skip ci]
2019-10-11 14:32:22 +02:00
Steffen Jaeckel
4fd4e86ce0 re-order examples 2019-10-11 14:32:22 +02:00
Steffen Jaeckel
19e7f73948 fix scan-build warnings 2019-04-10 11:26:33 +02:00
Steffen Jaeckel
99fcbea2a2 don't error-out if no MPI is available 2019-04-10 11:26:33 +02:00
Steffen Jaeckel
d58103d54f oops, NORETURN isn't only used in crypt_argchk() 2019-01-02 22:22:34 +01:00
Steffen Jaeckel
ac5192cf56 update CCM tv's and tv generation 2018-10-27 10:50:27 +02:00
Karel Miko
ba8fa04f9a reorganize ifdefs in tv_gen 2018-07-08 21:59:06 +02:00
Karel Miko
4fb0562a3b fix -Wmissing-declarations -Wmissing-prototypes -Wmissing-noreturn 2018-07-07 19:54:08 +02:00
Steffen Jaeckel
73426f4b26 fix constants and sizes demos 2018-06-22 10:10:23 +02:00
Steffen Jaeckel
d9215be060 Remove katja 2018-06-03 19:19:58 +02:00
Steffen Jaeckel
7cfc0c93e6 use tomcrypt_private.h 2018-06-03 15:07:28 +02:00
Steffen Jaeckel
e4a03ca72a fix testvectors for two-key 3des 2018-05-23 10:33:47 +02:00
Karel Miko
24c0eb84f9 ECC curves y^2 = x^3 + ax + b 2018-05-22 23:02:44 +02:00
Steffen Jaeckel
ba54b891b9 fix aesgcm on cygwin
This fixes #372
2018-04-06 10:19:53 +02:00
Steffen Jaeckel
e040ef1a59 add aesgcm demo
yeah I know, it's GNU specific, therefore it's also only added to the
GNU makefiles
2018-03-27 14:26:16 +02:00
Steffen Jaeckel
31088c0e9e add gcm_file() and gcm_filehandle() 2018-03-27 14:26:16 +02:00
Karel Miko
065c89108e base64_* use char * for Base64 strings 2018-03-26 16:42:19 +02:00
Steffen Jaeckel
ea79c5f8b1 use new padding functions in openssl-enc 2018-03-23 22:01:41 +01:00
Karel Miko
733d3e5d7d fix: return with a value, in function returning void (LTC_EASY) 2018-02-26 09:52:57 +01:00
Karel Miko
053996dc5e Fix _POSIX_C_SOURCE not defined warning (-Wundef) 2017-11-03 17:05:56 +01:00
Steffen Jaeckel
18ba0cbda9 fix tv_gen.c for scan-build run 2017-10-19 09:54:47 +02:00
Steffen Jaeckel
735566993b add crypt_mp_init() 2017-10-18 08:46:17 +02:00
Steffen Jaeckel
fdc6cd2013 improve tests and timing in regards to MPI provider selection 2017-10-18 08:46:17 +02:00
Steffen Jaeckel
30b3a9a986 remove {MIN,MAX}_RSA_SIZE 2017-10-01 22:56:47 +02:00
Karel Miko
ea43d9a1d2 Fix openssl-enc compilation 2017-09-21 18:37:37 +02:00
Steffen Jaeckel
5bb63f1bca hashsum: improve help 2017-09-21 18:37:37 +02:00
Steffen Jaeckel
eb75c894db hashsum: cleanup at exit 2017-09-21 18:37:37 +02:00
Steffen Jaeckel
a278f72659 skip comment lines when checking hashes
[skip ci]
2017-09-20 17:43:07 +02:00
Steffen Jaeckel
9a83397376 catch case where we could BOF should_buffer[]
[skip ci]
2017-09-20 17:29:05 +02:00
Karel Miko
3ddb45a6b7 fix scan-build bug/warning in tv_gen 2017-09-14 20:32:47 +02:00
Karel Miko
105abdd8cd GCM: 0 size IV is not valid #273 2017-08-28 16:10:30 +02:00
Steffen Jaeckel
bb42345234 fix missing registration of PRNG's in ltcrypt 2017-08-26 12:07:24 +02:00
Steffen Jaeckel
b49ce35b2c fix DH timing when compiling with TFM support 2017-08-26 12:05:53 +02:00
Larry Bugbee
de6ac748c7 refine comments 2017-08-19 16:29:48 -07:00
Larry Bugbee
3794ecaf94 Update demo_dynamic.py
removed trailing spaces
2017-08-18 20:34:03 -07:00
Larry Bugbee
631de35ee3 Update and rename demo_dynamic.py3 to demo_dynamic.py
this version runs under python2 and python3 so only one version need be distributed
2017-08-17 21:11:59 -07:00
Larry Bugbee
ae16210939 Delete demo_dynamic.py 2017-08-17 21:06:50 -07:00
Larry Bugbee
147a406243 Update demo_dynamic.py3
clean comments
2017-08-16 23:50:23 -07:00
Larry Bugbee
5d3e2d1e90 Update demo_dynamic.py
clean comments
2017-08-16 23:49:39 -07:00