Steffen Jaeckel
85c2186ae6
better output on stderr
2017-05-03 18:10:46 +02:00
Steffen Jaeckel
e9923129c8
fix LTC_EASY compilation
2017-05-03 18:10:46 +02:00
Steffen Jaeckel
b472ef31a2
looks like the previous output was not really shaXsum
compatible...
2017-05-03 18:10:46 +02:00
Steffen Jaeckel
28f8a85246
update coverage.sh
...
* hashsum requires now a '-a' option flag for the algorithm
* '-h' is required to output the list of algorithms to stdout
* the algorithms are printed in columns, so we have to sort differently
2017-05-03 18:10:46 +02:00
Steffen Jaeckel
9893566ae9
add shasum
compatibility for '-a' option
2017-05-03 18:10:45 +02:00
Steffen Jaeckel
ea7115dc65
implement file checking
2017-05-03 18:10:45 +02:00
Steffen Jaeckel
31dcb9ff2a
only set outlen on success
2017-05-03 18:10:45 +02:00
Steffen Jaeckel
d02531d4d2
improve hashsum a bit
2017-05-03 18:10:45 +02:00
karel-m
1712c0eae1
Merge pull request #205 from libtom/pr/shake-be-fix
...
SHAKE (SHA3 related) big endian fix
2017-05-03 17:06:27 +02:00
Karel Miko
4e66160ac2
one more readable for loop
2017-05-03 17:01:18 +02:00
Karel Miko
f831e27702
more readable for loops
2017-05-03 12:56:25 +02:00
Karel Miko
a1615daa3c
shake be fix (hopefully final)
2017-05-03 12:56:25 +02:00
Karel Miko
961b6109d5
cosmetics
2017-05-03 12:56:25 +02:00
Karel Miko
da8501f55a
sha3_shake_done another be fix
2017-05-03 12:56:25 +02:00
Karel Miko
c3f2e4530a
declaration of ‘i’ shadows a previous local (better)
2017-05-03 12:56:25 +02:00
Karel Miko
df4e47978e
declaration of ‘i’ shadows a previous local
2017-05-03 12:56:25 +02:00
Karel Miko
e5c0e7ffd3
SHAKE (SHA3 related) big endian fix
2017-05-03 12:56:25 +02:00
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