Commit Graph

1397 Commits

Author SHA1 Message Date
Steffen Jaeckel
bc0c18f347 Update makefiles 2017-08-02 18:55:42 +02:00
Steffen Jaeckel
0c2ff4a1b0 OCBv3: small review
* better LTC_ARGCHK()
* move unnecessary functions from API to be static
* limit malloc'ed data in ocb3_decrypt_verify_memory()
2017-08-02 18:55:34 +02:00
Steffen Jaeckel
d77cf0e248 OCBv3: implement RFC7253 compliance
This fixes #256
2017-08-02 17:45:59 +02:00
Steffen Jaeckel
1aaa5abb33 ocb3: check the length of the nonce 2017-08-02 14:41:46 +02:00
Steffen Jaeckel
b2448c593a ocb3: properly handle empty AAD
* allow passing "no additional data" to ocb3_decrypt_verify_memory() and
  ocb3_encrypt_authenticate_memory()
* ensure that the caller didn't want to add AAD
2017-08-01 14:44:37 +02:00
Steffen Jaeckel
4805c89adb add ARGTYPE to crypt_build_settings 2017-08-01 14:21:11 +02:00
Michael Stapelberg
541ab1c16c Fix crypt.tex with newer TeXLive (thanks Norbert Preining)
See https://lists.debian.org/debian-tex-maint/2017/08/msg00000.html for details
2017-08-01 12:04:01 +02:00
Steffen Jaeckel
129bc7175f beautify dh & rsa 2017-07-21 10:16:19 +02:00
Steffen Jaeckel
6b925485a8 make sure to request an element which is always available 2017-07-20 13:34:16 +02:00
Steffen Jaeckel
ab8c5b8b49 fix help of {un,}install targets 2017-07-20 12:58:28 +02:00
Steffen Jaeckel
61eb98b76e add compile-time check for sprng requirements 2017-07-20 12:47:19 +02:00
Steffen Jaeckel
a46d6eb819 remove define of LTC_NO_FILE when defining LTC_NOTHING
it doesn't make sense to define this opt-out option especially
since there's no way to undefine it again.
2017-07-19 16:44:37 +02:00
Steffen Jaeckel
83407feaa6 Merge pull request #250 from libtom/pr/readme-building
README building instructions
2017-07-17 18:34:52 +02:00
Steffen Jaeckel
1e1170df29 move timing to BROKEN_DEMOS 2017-07-17 13:36:34 +02:00
Steffen Jaeckel
24c5b74193 introduce 'make help' 2017-07-17 13:36:34 +02:00
Steffen Jaeckel
bffaab4eed re-group demos and really build everything in 'all' target 2017-07-17 13:36:34 +02:00
Steffen Jaeckel
22c13b49d8 oops, refman.pdf can't be built with DOT 2017-07-17 13:36:34 +02:00
Steffen Jaeckel
0e081d666a improve error message when using makefile on Mac OSX
[skip ci]
2017-07-17 13:36:34 +02:00
Steffen Jaeckel
4cb8936a31 update readme
[skip ci]
2017-07-17 13:36:34 +02:00
Karel Miko
bfe6c4d35c improved README - building instructions
[skip ci]
2017-07-17 13:36:34 +02:00
karel-m
ff54ec2f0d Merge pull request #253 from libtom/pr/rc2-fix-win64
Fix MS Windows/64bit related warnings
2017-07-14 20:41:10 +02:00
Karel Miko
909b4954a9 fix MS Windows/64bit related warnings 2017-07-14 19:59:03 +02:00
Steffen Jaeckel
aa0f396c0c Update makefiles 2017-07-13 14:58:01 +02:00
Steffen Jaeckel
535358ec28 bump version 2017-07-13 14:57:45 +02:00
Steffen Jaeckel
89d0c64335 Merge pull request #247 from libtom/pr/custom_compile_flags
introduce LTC_CFLAGS and LTC_LDFLAGS
2017-07-13 14:34:05 +02:00
Steffen Jaeckel
a2f48578e9 also pre-pend -Itests 2017-07-12 22:48:46 +02:00
Steffen Jaeckel
a949ef5a89 append instead of prepend CFLAGS for the other makefiles 2017-07-11 15:37:31 +02:00
Steffen Jaeckel
b1c0227d54 introduce LTC_CFLAGS and LTC_LDFLAGS 2017-07-11 15:33:33 +02:00
Steffen Jaeckel
24e69b2956 more printf() clean-up
* remove last occurences in non-test code
* minimize in tests
2017-07-11 15:29:45 +02:00
Steffen Jaeckel
8b7edf5478 update DOT max values 2017-07-11 15:29:45 +02:00
Steffen Jaeckel
c6b93ae72e Merge branch 'pr/245' into release/1.18.0
This closes #245
2017-07-11 15:29:45 +02:00
Francois Perrad
37de73db01 add static _chc_process like in its prototype 2017-07-11 15:29:45 +02:00
Francois Perrad
53c62b3670 remove redundant prototypes
already declared in src/headers/tomcrypt_hash.h
2017-07-11 15:29:45 +02:00
Steffen Jaeckel
70f8a57f01 Merge pull request #249 from libtom/pr/dh-dsa-api
dh_set_key + dsa_set_key
2017-07-11 10:36:09 +02:00
Steffen Jaeckel
1819a02d5a update comments
[skip ci]
2017-07-11 10:32:53 +02:00
Karel Miko
e20e204b8c dh_set_key + dsa_set_key API change described in #248 2017-07-11 00:13:26 +02:00
karel-m
fa4713b68e Merge pull request #246 from libtom/pr/gcm-corner-cases
GCM allow skipping gcm_add_aad and gcm_process
2017-07-10 23:26:13 +02:00
Karel Miko
0792e3701e GCM allow skipping gcm_add_aad and gcm_process 2017-07-10 22:35:42 +02:00
Steffen Jaeckel
dd5996dd1f don't find the lo's to link, but use the list of objects 2017-07-10 10:20:36 +02:00
Steffen Jaeckel
221f7f223d add 'uninstall' make target
[skip ci]
2017-07-10 10:16:35 +02:00
Steffen Jaeckel
3806629e9e fix default make target 2017-07-09 17:34:45 +02:00
Steffen Jaeckel
4d897a36a3 Merge pull request #243 from libtom/pr/fix-chmod
Fix: chmod -x
2017-07-09 17:34:04 +02:00
Karel Miko
b89f3d8b5a fix: chmod -x notes/rsa-testvectors/*.txt 2017-07-09 16:22:28 +02:00
Karel Miko
2aa42f002f fix: chmod -x 2017-07-09 16:22:28 +02:00
Steffen Jaeckel
68bf547f9c use rsa_free() on error in rsa_make_key() 2017-07-09 16:02:11 +02:00
Steffen Jaeckel
749873c306 fix docs generation with TeX Live 2017
[skip ci]
2017-07-06 10:19:38 +02:00
Steffen Jaeckel
f15e0172ca Travis: also build master and 'release/*' branches 2017-07-05 14:43:21 +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
a8965f048a Update makefiles 2017-07-05 14:30:17 +02:00
Steffen Jaeckel
fa5acee802 bump version 2017-07-05 14:30:17 +02:00