Commit Graph

1191 Commits

Author SHA1 Message Date
Steffen Jaeckel
67ca1c0b9a fix for compilation with LTC_DEBUG 2017-05-03 12:37:24 +02:00
karel-m
d936273711 Merge pull request #207 from libtom/feature/pkcs1ssl
PKCS #1 v1.5 padding - No ASN.1
2017-05-02 09:17:16 +02:00
Karel Miko
f00f857224 tests for rsa_sign|verify with LTC_PKCS_1_V1_5_NA1 2017-05-01 23:17:32 +02:00
Steffen Jaeckel
aa4bae5ae9 add option to do PKCS#1 v1.5 EMSA without ASN.1 around hash
Somehow someone forgot to add the OID in the signature field
of a SERVER_KEY_EXCHANGE message in early versions of the SSL protocol.
Therefore provide an option to be able to sign/verify a message
in that format.
2017-05-01 23:15:11 +02:00
Steffen Jaeckel
25878ed632 Merge pull request #202 from fperrad/20170430_lint
more linting
2017-05-01 22:07:51 +02:00
Francois Perrad
a52b586ed2 Unusual use of a Boolean expression 2017-05-01 14:51:35 +02:00
Steffen Jaeckel
2858373e2e clean stack properly 2017-05-01 14:12:47 +02:00
Steffen Jaeckel
3e2ac192a1 Merge pull request #200 from fperrad/20170429_lint
LTC_PTHREAD: some linting
2017-05-01 14:08:59 +02:00
karel-m
91c0071b6b Merge pull request #201 from libtom/pr/lint-20170429
lint fixes discussed in #199
2017-04-30 09:43:47 +02:00
Karel Miko
87142382da lint fixes discussed in #199 2017-04-29 19:59:03 +02:00
Francois Perrad
7e72dafe5f remove useless semicolon
the macro LTC_MUTEX_TYPE already contains a semicolon
see https://github.com/libtom/libtomcrypt/blob/develop/src/headers/tomcrypt_custom.h#L552
2017-04-29 17:52:27 +02:00
karel-m
253f3c45e1 Merge pull request #186 from libtom/pr/stream_rc4_sober128
Move rc4 + sober128 to src/stream/
2017-04-29 15:50:38 +02:00
Karel Miko
6417f96ea9 fortuna - import does not fail when input data are larger than export_size 2017-04-29 14:12:36 +02:00
Karel Miko
d7f2b2dd6e fortuna - move LBL_UNLOCK before zeromem 2017-04-29 13:39:48 +02:00
Karel Miko
c6cee7bef0 prngs/sober128 - import fix 2017-04-29 13:36:45 +02:00
Karel Miko
9c972c833d fix chacha20poly1305_test 2017-04-29 13:30:19 +02:00
Karel Miko
eb209aa2f9 more error checking in *_test 2017-04-28 19:24:58 +02:00
Karel Miko
90b482aa1e stream/chacha - improved counter increment 2017-04-28 19:24:58 +02:00
Karel Miko
9232f2e970 fortuna/yarrow & export_size 2017-04-28 19:24:58 +02:00
Karel Miko
1732ed8ce8 increase coverage 2017-04-28 19:24:58 +02:00
Karel Miko
784a009efe increase coverage 2017-04-28 19:24:58 +02:00
Karel Miko
da25a23712 increasing prngs/rc4 coverage 2017-04-28 19:24:58 +02:00
Karel Miko
28927be1dd typo LTC_CHACHA_PRNG / LTC_CHACHA20_PRNG 2017-04-28 19:24:58 +02:00
Karel Miko
0df0c9b12c LTC_CHACHA_STREAM >> LTC_CHACHA 2017-04-28 19:24:58 +02:00
Karel Miko
dd35e86c60 renaming rc4+sober128 stream API to *_stream_* 2017-04-28 19:24:58 +02:00
Karel Miko
28835a513f update makefiles 2017-04-28 19:24:58 +02:00
Karel Miko
fe14c8bfaf Move RC4 + SOBER128 to src/stream/ 2017-04-28 19:24:58 +02:00
Steffen Jaeckel
93317a1d6a Merge pull request #54 from libtom/feature/doc
Feature/doc (only crypt.tex + changes)
2017-04-26 00:23:34 +02:00
Steffen Jaeckel
0094552828 add doc for ASN.1 GeneralizedTime 2017-04-25 21:23:25 +02:00
Steffen Jaeckel
57c703b14c update doc process a bit
* remove crypt.pdf from repo
* ignore generated PDF's
* make refman.pdf generation silent
2017-04-25 21:23:25 +02:00
Kelvin Sherlock
b234e6b4ca add missing hash descriptors to the documentation. sha1 no longer recommended. 2017-04-25 21:23:25 +02:00
Steffen Jaeckel
8e03799eb6 fix/improve doxygen generation 2017-04-25 21:23:25 +02:00
Steffen Jaeckel
6c1d614a92 update Doxyfile to a more recent version of doxygen 2017-04-25 21:23:25 +02:00
Steffen Jaeckel
434280587a also apply the verbosity settings to the doc generation 2017-04-25 21:23:25 +02:00
Michael Stapelberg
deeea5a1ec fix crypt.tex with newer LaTeX: s/here/h/g
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=790321 for context
2017-04-25 21:23:24 +02:00
Steffen Jaeckel
84606ab8de minor spelling corrections 2017-04-25 21:23:24 +02:00
Pascal Brand
1cf965cfcc Add doc for CCM Authentication full set of functions
Change-Id: I2830ea3c04fd0410cc12137be41e6c511c4a47fe
2017-04-25 21:23:24 +02:00
Steffen Jaeckel
699f52418e don't use SHA1
@buggywhip is right

[skip ci]
2017-04-25 21:23:24 +02:00
Steffen Jaeckel
17b961e554 update changes document
include changes proposed by @buggywhip
fix typos

[skip ci]
2017-04-25 21:23:24 +02:00
Steffen Jaeckel
6a47cb5931 describe behavior of the flexi decoder on unknown identifiers 2017-04-25 21:23:24 +02:00
Steffen Jaeckel
627aef962c add documentation of ASN.1 context-specific decoding 2017-04-25 21:23:24 +02:00
Steffen Jaeckel
3233e51a23 update documentation regarding RSA key import/export 2017-04-25 21:23:24 +02:00
Steffen Jaeckel
2a98d0a11f adapt dynamic language documentation to modified API and functionality 2017-04-25 21:23:24 +02:00
Larry Bugbee
d2047f4b61 added sec 11.3, dynamic lang support 2017-04-25 21:23:24 +02:00
Steffen Jaeckel
3c8743e102 add SHA512/t documentation 2017-04-25 21:23:24 +02:00
Steffen Jaeckel
a5d95448e1 use ulong32 resp. ulong64 in the tables of the Macros section
This closes #16
2017-04-25 21:23:23 +02:00
Steffen Jaeckel
1367c1d685 fix build error 2017-04-25 21:23:23 +02:00
Steffen Jaeckel
d010f19587 add documentation of the new RSA API functions 2017-04-25 21:23:23 +02:00
Steffen Jaeckel
331f76c0ec add documentation of the newly added ASN.1 types 2017-04-25 21:23:23 +02:00
Steffen Jaeckel
df8814dfef some minor corrections/improvements 2017-04-25 21:23:23 +02:00