Steffen Jaeckel
0cf7c49045
sync ltc_math_descriptor from doc
2017-06-15 00:46:50 +02:00
Steffen Jaeckel
fec05471ae
the latest tfm version has fp_rand() available, so we can test this now
2017-06-12 18:45:24 +02:00
Steffen Jaeckel
48e4ec07be
use LTC_ARGCHK()
for all mutex operations
2017-06-12 17:19:43 +02:00
Karel Miko
f46b32ba2e
better DH primes
2017-06-09 14:14:07 +02:00
Karel Miko
2a883b44c7
do not expose dsa_make_params as a public API
2017-06-09 13:01:30 +02:00
Karel Miko
52a496e9e1
rsa_import_pkcs8 - passwd is now "const void *"
2017-06-08 23:34:16 +02:00
Karel Miko
d96f4bdcff
rsa_import_pkcs8
2017-06-08 23:34:16 +02:00
Steffen Jaeckel
4bbce780c4
always provide compare_testvector()
as a function
2017-06-08 22:20:45 +02:00
Steffen Jaeckel
4ceb82bf54
add register_all_{ciphers,hashes,prngs}()
2017-06-08 22:20:45 +02:00
Steffen Jaeckel
b78c5551f7
move compare_testvector()
implementation to the library
2017-06-08 22:20:45 +02:00
Karel Miko
adf0ad95c9
IBM xlc compiler does not like "static inline" (related to #209 )
2017-05-05 19:57:20 +02:00
Karel Miko
a1615daa3c
shake be fix (hopefully final)
2017-05-03 12:56:25 +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
3e2ac192a1
Merge pull request #200 from fperrad/20170429_lint
...
LTC_PTHREAD: some linting
2017-05-01 14:08:59 +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 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
fe14c8bfaf
Move RC4 + SOBER128 to src/stream/
2017-04-28 19:24:58 +02:00
Karel Miko
0d585958c1
BLAKE2 based MACs
2017-04-23 23:27:54 +02:00
Kelvin Sherlock
4ee9d767bb
add key/keylen parameters to blake2x_init
2017-04-10 18:29:51 -04:00
Kelvin Sherlock
6acdfe9a55
cleanup, resins with updated reference source
2017-04-10 10:22:50 -04:00
Kelvin Sherlock
7c5fef9b71
add blake2b hash
2017-04-08 15:40:56 -04:00
Kelvin Sherlock
5924bd43e6
tweak source to conform a little better
2017-04-08 15:40:20 -04:00
Kelvin Sherlock
1b5ae955d2
moe clang-format
2017-04-07 21:24:47 -04:00
Kelvin Sherlock
68296e0608
blake2s hash
2017-04-07 20:47:44 -04:00
Steffen Jaeckel
08415d37f3
fix compare_testvector() macro
2017-04-06 22:47:36 +02:00
Karel Miko
bfe9484a3d
renaming chacha_prng > chacha20_prng
2017-04-03 22:52:17 +02:00
Karel Miko
ce37498ec6
chacha_prng_desc > chacha20_prng_desc
2017-04-03 19:52:03 +02:00
Karel Miko
883db95da2
FILE_READ_BUFSIZE > LTC_FILE_READ_BUFSIZE
2017-04-02 18:13:45 +02:00
Karel Miko
06b1582de6
new #define FILE_READ_BUFSIZE
2017-04-02 18:13:45 +02:00
Karel Miko
ff5b02d371
LTC_CHACHA vs. LTC_CHACHA20_PRNG
2017-04-02 18:13:45 +02:00
Karel Miko
2656a040e0
chacha_prng > chacha20_prng
2017-04-02 18:13:45 +02:00
Karel Miko
3a05f0331d
chachapoly_state > chacha20poly1305_state
2017-04-02 18:13:45 +02:00
Karel Miko
11a9dc50b3
poly_state > poly1305_state
2017-04-02 18:13:45 +02:00
Karel Miko
c8cb714e08
added chacha_done
2017-04-02 18:13:45 +02:00
Karel Miko
ff6abc776c
RFC 7539 - ChaCha20 and Poly1305 + chacha based PRNG
2017-04-02 18:13:45 +02:00
Steffen Jaeckel
08503a02f5
update error codes
...
This closes #180
2017-03-31 15:12:12 +02:00
Steffen Jaeckel
83780d4764
add timezone-offset support to GeneralizedTime
...
this also fixes a bug in the length generation
2017-03-30 22:48:42 +02:00
Steffen Jaeckel
2bd517307c
add GeneralizedTime DER en-/decode
2017-03-30 22:29:02 +02:00
Steffen Jaeckel
ec327b3d86
move x509 processing to rsa_import_x509()
2017-03-30 18:46:05 +02:00
Steffen Jaeckel
2e822a80a8
add der_sequence_shrink()
...
in case you want to keep a sequence over a longer time, but you don't
need all the raw constructed, set or sequence data
2017-03-30 18:46:04 +02:00
Karel Miko
c6a0362c88
SHA3
2017-03-29 13:44:04 +02:00
Steffen Jaeckel
8af93d1d0d
Remove ccm_memory_ex()
2017-03-28 22:57:22 +02:00
Steffen Jaeckel
70ee598c5e
fix LTC_NO_ASM rotate macros when compiling with clang
2017-03-28 21:18:22 +02:00
Steffen Jaeckel
ea355dbc79
there's no reason to disable DH when using GMP as MPI provider
2017-03-24 16:58:04 +01:00
Steffen Jaeckel
cd08a8cec3
disable ltc_rng by default
2017-03-22 11:24:21 +01:00
Steffen Jaeckel
fe7c4e3993
add ltc_rng function pointer
...
the idea is to be able to easily provide a plug-in rng for a specific
platform without the need to touch the library.
2017-03-22 11:24:21 +01:00
BJ Black
c7d6c3ad28
Add OpenSSL-compatible PKCS#5v1 KDF, demo of OpenSSL-compatible aes-256-cbc command.
2017-03-14 18:22:46 +01:00
Karel Miko
e26078d2f7
fix #109 - improved arch/endianness detection + tomcrypt_cfg.h facelift
2017-03-14 18:14:57 +01:00