Steffen Jaeckel
|
5501572b35
|
Merge pull request #339 from libtom/minor_improvements
Minor improvements
(cherry picked from commit df8ed5c76b66f5891c8eeb274769a3f8f7dad086)
|
2018-01-15 00:39:26 +01:00 |
|
Steffen Jaeckel
|
f4d2b37cf4
|
Merge pull request #337 from libtom/fix/prng_pthread
prevent undefined behavior with LTC_PTHREAD
(cherry picked from commit 45db2a9d9a8fca00948edb285e06dfb2ea5a4828)
|
2017-12-17 01:20:32 +01:00 |
|
Steffen Jaeckel
|
cfaf964284
|
Bump version
|
2017-12-05 18:40:49 +01:00 |
|
Steffen Jaeckel
|
f9e90f5b1c
|
revert the change of MAXBLOCKSIZE
Currently this only plays a role in HMAC which still uses dynamic
allocation depending on the real blocksize defined by the hash
algorithm.
|
2017-12-05 17:46:08 +01:00 |
|
Steffen Jaeckel
|
f122e9b887
|
Merge pull request #329 from libtom/pr/sha3-blocksize
Correct SHA3 block sizes
(cherry picked from commit 64d028832b36559af753f8c341c53720e5b33aba)
|
2017-12-05 17:43:46 +01:00 |
|
karel-m
|
7f6af93798
|
Merge pull request #320 from diamondo25/patch-1
Remove duplicate prototypes
(cherry picked from commit b4eae5231dfbbc2f34509a8e09f7111d189c25df)
|
2017-12-05 09:20:15 +01:00 |
|
Steffen Jaeckel
|
521d0737ea
|
fix typo
(cherry picked from commit 442bb90a51621deb38a5f9dce890db0f3b312e49)
|
2017-12-05 09:17:30 +01:00 |
|
Steffen Jaeckel
|
a7d0008f52
|
bump version
|
2017-10-10 15:48:35 +02:00 |
|
Steffen Jaeckel
|
ea5cb8bff6
|
make it possible to use LTC_NOTHING with a math provider
|
2017-10-10 15:19:01 +02:00 |
|
Steffen Jaeckel
|
dd0bbdeac0
|
increase default value of Miller-Rabin rounds to 40
|
2017-10-09 17:58:47 +02:00 |
|
Steffen Jaeckel
|
58b71292c3
|
fixup caed025f8ac31c093e12832d4bde10d637c24e93
Simply always use an unsigned long long for ltc_mp_digit on 64-bit besides
when using MSVC.
|
2017-10-03 19:20:33 +02:00 |
|
Steffen Jaeckel
|
caed025f8a
|
define ltc_mp_digit as 'unsigned long' resp 'unsigned long long' for x32
This fixes #306
|
2017-10-03 18:42:26 +02:00 |
|
Steffen Jaeckel
|
cb34ef8626
|
fix-up LTC_FAST related defines/typedefs
|
2017-10-03 13:32:17 +02:00 |
|
Steffen Jaeckel
|
bb291cbbeb
|
init_GMP() works perfectly fine
|
2017-10-02 14:06:42 +02:00 |
|
Steffen Jaeckel
|
30b3a9a986
|
remove {MIN,MAX}_RSA_SIZE
|
2017-10-01 22:56:47 +02:00 |
|
Steffen Jaeckel
|
9cfbaa83a3
|
mostly remove MAX_RSA_SIZE
|
2017-10-01 22:56:47 +02:00 |
|
Steffen Jaeckel
|
07c5e6b0a4
|
bump version
|
2017-09-27 21:37:21 +02:00 |
|
Steffen Jaeckel
|
4a8bfc0a21
|
introduce CRYPT_INPUT_TOO_LONG
|
2017-09-27 21:34:11 +02:00 |
|
Steffen Jaeckel
|
20c6bf812b
|
bump version
|
2017-09-25 16:56:57 +02:00 |
|
Steffen Jaeckel
|
312247fa0b
|
better comments for PKCS#5
|
2017-09-21 18:37:37 +02:00 |
|
Steffen Jaeckel
|
342a10cc14
|
make PK_MAX_RETRIES a config option
|
2017-09-21 18:37:37 +02:00 |
|
Steffen Jaeckel
|
c210f24853
|
IV is short for 'initialization vector'
|
2017-09-20 15:06:40 +02:00 |
|
Karel Miko
|
5057af3ef1
|
fix char* vs. const char*
|
2017-09-18 12:35:03 +02:00 |
|
Karel Miko
|
6200f301a5
|
add comment #ifdef LTC_SOURCE + internal helper functions
|
2017-09-14 18:49:42 +02:00 |
|
Karel Miko
|
5fb4c9f89b
|
another approach for dsa_int_validate_*
|
2017-09-14 17:21:48 +02:00 |
|
Karel Miko
|
aa5b9dafc4
|
fix dsa_int_validate_key related compiler warnings
|
2017-09-14 17:21:48 +02:00 |
|
Steffen Jaeckel
|
1625ce4001
|
re-factor & re-name internal dsa key validation
|
2017-09-14 17:21:48 +02:00 |
|
Karel Miko
|
053ba6d600
|
introducing dsa_verify_key_ex
|
2017-09-14 17:21:48 +02:00 |
|
Steffen Jaeckel
|
0afbefc549
|
bump version
|
2017-08-23 22:35:32 +02:00 |
|
Steffen Jaeckel
|
91e5e8350b
|
ltc_dh_set_type can be hidden as well
|
2017-08-09 16:06:11 +02:00 |
|
Steffen Jaeckel
|
22822417c9
|
really define LTC_{DE,EN}CRYPT
|
2017-08-09 16:06:11 +02:00 |
|
Steffen Jaeckel
|
65dc00e23a
|
align HASH_PROCESS() macro
|
2017-08-08 19:05:59 +02:00 |
|
Karel Miko
|
af63d0a55f
|
OCBv3: improved handling of taglen in ocb3_done
|
2017-08-07 18:24:59 +02:00 |
|
Steffen Jaeckel
|
32355d04bb
|
fix endianness detection for some versions of gcc
This fixes #254
|
2017-08-07 16:04:57 +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
|
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 |
|
Karel Miko
|
909b4954a9
|
fix MS Windows/64bit related warnings
|
2017-07-14 19:59:03 +02:00 |
|
Steffen Jaeckel
|
535358ec28
|
bump version
|
2017-07-13 14:57:45 +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 |
|
Steffen Jaeckel
|
fa5acee802
|
bump version
|
2017-07-05 14:30:17 +02:00 |
|
Steffen Jaeckel
|
7d60fd2bfe
|
don't expose der_length_sequence_ex()
|
2017-07-05 11:52:46 +02:00 |
|
Karel Miko
|
4bc1489584
|
small ASN.1 changes extracted from ECC stuff
|
2017-07-05 11:34:27 +02:00 |
|
Steffen Jaeckel
|
4221c44fbc
|
rename rand_bn_range() to rand_bn_upto()
|
2017-07-05 10:03:56 +02:00 |
|
Steffen Jaeckel
|
a6aef23438
|
dh_make_key() is now dh_generate_key()
|
2017-07-04 10:30:39 +02:00 |
|
Steffen Jaeckel
|
3c2e0d6686
|
dsa_make_key_ex() is now dsa_generate_key()
|
2017-07-04 10:25:38 +02:00 |
|
Steffen Jaeckel
|
dbeaefd65b
|
remove LTC_{DH,DSA}_KEY_INITIALIZER
|
2017-07-04 10:25:38 +02:00 |
|
Steffen Jaeckel
|
d64880eeb1
|
add dsa_set_pqg_dsaparam()
|
2017-06-28 16:07:54 +02:00 |
|