Steffen Jaeckel
5f7feeab59
fix build
...
* LDFLAGS were missing when building the demo's
* change how CFLAGS and EXTRALIBS are passed
* also use EXTRALIBS when running testbuild.sh
2019-04-10 11:26:32 +02:00
Steffen Jaeckel
1bfde18513
FIPS 186.4 compliant usage of ltm mp_prime_is_prime()
2019-04-10 11:26:32 +02:00
Steffen Jaeckel
5ed32b73e6
improve ecc_test() output
2019-04-10 11:26:32 +02:00
Steffen Jaeckel
27d09b6104
also provide LTC_NORETURN for msvc
2019-04-10 09:17:50 +02:00
Steffen Jaeckel
a9ff2d0dac
fixup meta_builds.sh after 798d7dc61f
2019-01-02 23:30:00 +01:00
Steffen Jaeckel
d58103d54f
oops, NORETURN isn't only used in crypt_argchk()
2019-01-02 22:22:34 +01:00
Steffen Jaeckel
ee13f6ffec
let ssh_test() NOP silently
2018-12-31 17:22:28 +01:00
Steffen Jaeckel
912f6da757
add some more builds to travis
2018-12-29 22:37:50 +01:00
Steffen Jaeckel
b7874c5864
fix warnings when using other ARGTYPE's
2018-12-29 22:37:09 +01:00
Steffen Jaeckel
798d7dc61f
turn around static and dynamic build-options in travis recipe
2018-12-29 18:09:33 +01:00
Steffen Jaeckel
252a172c08
SSH requires MPI funtionality
2018-12-29 18:08:46 +01:00
Steffen Jaeckel
f95be00582
unconditonally create ssh_test()
2018-12-29 18:08:31 +01:00
Steffen Jaeckel
f6f70aa2ec
fix ssh tests when compiled w/o MPI provider
2018-12-29 18:08:07 +01:00
Steffen Jaeckel
4b448d29a2
fix warnings on ARGTYPE=3
2018-12-29 18:02:42 +01:00
Steffen Jaeckel
01c455c3d5
Merge pull request #473 from libtom/fixup/padding_pad
...
fix compilation of padding_pad
2018-12-17 15:44:02 +01:00
Jordan Hrycaj
11ee9683e7
fix compilation of padding_pad
...
... in cases where rng_get_bytes() isn't available
2018-12-17 13:28:47 +01:00
karel-m
d432b13139
Merge pull request #465 from libtom/pr/ecc-test-cleanup
...
ecc_test cleanup
2018-11-07 13:35:57 +01:00
Karel Miko
ae2ab2083b
ecc_test cleanup
2018-11-07 09:25:08 +01:00
Karel Miko
0de6fa3084
Update makefiles
2018-11-07 09:15:34 +01:00
karel-m
3fa462a7f0
Merge pull request #464 from fperrad/20181029_indent
...
fix indentation
2018-10-29 20:33:05 +01:00
Francois Perrad
acf3fcda84
fix indentation
2018-10-29 18:56:02 +01:00
karel-m
f413335b2a
Merge pull request #463 from libtom/pr/ssh-decode-encode-fix
...
Avoid using LOAD32H/STORE32H with unsigned long
2018-10-29 13:04:52 +01:00
Karel Miko
09d116da87
avoid using LOAD32H/STORE32H with unsigned long
2018-10-29 11:28:07 +01:00
karel-m
62cd87342e
Merge pull request #451 from libtom/pr/wycheproof-gcm
...
Wycheproof failing GCM test - invalid/modified tag
2018-10-29 07:28:56 +01:00
Karel Miko
7d8567695b
update doc - chacha20poly1305_memory + gcm_memory
2018-10-29 07:28:18 +01:00
Karel Miko
9a1131da14
add tag validation to chacha20poly1305_memory in decrypt mode
2018-10-29 07:28:18 +01:00
Karel Miko
fd4d8fbc05
add tag validation to gcm_memory in decrypt mode
2018-10-29 07:28:18 +01:00
Karel Miko
27c472654c
fix chacha20poly1305 encrypt/decrypt empty pt/ct
2018-10-29 07:28:18 +01:00
Karel Miko
2599618ca6
wycheproof failing test - invalid/modified tag
2018-10-29 07:28:18 +01:00
karel-m
60eb5d0591
Merge pull request #454 from libtom/pr/wycheproof-padding
...
Wycheproof failing PKCS7 depadding test
2018-10-29 07:27:26 +01:00
Karel Miko
dee704d063
padding_depad + PKCS7 - reject invalid pad 0
2018-10-29 07:26:40 +01:00
Karel Miko
2adc261612
wycheproof failing PKCS7 depadding test
2018-10-29 07:26:40 +01:00
karel-m
332f66dfbe
Merge pull request #452 from libtom/pr/wycheproof-ccm
...
Wycheproof failing CCM test - invalid tag len
2018-10-29 07:25:55 +01:00
Steffen Jaeckel
9a0df8d936
fix scan-build
2018-10-27 10:50:27 +02:00
Steffen Jaeckel
ac5192cf56
update CCM tv's and tv generation
2018-10-27 10:50:27 +02:00
Karel Miko
890c1a8dad
fix - CCM invalid tag len
2018-10-27 10:50:27 +02:00
Karel Miko
93c676ccd8
wycheproof failing CCM test - invalid tag len
2018-10-27 10:50:27 +02:00
karel-m
983fd25e40
Merge pull request #459 from libtom/pr/copy_or_zeromem
...
Avoid LTC_ARGCHK in void functions
2018-10-27 10:46:53 +02:00
Karel Miko
058a7e2c4e
properly use LTC_ARGCHKVD in void function
2018-10-26 19:35:06 +02:00
Steffen Jaeckel
99f9181f67
Merge pull request #456 from dinamicoplus/patch-1
...
Fix RSA Encryption Example
2018-10-25 16:42:54 +02:00
Marcos Brito
be29591812
Fix RSA Encryption Example
...
RSA Encryption Example is missing a closing comment bracket */
2018-10-25 16:34:45 +02:00
Karel Miko
9c0d708523
fix typo pkcs7_depad > padding_depad [skip-ci]
2018-10-15 10:51:17 +02:00
karel-m
fba6ae3ed7
Merge pull request #447 from libtom/pr/ecc-LTC_ECCSIG_RFC7518_RELAXED
...
Make LTC_ECCSIG_RFC7518 strict (again)
2018-10-13 18:50:48 +02:00
Karel Miko
c2cdaaab4d
make LTC_ECCSIG_RFC7518 strict (again)
2018-10-13 18:48:49 +02:00
karel-m
dec99ed99c
Merge pull request #438 from rmw42/feature/ssh-ecdsa
...
LTC_ECCSIG_RFC5656 SSH+ECDSA signature format
2018-10-13 17:51:29 +02:00
Russ Williams
4ee5bfc013
GCC 4.8 -Wmaybe-uninitialized is *really* dumb
2018-10-12 10:22:10 +01:00
Russ Williams
7c4d7cb610
Fixes suggested by Matt Johnston
2018-10-12 10:22:10 +01:00
Russ Williams
9706aa62a7
Update makefiles
2018-10-12 10:22:10 +01: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
2e7c194322
Merge pull request #445 from fperrad/20181007_lint
...
pbes: some linting
2018-10-08 15:34:49 +02:00