This website requires JavaScript.
07bfe77cfb
Add possibility to use different hash algorithms in RSAES-OAEP
master
Steffen Jaeckel
2023-03-11 15:57:09 +0100
f2844cc872
Fix make incompatibility
Steffen Jaeckel
2023-10-05 12:34:33 +0200
0ccc12a669
Add missing package name suffix to CMake/CPack
Steffen Jaeckel
2023-10-05 11:04:22 +0200
e562548ed6
Fix CMake with MSVC
Steffen Jaeckel
2023-10-05 10:53:06 +0200
74ddf11d55
Fix compiler warning
Steffen Jaeckel
2023-10-05 10:42:18 +0200
e83b9ced72
Re-order struct members
Steffen Jaeckel
2023-10-05 10:24:38 +0200
61f764d37f
Always determine manually whether CC is clang
Steffen Jaeckel
2023-10-04 15:33:13 +0200
4be2367a5a
Add option to disable AES-NI at compile time
Steffen Jaeckel
2023-10-04 14:53:34 +0200
2f6282919f
Ensure that AES key is always correctly aligned
Steffen Jaeckel
2023-10-02 10:24:33 +0200
62add4d0ce
Add LTC_ALIGN_BUF()
Steffen Jaeckel
2023-10-05 10:26:05 +0200
f39db7cb0a
Fix #627
Steffen Jaeckel
2023-08-07 07:51:24 +0200
9a05c23516
Add Testcase for #627
Steffen Jaeckel
2023-08-07 11:14:20 +0200
17372d2e88
Fix build for Windows ARM (UWP)
Steffen Jaeckel
2023-07-25 12:54:00 +0200
29d29ca170
Add support for reading random data from "bcrypt" on Windows
Steffen Jaeckel
2023-07-25 12:44:25 +0200
c3a9a04c1b
Add empty stub for s_der_tests_print_flexi()
Steffen Jaeckel
2023-06-20 16:51:25 +0200
d463dab6d6
Fix DER decoding of UTF-8 Strings
Steffen Jaeckel
2023-06-20 16:49:05 +0200
d8d99887b5
Add Testcase that UTF-8 decoding respects the ASN.1 length
Steffen Jaeckel
2023-08-07 11:27:29 +0200
fc6be6b4f5
Fix some pkg-config related things
Steffen Jaeckel
2023-07-25 10:03:00 +0200
d4cc1e5214
Port CMake changes from libtommath for Debian packaging
Steffen Jaeckel
2023-07-25 09:50:53 +0200
6741c76089
fix missing mutex unlock
ycaibb
2021-09-10 19:44:54 +0800
03b3538830
Fixed size check in ecc_get_key, Fixes #630
Ulrich Koschella
2023-08-04 14:57:49 +0200
71c93ed301
Add Testcase for #630
Steffen Jaeckel
2023-08-07 11:02:13 +0200
a96794c9c5
Fixed wrong sign in docu of ECC Extended Key Generation, Fixes #628
Ulrich Koschella
2023-08-03 13:03:25 +0200
0920839c68
Update makefiles
Steffen Jaeckel
2023-06-21 15:14:52 +0200
33a26c4959
introduce separate aes_desc
Steffen Jaeckel
2021-09-30 14:49:26 +0200
2a8e6a229c
Disable warnings from clang
Steffen Jaeckel
2020-12-21 22:40:11 +0100
a0388ef11f
add CI testrun with AESNI
Steffen Jaeckel
2020-12-21 19:37:58 +0100
13fd324a3b
add support for AES-NI instructions
Steffen Jaeckel
2020-12-21 16:19:40 +0100
1bfb07a0c8
Add LTC_TMPVAR()
macro
Steffen Jaeckel
2023-06-20 16:34:20 +0200
a27da4aa22
cmake: add ccache support
Steffen Jaeckel
2023-06-19 21:14:38 +0200
a5249753ce
Add correct MPI provider defines to pkg-config cflags
Steffen Jaeckel
2023-06-19 19:44:17 +0200
ce021c898c
cmake: Add TomsFastMath support
Steffen Jaeckel
2023-06-19 19:28:13 +0200
a8081c5641
also update pkg-config file generated by cmake
Steffen Jaeckel
2023-01-18 19:53:57 +0100
046443467d
update Libs
part of pkg-config file with configured MPI providers
Steffen Jaeckel
2023-01-18 16:41:36 +0100
e9c0b9f34c
Remove pre-installed libtommath
Steffen Jaeckel
2023-06-19 17:16:23 +0200
c2e27cf9a5
More error logs on CI failure
Steffen Jaeckel
2023-06-19 17:15:59 +0200
2156b240e8
Fix missing include paths of ltm and tfm
Steffen Jaeckel
2023-06-19 16:44:40 +0200
410bd9188f
Fix Valgrind CI run when building with Clang
Steffen Jaeckel
2023-06-17 21:29:41 +0200
bebf2ffd65
Calm scan-build
static analyser
Steffen Jaeckel
2023-06-17 14:16:57 +0200
024392e941
Update base OS version of CI
Steffen Jaeckel
2023-06-17 14:04:12 +0200
4e8fc0e04e
ensure that input-data pointer is non-NULL
Steffen Jaeckel
2023-03-31 14:42:23 +0200
effe0e8e21
allow input-data pointer to be NULL
Steffen Jaeckel
2023-03-31 14:41:37 +0200
af5fffb8a7
fix pkcs_1_v1_5_decode() when empty message
Safae Ouajih
2023-03-15 11:08:54 +0000
299a9eb565
fix help message of aesgcm
demo
Steffen Jaeckel
2023-03-31 14:15:19 +0200
316c07b31c
Fix CMakeLists.txt which still used variables from the ltm port
Steve Manley
2023-01-03 15:31:40 -0800
9bb2608aa1
Added gcm_reset() to gcm_memory() to avoid key leakage
Jin
2022-11-14 10:11:25 -0800
f37aad3f06
create developer manual in CI
Steffen Jaeckel
2022-10-14 10:47:41 +0200
c9348e43a0
use correct Build Status badge in README
Steffen Jaeckel
2022-10-14 10:37:19 +0200
5a33be0dbc
improve MPI providers section in documentation
Steffen Jaeckel
2022-10-12 12:06:59 +0200
97d0f61491
port cmake integration changes from libtommath
Steffen Jaeckel
2022-09-05 11:19:07 +0200
d07a66f9b2
introduce initial cmake support
Adrian Antonana
2019-04-29 18:30:30 +0200
82ec3fea54
remove camellia tests if LTC_TEST
is not defined
Steffen Jaeckel
2022-09-13 11:54:47 +0200
3c05f2b65a
fix incompatibility issues with LLP64 data models
Steffen Jaeckel
2022-09-05 10:04:06 +0200
791e5e7098
don't overwrite arguments
Steffen Jaeckel
2022-09-02 11:41:26 +0200
1c303e8c13
optimize stack arrays
Steffen Jaeckel
2022-09-02 11:36:56 +0200
bb7712bd64
ensure that ctx
is non-NULL
Steffen Jaeckel
2022-09-02 11:35:11 +0200
fd41f04026
re-factor tweetnacl_crypto_hash[_ctx]()
Steffen Jaeckel
2022-08-31 12:46:39 +0200
25b724e0d8
Update makefiles
Steffen Jaeckel
2022-09-01 12:28:36 +0200
df529c3cbc
add test-case that uses LTC_NO_NULL_TERMINATION_CHECK
Steffen Jaeckel
2022-09-01 12:28:17 +0200
f73a6893ef
fix possible UB
Steffen Jaeckel
2022-08-31 11:47:44 +0200
ae1c26842b
use LTC_NULL
in the library code
Steffen Jaeckel
2022-08-31 11:41:49 +0200
1277dab32a
introduce LTC_NULL_TERMINATED
function attribute
Steffen Jaeckel
2022-08-31 11:30:32 +0200
0507657b07
Update makefiles
Steffen Jaeckel
2022-08-16 15:16:40 +0200
57c90507ae
re-factor some parts of the Ed25519ctx and Ed25519ph implementation
Steffen Jaeckel
2022-08-16 15:15:11 +0200
3f91f261ff
Add ed25519ctx and ed25519ph support
Valerii Chubar
2022-08-12 07:34:19 +0000
a37f4ca5df
ed25519: Add testcase for segfault on verify
Valerii Chubar
2022-08-12 07:33:51 +0000
142d5033f1
Ensure that hash overflow is detected
Steffen Jaeckel
2022-07-16 14:57:24 +0200
243099fee7
also build with MSVC 2019 & 2022
Steffen Jaeckel
2022-03-23 18:27:54 +0100
aa6dcd8de6
Spelling fix in tomcrypt_cfg.h
Oliver Schneider
2022-03-16 23:33:59 +0000
8059e5a097
fix sporadically failing tests when built with pthreads support
Steffen Jaeckel
2022-03-17 14:02:42 +0100
599d4861a3
make sure to check yarrow_read()
return values
Steffen Jaeckel
2022-03-17 13:36:08 +0100
64010a939b
pack up failed build to be able to investigate
Steffen Jaeckel
2022-03-17 11:33:51 +0100
2af7e7e65d
add hash Id to docs
Steffen Jaeckel
2021-02-10 22:38:50 +0100
fdd96a7fbc
add cipher Id to docs
Steffen Jaeckel
2020-12-21 16:15:07 +0100
9385809717
silence valgrind
Steffen Jaeckel
2022-02-04 15:34:22 +0100
13f2ab092a
better debug output
Steffen Jaeckel
2022-02-03 18:10:40 +0100
d016615d0b
migrate from travis CI to GitHub actions
Steffen Jaeckel
2022-02-03 16:35:04 +0100
6ee927a3e2
improve pk_oid_num_to_str()
Steffen Jaeckel
2022-01-06 03:33:55 +0100
ee92fce094
fix/improve DER tests
Steffen Jaeckel
2022-01-14 23:22:48 +0100
39c44e14fe
prevent UB
Steffen Jaeckel
2022-01-14 12:17:09 +0100
c2a6b1a9fb
add (private) rsa_import_pkcs1()
Steffen Jaeckel
2021-12-28 18:04:40 +0100
832e66c102
signal a potential overflow when decoding a LTC_ASN1_SHORT_INTEGER
Steffen Jaeckel
2021-12-28 17:28:36 +0100
48c5894d40
continue looping on NOP
Steffen Jaeckel
2021-12-26 18:38:58 +0100
c4b30b61dc
slightly improve base64 encoding
Steffen Jaeckel
2021-12-26 17:38:23 +0100
8f9d80f171
correctly prefix enum ltc_oid_id
members
Steffen Jaeckel
2021-12-26 16:55:03 +0100
deaa907a5c
add base64_encode_pem()
Steffen Jaeckel
2021-12-25 18:52:49 +0100
4499b5cdb7
fix typo
Steffen Jaeckel
2021-12-25 14:17:05 +0100
39f9cd9420
re-order code a bit
Steffen Jaeckel
2021-12-25 13:35:54 +0100
71e54554ff
add SSH-style padding
Steffen Jaeckel
2021-12-25 13:24:14 +0100
c450bf4912
annotate some and fix un-aligned #endif
Steffen Jaeckel
2021-12-19 14:32:34 +0100
4cd4761284
documentation: add new rsa generate key API
Cedric Neveux
2021-06-03 07:54:50 +0200
a7a81d63e1
test: add test rsa key generate with public exponent upto 256 bits
Cedric Neveux
2021-05-31 12:17:52 +0200
16d422ee86
rsa: add rsa key generate with public exponent upto 256 bits
Cedric Neveux
2021-05-26 13:18:52 +0200
8a46b4cd71
DSA gen params: fixed check group_size vs LTC_MDSA_MAX_GROUP, updated LTC_MDSA_DELTA, new LTC_MDSA_MAX_MODULUS
Karel Miko
2021-04-09 16:38:09 +0200
1a97b0f78d
don't undermine hash-registry concept
Steffen Jaeckel
2020-10-24 14:47:07 +0200
8f8a4e3c68
use sha3 if available
Steffen Jaeckel
2020-08-29 12:34:52 +0200
b49a26dd4b
fix dependency to sha2
Steffen Jaeckel
2020-08-29 12:22:16 +0200
8aca6a351c
m68k platforms are big endian
David Cantrell
2021-04-11 12:21:42 -0400
db3ee5ae3e
add comment indicating supported platforms of makefile.shared
Steffen Jaeckel
2021-04-09 12:32:05 +0200
a1c1e0e96a
missing endif
Karel Miko
2021-04-09 12:22:43 +0200
5ce220fe02
fix unbalanced #ifdef for MIPS R5900
Steffen Jaeckel
2021-04-08 12:02:35 +0200
33542d0a83
cast away cast-align warnings
Steffen Jaeckel
2021-02-10 22:10:17 +0100
3e6ddfdcbd
review CCM
Steffen Jaeckel
2021-02-10 21:14:37 +0100
9ffae6720c
make sure that CTR->pad[] is aligned to 16 bytes
Steffen Jaeckel
2021-02-10 20:02:31 +0100
b2da51b518
clarify LTC_PAD_PKCS7
Steffen Jaeckel
2021-02-10 19:55:51 +0100
489ca2699c
add LTC_ALIGN() macro
Steffen Jaeckel
2020-12-20 22:18:07 +0100
a0e47aac6b
re-factor some tests
Steffen Jaeckel
2020-03-27 10:54:03 +0100
90f0e0df80
make sure basic types are marked as UNIVERSAL&PRIMITIVE
Steffen Jaeckel
2021-04-07 23:45:59 +0200
115a689650
Makefile: Fix shared library build in MinGW.
Biswapriyo Nath
2021-03-28 22:06:52 +0530
d5db9f1548
Add new utf8 test-vector, update comments explaining utf8 decoding
James Muir
2020-12-24 14:56:26 -0500
2a4c731676
don't allow LTC_CLEAN_STACK to be enabled until fixed
Steffen Jaeckel
2020-11-11 13:35:27 +0100
bbeedb0751
update TEA testvectors
Steffen Jaeckel
2020-11-09 08:53:04 +0100
49d6722fc3
fix tea_ecb_encrypt()
Steffen Jaeckel
2020-11-09 08:50:11 +0100
b48a724ba4
fix tea_test()
Steffen Jaeckel
2020-11-09 08:49:34 +0100
6e3dc3379a
make sure PKCS#5 iteration count is a "positive integer"
Steffen Jaeckel
2020-11-08 14:32:29 +0100
783b9f706d
add check
maketarget
Steffen Jaeckel
2020-11-08 14:31:15 +0100
bff9a84ddd
Exclude tests/test.key from potential crlf conversion
Steffen Jaeckel
2020-10-26 08:15:27 +0100
64018dd683
add comment about padding types
Steffen Jaeckel
2020-10-24 20:10:41 +0200
083ba719cf
read system timer on AARCH64
Steffen Jaeckel
2020-10-24 17:59:42 +0200
802907ba3f
recent aesgcm versions have shorter iv/key strings
Steffen Jaeckel
2020-10-24 17:59:17 +0200
5a31486a47
Fix returning too many or too few bits
Steffen Jaeckel
2020-10-24 17:58:18 +0200
f912a3ea3b
docs: fix simple typo, succes -> success
Tim Gates
2020-12-08 21:44:22 +1100
d059ecbbcb
[*] LTC bug fixes. PR to upstream
Reece
2021-01-06 03:29:17 +0000
20801f76d5
[+] Enable LTM [-] Remove platform RNG
Reece
2021-01-06 01:09:19 +0000
cfbd7f8d36
Merge pull request #545 from libtom/pattop/fixes
Steffen Jaeckel
2020-08-29 11:30:23 +0200
d63d6faf22
sha256: minor undef cleanup
Patrick Oppenlander
2020-08-17 09:45:15 +1000
40b9560521
HASH_PROCESS: fix overflow test
Patrick Oppenlander
2020-08-17 09:43:53 +1000
3f1b6877c0
Merge pull request #541 from pattop/fixes
Steffen Jaeckel
2020-08-16 15:13:27 +0200
93ae347132
prevent usage of ifdef in code
Steffen Jaeckel
2020-08-14 00:46:45 +0200
78f94225c8
error on missing dependencies for LTC_PBES and LTC_PKCS_5
Patrick Oppenlander
2020-07-22 15:30:41 +1000
3a775da837
support compilation of x509 without LTC_MECC
Patrick Oppenlander
2020-07-22 15:29:05 +1000
a5765d2b61
make ecc_ssh_ecdsa_encode_name conditional on LTC_SSH
Patrick Oppenlander
2020-07-22 15:25:14 +1000
40eea675cd
Merge pull request #534 from libtom/pr/macro-names-cleanup
Steffen Jaeckel
2020-08-03 14:01:42 +0200
469eeaf632
prefix static function in multi2 with s_
Steffen Jaeckel
2020-07-16 11:03:40 +0200
c5d7bfb2cc
manually fix the remaining leading _
's
Steffen Jaeckel
2020-07-14 19:02:48 +0200
373974edee
Revert "rename according to currently still valid rules"
Steffen Jaeckel
2020-07-14 18:45:26 +0200
3447eaff53
also prefix static hash functions by s_
Steffen Jaeckel
2020-05-04 22:45:07 +0200
4fd7b5002d
prefix static functions with s_
Steffen Jaeckel
2020-05-03 15:12:33 +0200
cb63d3c074
Fix macro names - related to #448
Karel Miko
2018-11-07 10:59:47 +0100
89d991e946
add macro name check to helper.pl
Karel Miko
2018-11-07 10:57:53 +0100
d8d7a83b34
Merge pull request #539 from libtom/relicense
Steffen Jaeckel
2020-07-14 18:42:24 +0200
3630bee6fc
update LICENSE file
Steffen Jaeckel
2020-06-17 10:16:33 +0200
9824af8e3b
update header
Steffen Jaeckel
2020-06-17 10:15:27 +0200
24765c30c5
remove footer
Steffen Jaeckel
2020-06-17 09:58:03 +0200
6b85be4095
Merge pull request #533 from libtom/fix-373
Steffen Jaeckel
2020-07-14 18:40:46 +0200
561d4ab8e8
rename according to currently still valid rules
Steffen Jaeckel
2020-06-20 12:43:08 +0200
cac400cf79
really implement DER decoding resursion limit
Steffen Jaeckel
2020-05-01 12:15:18 +0200
14ed10c11f
Merge pull request #535 from libtom/fix-532
Steffen Jaeckel
2020-05-08 14:01:59 +0200
19c6e7942d
Add "memory" to clobber list of STORE/LOAD32
Frédéric Recoules
2020-05-07 13:00:21 +0200
1937f41260
Merge pull request #523 from libtom/cleanup-hmac-state
Steffen Jaeckel
2019-11-22 12:03:27 +0100
c713e9536f
remove unused hashstate
from hmac_state
Steffen Jaeckel
2019-11-14 09:45:03 +0100
193086d6eb
Merge pull request #526 from libtom/latest-ltm
Steffen Jaeckel
2019-11-22 11:43:15 +0100
8842720236
allow building against latest ltm
Steffen Jaeckel
2019-11-07 16:24:09 +0100
0c30412a66
Merge pull request #503 from libtom/fix-502
Steffen Jaeckel
2019-10-21 11:44:04 +0200
354c90517e
Merge pull request #514 from libtom/pr/fix-for-513
Steffen Jaeckel
2019-10-20 12:45:51 +0200
23a7ba244c
Avoid 64-bit rotation for i386 targets
Karel Miko
2019-10-20 10:06:51 +0200
2d930616e0
Update docs
Steffen Jaeckel
2019-10-03 10:33:18 +0200
461a047afd
Update makefiles
Steffen Jaeckel
2019-10-02 15:47:02 +0200
334876db78
rename x25519_set_key to x25519_import_raw
Steffen Jaeckel
2019-10-02 15:46:26 +0200
44a18342ba
rename ed25519_set_key to ed25519_import_raw
Steffen Jaeckel
2019-10-02 15:38:20 +0200
3540fd713c
fixup x25519_import()
Steffen Jaeckel
2019-06-12 10:56:56 +0200
25410c7524
Merge pull request #505 from libtom/rsa-improvements
Steffen Jaeckel
2019-10-17 22:28:18 +0200
5c6212af75
make rsa_shrink_key() private for now
Steffen Jaeckel
2019-10-16 23:19:53 +0200
08abc93c40
Update makefiles
Steffen Jaeckel
2019-10-02 02:21:03 +0200
4e28b922a9
add rsa_shrink_key()
Steffen Jaeckel
2019-10-02 02:20:19 +0200
6fa98beb8a
fix comment
Steffen Jaeckel
2019-10-02 01:48:47 +0200
b9a75829a6
add rsa_init()
Steffen Jaeckel
2019-10-02 01:48:36 +0200
50584ac7ec
do timing on actual RSA key sizes
Steffen Jaeckel
2019-10-01 23:56:13 +0200
49bb37dff1
Merge pull request #512 from fperrad/20191017_indent
Steffen Jaeckel
2019-10-17 22:27:32 +0200
38c144870b
fix indentation
Francois Perrad
2019-10-17 17:15:23 +0200
9682df98e4
Merge pull request #511 from libtom/more-fixes
Steffen Jaeckel
2019-10-17 14:50:11 +0200
68cc580602
use macros in more tests
Steffen Jaeckel
2019-10-14 12:42:59 +0200
a3310959d0
fix changed ltm API
Steffen Jaeckel
2019-10-13 20:24:10 +0200
a68b703e22
use zeromem in stream-cipher done() functions
Steffen Jaeckel
2019-10-03 15:27:46 +0200
ef55d1335e
fix some MSVC compiler warnings
Steffen Jaeckel
2019-10-03 15:20:22 +0200
2a63adc1ab
add XSTRLEN
Steffen Jaeckel
2019-10-03 15:18:25 +0200
fcdb14ede1
Merge pull request #500 from libtom/fix-ssh-api
Steffen Jaeckel
2019-10-16 23:16:46 +0200
9b6bf32f88
use unsigned long
for the length of a string
Steffen Jaeckel
2019-10-02 15:52:16 +0200
27ec31d4f3
improve SSH decoding & doc
Steffen Jaeckel
2019-10-01 13:36:16 +0200
c13dc105f3
verify pointer to be non-NULL before dereferencing
Steffen Jaeckel
2019-09-30 16:23:47 +0200
58254f76e8
fix SSH string implementation
Steffen Jaeckel
2019-09-27 00:27:11 +0200
f89909bd6c
use macros in ssh_test()
Steffen Jaeckel
2019-09-27 15:00:03 +0200
8b5ce8ba7e
add ENSURE() macro
Steffen Jaeckel
2019-09-27 14:58:05 +0200
26dc2766bd
move LTC_SSHDATA_EOL to the beginning of the enum
Steffen Jaeckel
2019-09-27 00:16:18 +0200
5ded083bb0
Merge pull request #497 from libtom/bcrypt
Steffen Jaeckel
2019-10-13 14:05:13 +0200
36260aea85
Update makefiles
Steffen Jaeckel
2019-10-02 11:06:06 +0200
d4233e9156
rename arguments
Steffen Jaeckel
2019-09-30 17:23:34 +0200
e9ff57d5d7
fix varargs error
Steffen Jaeckel
2019-09-25 13:47:09 +0200
9423f3b26d
add bcrypt
Steffen Jaeckel
2019-09-23 10:23:26 +0200
5e30d3512f
add required private API
Steffen Jaeckel
2019-09-19 17:50:56 +0200
e69579cac2
start re-factor
Steffen Jaeckel
2019-09-19 17:38:20 +0200
238eb7339a
Merge pull request #504 from libtom/minor-fixes
Steffen Jaeckel
2019-10-12 13:11:20 +0200
c0d1cbdf1d
fix #469
Steffen Jaeckel
2019-10-08 19:37:38 +0200
4fd4e86ce0
re-order examples
Steffen Jaeckel
2019-10-08 19:37:02 +0200
d2027d60eb
add testcase for issue #507
Steffen Jaeckel
2019-10-04 10:17:48 +0200
197621d867
re-order vars of travis.yml
Steffen Jaeckel
2019-10-03 13:45:07 +0200
8d22018065
don't produce any console-output on make V=0
Steffen Jaeckel
2019-10-02 16:14:17 +0200
5e41924d85
use mp_init_copy() instead of init()+copy()
Steffen Jaeckel
2019-10-02 02:20:58 +0200
34d865488b
update LTC_DEPRECATED macro from ltm
Steffen Jaeckel
2019-10-01 23:54:02 +0200
3e11e86f3e
further updated ltm API
Steffen Jaeckel
2019-10-01 14:42:39 +0200
c113c03c13
run {A,UB}SAN again with GMP
Steffen Jaeckel
2019-09-30 17:40:08 +0200
9c67f8ac3c
Fix includes
Steffen Jaeckel
2019-09-26 03:11:47 +0200
0ca8a31cd3
clean-up define
Steffen Jaeckel
2018-07-06 07:11:08 +0200
f9ab401098
check ranges of more ciphers
Steffen Jaeckel
2019-09-04 14:25:35 +0200
659540393e
Merge pull request #506 from libtom/add-tea
Steffen Jaeckel
2019-10-11 14:30:21 +0200
79f812c9f4
update TV's
Steffen Jaeckel
2019-10-03 20:24:53 +0200
06a58ab519
update doc
Steffen Jaeckel
2019-10-03 19:14:29 +0200
74197c81c5
Update makefiles
Steffen Jaeckel
2019-10-03 19:00:34 +0200
0f2c415e7a
add TEA
Steffen Jaeckel
2019-10-03 19:00:29 +0200
8e044b8bf6
Merge pull request #509 from armcc/improve-des-tests
Steffen Jaeckel
2019-10-11 09:39:13 +0200
d85045e18a
fix and cleanup des and 3des test cases
Andre McCurdy
2019-10-07 22:41:54 -0700
64d1153e5a
Merge pull request #508 from werew/develop
Steffen Jaeckel
2019-10-08 09:07:43 +0200
25c26a3b7a
Fixes #507
werew
2019-10-03 19:57:10 +0200
734ba7ec50
Merge pull request #499 from libtom/minor-improvements
Steffen Jaeckel
2019-09-30 15:00:05 +0200
da9f55231f
don't exclude other settings when giving make options
Steffen Jaeckel
2019-09-24 14:58:55 +0200
d4b8d9b507
fix scan-build error
Steffen Jaeckel
2019-09-23 21:53:26 +0200
9416a88468
install libtool-bin
Steffen Jaeckel
2019-09-23 15:32:38 +0200
e4dd30af54
run tests on bionic
Steffen Jaeckel
2019-09-23 15:09:49 +0200
4458e91151
be more strict when searching scan-build-*
Steffen Jaeckel
2019-09-23 14:47:05 +0200
62bbdecaff
use rotate intrinsics if available
Steffen Jaeckel
2019-09-24 17:42:02 +0200
33dabf9693
only run the standard build in travis PR's
Steffen Jaeckel
2019-09-24 15:59:48 +0200
e2f5d17dcc
test default-build as first
Steffen Jaeckel
2019-09-24 15:34:43 +0200
6f3a7c9e3e
improve GNU Makefiles a bit
Steffen Jaeckel
2019-09-24 15:12:38 +0200
1e67d81f7b
Merge pull request #498 from libtom/appveyor
Steffen Jaeckel
2019-09-29 17:33:24 +0200
eaf2c7b6b9
fix build for msvc
Steffen Jaeckel
2019-09-24 14:08:54 +0200
d25c52b546
add AppVeyor to README
Steffen Jaeckel
2019-09-24 14:04:59 +0200
b4c6c4c45f
also build on appveyor
Steffen Jaeckel
2019-09-24 13:19:09 +0200
a1f6312416
Merge pull request #493 from jbech-linaro/rijndael_range
Steffen Jaeckel
2019-09-04 13:44:47 +0200
7b4a5c1dcf
check range in _rijndael_ecb_ functions
Joakim Bech
2019-08-02 09:47:19 +0200
e01e4c5c97
Merge pull request #491 from fperrad/20190610_lint
Steffen Jaeckel
2019-06-11 07:55:21 +0200
75d53696c2
remove useless initialization
Francois Perrad
2019-06-10 23:49:28 +0200
c23f4699fb
Merge pull request #490 from libtom/improve/curve25519
Steffen Jaeckel
2019-06-10 21:53:51 +0200
c971205404
fix clang-tidy warnings: do not use else after return
Steffen Jaeckel
2019-06-10 12:37:45 +0200
e673906026
fix differing parameter names
Steffen Jaeckel
2019-06-10 12:35:45 +0200
0b06979b10
prefix tweetnacl crypto_
API
Steffen Jaeckel
2019-06-10 12:28:49 +0200
10056ed540
make crypto_verify_32 static
Karel Miko
2019-06-10 12:32:28 +0200
1301cc5d2f
fix clang-tidy warnings: do not use else after return
Karel Miko
2019-06-10 12:31:56 +0200
3da27d71a0
Improve comments&doc
Steffen Jaeckel
2019-06-10 03:28:42 +0200
55d6661d48
Update makefiles
Steffen Jaeckel
2019-06-09 22:46:51 +0200
fef07fd843
add documentation of Curve25519 API
Steffen Jaeckel
2019-06-09 22:46:46 +0200
e0a9114129
move setting of sig-verification result to crypto_sign_open()
Steffen Jaeckel
2019-06-09 22:46:29 +0200
0392867678
use shared {ed,x}25519_export() implementation
Steffen Jaeckel
2019-06-09 22:38:09 +0200
3957c22e28
remove unused code from tweetnacl
Steffen Jaeckel
2019-06-09 21:24:20 +0200
819656a12f
add ed25519_make_key() testcase
Steffen Jaeckel
2019-06-09 21:18:00 +0200
41731855c9
fix comment
Steffen Jaeckel
2019-06-09 21:08:27 +0200
e3766e16ca
add real pkcs#8 import of Curve25519 private keys
Steffen Jaeckel
2019-06-09 20:51:59 +0200
8ea0fb1195
rename x25519_set_ku() to x25519_set_key()
Steffen Jaeckel
2019-06-09 20:49:14 +0200
5d87aa21a5
Merge pull request #364 from libtom/feature/curve25519
Steffen Jaeckel
2019-06-09 22:22:39 +0200
47c34b37ef
Update makefiles
Steffen Jaeckel
2019-06-09 19:03:05 +0200
94b894fda9
update tests
Steffen Jaeckel
2019-05-27 11:29:51 +0200
34196b90b9
add {ed,x}25519_import_x509()
Steffen Jaeckel
2019-05-27 11:29:35 +0200
54d7c6782b
clean-up macros
Steffen Jaeckel
2019-05-23 13:15:33 +0200
233f8af490
draft-ietf-curdle-pkix is meanwhile rfc8410
Steffen Jaeckel
2019-04-10 15:41:15 +0200
fe00be4abc
Fix removed oid_st
Steffen Jaeckel
2018-07-12 17:44:16 +0200
52a24ca3a3
add Curve25519 API
Steffen Jaeckel
2018-02-20 16:50:55 +0100
59190c4f3c
fix warnings & apply required changes
Steffen Jaeckel
2019-04-10 15:27:55 +0200
a5072b17d5
add new signed datatype
Steffen Jaeckel
2018-02-15 14:26:57 +0100
5698e0592c
remove not required stuff & re-implement crypto_hash()
Steffen Jaeckel
2019-04-10 15:16:53 +0200
ee11f2d500
add headers & footers
Steffen Jaeckel
2019-04-10 12:48:42 +0200
85e902bcc0
add tweetnacl.c Version 20140427
Steffen Jaeckel
2018-09-07 16:58:30 +0200
c600d81e31
Merge pull request #489 from libtom/pr/fix-stringop-truncation
Steffen Jaeckel
2019-06-09 11:40:51 +0200
5f09c2c584
Fix gcc 8.3 warning (stringop-truncation)
Karel Miko
2019-06-06 20:48:10 +0200
65282c17b5
Merge pull request #488 from libtom/update/ltm
Steffen Jaeckel
2019-06-09 11:39:19 +0200
7c56243a0f
use replacement functions if they're available
Steffen Jaeckel
2019-05-24 13:05:03 +0200
c11287a0ad
latest version of ltm deprecated DIGIT_BIT
Steffen Jaeckel
2019-05-23 15:49:55 +0200
4ed50d8da1
Merge pull request #485 from libtom/minor-fixes
Steffen Jaeckel
2019-06-05 09:24:19 +0200
b0bb7c830a
fix missing dependencies
Steffen Jaeckel
2019-06-03 09:35:07 +0200
4b3ef78901
TGTLIBTOOL wasn't always defined
Steffen Jaeckel
2019-06-03 09:32:06 +0200
061237e6b1
Merge pull request #484 from fperrad/20190603_indent
Steffen Jaeckel
2019-06-03 09:31:01 +0200
b40cc35c2d
fix indentation
Francois Perrad
2019-06-03 04:08:49 +0200
e9b2277a49
Merge pull request #483 from libtom/improve/x509
Steffen Jaeckel
2019-06-02 22:19:43 +0200
f6299995f8
update ecc_import_x509()
Steffen Jaeckel
2019-05-26 02:09:12 +0200
21fa9cd92e
Update makefiles
Steffen Jaeckel
2019-05-24 12:01:32 +0200
dfa5258db5
update rsa_import_x509()
Steffen Jaeckel
2019-05-23 16:31:05 +0200
5119e71023
add x509_decode_public_key_from_certificate()
Steffen Jaeckel
2019-05-24 11:42:48 +0200
c28a8495d2
Merge pull request #481 from RektInator/develop
Steffen Jaeckel
2019-05-08 17:19:56 +0200
596e9a65e6
fixed compile issue on msvc++
Micky Langeveld
2019-04-18 09:22:38 +0200
e8afa13d5c
Merge pull request #476 from libtom/fix/474
Steffen Jaeckel
2019-04-10 17:05:59 +0200
19e7f73948
fix scan-build warnings
Steffen Jaeckel
2019-04-10 11:26:18 +0200
99fcbea2a2
don't error-out if no MPI is available
Steffen Jaeckel
2019-04-10 11:18:10 +0200
a72aa2fc14
try to make travis job error-out if first build fails
Steffen Jaeckel
2019-04-10 10:49:11 +0200
a76c823992
fix unused-function _sha256()
in xsalsa20_test.c
Steffen Jaeckel
2019-04-10 10:38:43 +0200
5f7feeab59
fix build
Steffen Jaeckel
2019-04-10 10:37:12 +0200
1bfde18513
FIPS 186.4 compliant usage of ltm mp_prime_is_prime()
Steffen Jaeckel
2019-04-10 09:51:35 +0200
5ed32b73e6
improve ecc_test() output
Steffen Jaeckel
2019-04-10 09:47:20 +0200
27d09b6104
also provide LTC_NORETURN for msvc
Steffen Jaeckel
2019-04-10 09:17:50 +0200
a9ff2d0dac
fixup meta_builds.sh after 798d7dc61f
Steffen Jaeckel
2019-01-02 23:30:00 +0100
d58103d54f
oops, NORETURN isn't only used in crypt_argchk()
Steffen Jaeckel
2019-01-02 22:22:34 +0100
ee13f6ffec
let ssh_test() NOP silently
Steffen Jaeckel
2018-12-31 17:22:28 +0100
912f6da757
add some more builds to travis
Steffen Jaeckel
2018-12-29 22:37:50 +0100
b7874c5864
fix warnings when using other ARGTYPE's
Steffen Jaeckel
2018-12-29 22:37:09 +0100
798d7dc61f
turn around static and dynamic build-options in travis recipe
Steffen Jaeckel
2018-12-29 18:09:33 +0100
252a172c08
SSH requires MPI funtionality
Steffen Jaeckel
2018-12-29 18:08:46 +0100
f95be00582
unconditonally create ssh_test()
Steffen Jaeckel
2018-12-29 18:08:31 +0100
f6f70aa2ec
fix ssh tests when compiled w/o MPI provider
Steffen Jaeckel
2018-12-29 18:08:07 +0100
4b448d29a2
fix warnings on ARGTYPE=3
Steffen Jaeckel
2018-12-29 18:02:42 +0100
01c455c3d5
Merge pull request #473 from libtom/fixup/padding_pad
Steffen Jaeckel
2018-12-17 15:44:02 +0100
11ee9683e7
fix compilation of padding_pad ... in cases where rng_get_bytes() isn't available
Jordan Hrycaj
2018-12-17 11:53:25 +0100
d432b13139
Merge pull request #465 from libtom/pr/ecc-test-cleanup
karel-m
2018-11-07 13:35:57 +0100
ae2ab2083b
ecc_test cleanup
Karel Miko
2018-11-07 09:25:08 +0100
0de6fa3084
Update makefiles
Karel Miko
2018-11-07 09:15:34 +0100
3fa462a7f0
Merge pull request #464 from fperrad/20181029_indent
karel-m
2018-10-29 20:33:05 +0100
acf3fcda84
fix indentation
Francois Perrad
2018-10-29 18:55:32 +0100
f413335b2a
Merge pull request #463 from libtom/pr/ssh-decode-encode-fix
karel-m
2018-10-29 13:04:52 +0100
09d116da87
avoid using LOAD32H/STORE32H with unsigned long
Karel Miko
2018-10-29 11:28:07 +0100
62cd87342e
Merge pull request #451 from libtom/pr/wycheproof-gcm
karel-m
2018-10-29 07:28:56 +0100
7d8567695b
update doc - chacha20poly1305_memory + gcm_memory
Karel Miko
2018-10-26 18:39:47 +0200
9a1131da14
add tag validation to chacha20poly1305_memory in decrypt mode
Karel Miko
2018-10-26 18:24:20 +0200
fd4d8fbc05
add tag validation to gcm_memory in decrypt mode
Karel Miko
2018-10-26 18:23:27 +0200
27c472654c
fix chacha20poly1305 encrypt/decrypt empty pt/ct
Karel Miko
2018-10-26 18:21:18 +0200
2599618ca6
wycheproof failing test - invalid/modified tag
Karel Miko
2018-10-14 19:10:32 +0200
60eb5d0591
Merge pull request #454 from libtom/pr/wycheproof-padding
karel-m
2018-10-29 07:27:26 +0100
dee704d063
padding_depad + PKCS7 - reject invalid pad 0
Karel Miko
2018-10-26 19:46:18 +0200
2adc261612
wycheproof failing PKCS7 depadding test
Karel Miko
2018-10-15 11:22:20 +0200
332f66dfbe
Merge pull request #452 from libtom/pr/wycheproof-ccm
karel-m
2018-10-29 07:25:55 +0100
9a0df8d936
fix scan-build
Steffen Jaeckel
2018-10-26 15:40:04 +0200
ac5192cf56
update CCM tv's and tv generation
Steffen Jaeckel
2018-10-26 15:01:23 +0200
890c1a8dad
fix - CCM invalid tag len
Karel Miko
2018-10-26 10:58:12 +0200
93c676ccd8
wycheproof failing CCM test - invalid tag len
Karel Miko
2018-10-14 22:36:50 +0200
983fd25e40
Merge pull request #459 from libtom/pr/copy_or_zeromem
karel-m
2018-10-27 10:46:53 +0200
058a7e2c4e
properly use LTC_ARGCHKVD in void function
Karel Miko
2018-10-26 19:35:06 +0200
99f9181f67
Merge pull request #456 from dinamicoplus/patch-1
Steffen Jaeckel
2018-10-25 16:42:54 +0200
be29591812
Fix RSA Encryption Example
Marcos Brito
2018-10-25 16:34:45 +0200
9c0d708523
fix typo pkcs7_depad > padding_depad [skip-ci]
Karel Miko
2018-10-15 10:51:17 +0200
fba6ae3ed7
Merge pull request #447 from libtom/pr/ecc-LTC_ECCSIG_RFC7518_RELAXED
karel-m
2018-10-13 18:50:48 +0200
c2cdaaab4d
make LTC_ECCSIG_RFC7518 strict (again)
Karel Miko
2018-10-07 22:11:46 +0200
dec99ed99c
Merge pull request #438 from rmw42/feature/ssh-ecdsa
karel-m
2018-10-13 17:51:29 +0200
4ee5bfc013
GCC 4.8 -Wmaybe-uninitialized is *really* dumb
Russ Williams
2018-10-09 08:15:10 +0100
7c4d7cb610
Fixes suggested by Matt Johnston
Russ Williams
2018-10-08 20:08:09 +0100
9706aa62a7
Update makefiles
Russ Williams
2018-10-08 08:44:52 +0100
b4b50cc0c6
Initial commit of SSH+ECDSA signature format
Russ Williams
2018-09-21 19:08:12 +0100
2e7c194322
Merge pull request #445 from fperrad/20181007_lint
Steffen Jaeckel
2018-10-08 15:34:49 +0200
a381957846
more const
Francois Perrad
2018-10-07 12:57:16 +0200
bd767a3116
fix condition
Francois Perrad
2018-10-07 14:52:36 +0200
46bb470aaa
remove useless initialization
Francois Perrad
2018-10-07 12:52:27 +0200
838feac7c6
Merge pull request #404 from libtom/pr/pkcs8-improved
Steffen Jaeckel
2018-10-07 11:40:30 +0200
a55e7caa48
fix missing handling of optional keyLength in PBKDF2-params
Steffen Jaeckel
2018-10-06 23:04:27 +0200
f81bdc46e7
add more rsa-pkcs8 PBES2-RC2 test-files
Steffen Jaeckel
2018-10-06 23:02:23 +0200
c96639bef6
add rsa-pkcs8 PBES2 AES and SHA512-224/256 test-files
Steffen Jaeckel
2018-10-06 14:07:46 +0200
cbe65fe59a
add rsa-pkcs8 PBE-SHA1-3DES test-file
Steffen Jaeckel
2018-10-06 13:48:55 +0200
8fabca6171
merge duplicated tables into separate chapter
Steffen Jaeckel
2018-10-06 13:17:44 +0200
14b09138a9
doc update
Karel Miko
2018-10-06 11:40:16 +0200
8349eda5a5
fix LTC_EASY test failure
Karel Miko
2018-10-06 11:24:47 +0200
e5a2683f5b
RSA - pkcs8 test keys
Karel Miko
2018-10-05 22:58:11 +0200
2dd8bcdfe9
rsa_import_pkcs8 tests
Karel Miko
2018-10-05 22:57:05 +0200
7af942a66b
use pkcs8_decode_flexi() in rsa_import_pkcs8()
Steffen Jaeckel
2018-10-04 15:40:13 +0200
52c5473a13
use pkcs8_decode_flexi() in ecc_import_pkcs8()
Steffen Jaeckel
2018-10-04 15:39:44 +0200
bc673c2853
implement pkcs8_decode_flexi()
Steffen Jaeckel
2018-10-04 15:39:21 +0200
a2ec37b93c
refactor PBES into separate modules
Steffen Jaeckel
2018-10-04 15:38:25 +0200
aac1e592b4
Update makefiles
Steffen Jaeckel
2018-10-04 11:35:14 +0200
0af0033390
add empty der_decode_pkcs8_flexi.c
Steffen Jaeckel
2018-10-04 11:34:39 +0200
362e0c9284
add pk_oid_cmp_with_ulong()
Steffen Jaeckel
2018-10-04 11:24:23 +0200
4abd84b7c3
Update makefiles
Steffen Jaeckel
2018-10-04 11:23:57 +0200
3d6a49a64b
rename pk_oid_asn1.c to pk_oid_cmp.c
Steffen Jaeckel
2018-10-04 11:16:56 +0200
498a534b9c
Update makefiles
Steffen Jaeckel
2018-10-04 11:35:30 +0200
97d1c17c8d
add empty pbes files
Steffen Jaeckel
2018-10-04 11:07:39 +0200
6bdfa7c428
add _der_flexi_sequence_cmp()
Steffen Jaeckel
2018-10-03 18:40:39 +0200
c56053870a
pkcs#8 support for aes and reduced sha512
Steffen Jaeckel
2018-04-20 11:03:35 +0200
36d603e3d2
re-factor ecc_import_pkcs8()
Steffen Jaeckel
2018-04-18 00:48:15 +0200
3c9d2ebc5e
clang-tidy fix misc-suspicious-string-compare
Karel Miko
2018-07-06 23:28:04 +0200
e29fecde12
use ecc_find_curve + ecc_set_curve
Karel Miko
2018-07-06 18:56:01 +0200
8207a6a1c4
use pkcs12_kdf + pkcs12_utf8_to_utf16
Karel Miko
2018-07-06 18:52:20 +0200
c4642bacf0
mark fall-through in switch-case to calm linter
Steffen Jaeckel
2018-04-14 11:43:37 +0200
93e758a82e
introduce LTC_ASN1_IS_TYPE()
Steffen Jaeckel
2018-04-14 11:20:33 +0200
bf04bf18a4
add ecc_import_pkcs8
Karel Miko
2018-06-07 21:49:41 +0200
7529e02b96
Update makefiles
Karel Miko
2018-09-30 16:38:55 +0200
223ece7f6d
Merge pull request #443 from libtom/pr/ecc-verify-was-too-strict
karel-m
2018-10-05 12:32:49 +0200
59bc3b5885
make ecc_verify_hash_ex less strict (as it was before ecc_recover_key addition)
Karel Miko
2018-10-04 23:17:33 +0200
4d6f973b2d
Merge pull request #444 from libtom/pr/fix-unused-macros
karel-m
2018-10-05 07:05:29 +0200
ef20f2e656
remove unused macros
Karel Miko
2018-10-04 16:57:25 +0200
0157bef943
Merge pull request #442 from libtom/pr/ltc-byte
karel-m
2018-10-04 19:52:34 +0200
bb5ea12d0b
move LTC_BYTE macro from tomcrypt_macros.h to tomcrypt_private.h
Karel Miko
2018-10-04 17:21:58 +0200
1bbbc60d06
rename macro byte >> LTC_BYTE - related to #439
Karel Miko
2018-10-04 17:20:47 +0200
c5e4679b7a
Merge pull request #436 from rmw42/feature/ecrecover
Steffen Jaeckel
2018-09-30 16:28:22 +0200
88d9b6db26
Make ECC signature format explicit
Russ Williams
2018-09-15 10:04:53 +0100
57781c7acd
Update makefiles
Russ Williams
2018-09-11 09:52:24 +0100
76190521e3
Implementation of ecc_recover_key to obtain public key from hash+signature
Russ Williams
2018-09-10 08:34:05 +0100
b44155fdb0
Merge pull request #431 from libtom/streams-add-single-call-crypt-functions
Larry Bugbee
2018-09-21 12:03:36 -0700
a2b343b2d0
streams-add-single-call-crypt-functions
buggywhip
2018-07-29 22:12:42 -0700
305a589d64
update makefiles
buggywhip
2018-07-29 22:12:09 -0700
e77ad636e7
Merge pull request #435 from fperrad/20180907_lint
Steffen Jaeckel
2018-09-08 17:00:54 +0200
9d9718e56b
remove useless initialization
Francois Perrad
2018-09-08 11:32:22 +0200
698790fdeb
explicit condition
Francois Perrad
2018-09-07 17:04:56 +0200
e5f56d4617
Merge pull request #429 from libtom/rework/oid
Steffen Jaeckel
2018-09-07 16:49:25 +0200
fb7b8799cd
rename enum public_key_algorithms
to something more generic
Steffen Jaeckel
2018-09-07 09:50:39 +0200
4cf2e80346
remove oid_st
Steffen Jaeckel
2018-07-09 07:25:57 +0200
af23fdd1c2
Update makefiles
Steffen Jaeckel
2018-07-09 07:25:15 +0200
645460a5d5
add pk_oid_cmp_with_asn1()
Steffen Jaeckel
2018-07-09 07:25:09 +0200
e318f6f1e3
re-work pk_oid_str functions a bit
Steffen Jaeckel
2018-07-09 07:23:04 +0200
1a90da844c
only print der flexi-test on higher debug level
Steffen Jaeckel
2018-07-09 07:17:51 +0200
caff4cea40
change pk_get_oid() to return a string
Steffen Jaeckel
2018-07-08 13:55:29 +0200
41599db904
Update makefiles
Steffen Jaeckel
2018-07-08 13:56:09 +0200
fdc97f8648
move oid functions to own folder
Steffen Jaeckel
2018-07-08 13:55:59 +0200
86ff14100f
Merge pull request #430 from libtom/fix/oid-decode
Steffen Jaeckel
2018-09-07 11:57:38 +0200
2e9c80cbc1
fix der_length_object_identifier()
Steffen Jaeckel
2018-07-16 23:01:46 +0200
6584569872
add another OID testcase for root-node 3
Steffen Jaeckel
2018-07-16 22:55:31 +0200
4ffdb915f0
fix der_decode_object_identifier()
Steffen Jaeckel
2018-07-16 09:36:44 +0200
079ed04b17
add OID testcase from x.690
Steffen Jaeckel
2018-07-16 09:35:14 +0200
bd542c6c30
Merge pull request #433 from orbea/rlibtool
Steffen Jaeckel
2018-09-07 08:24:03 +0200
ccc18b9eda
makefile.shared: Support rlibtool.
orbea
2018-08-13 19:20:37 -0700
c9c3c42739
Merge branch 'streams-make_state_names_consistent' into develop
Steffen Jaeckel
2018-07-10 07:11:39 +0200
380d1d2452
streams-make_state_names_consistent
buggywhip
2018-07-09 17:31:24 -0700
c9376c29ba
Merge pull request #428 from libtom/pr/fix-gcc-warnings1
karel-m
2018-07-09 11:32:35 +0200
ba8fa04f9a
reorganize ifdefs in tv_gen
Karel Miko
2018-07-08 21:59:06 +0200
4fb0562a3b
fix -Wmissing-declarations -Wmissing-prototypes -Wmissing-noreturn
Karel Miko
2018-07-07 19:54:08 +0200
b5009d704c
Merge pull request #426 from libtom/feature/pkcs12
Steffen Jaeckel
2018-07-06 18:37:54 +0200
53fc5694c9
re-work pkcs12 a bit
Steffen Jaeckel
2018-07-05 08:36:09 +0200
6fe1b5b765
Update makefiles
Steffen Jaeckel
2018-07-04 08:17:12 +0200
a96997dd29
add pkcs12_utf8_to_utf16()
Karel Miko
2018-06-07 21:49:41 +0200
b3f483a204
add pkcs12_kdf()
Karel Miko
2018-06-07 21:49:41 +0200
98ad88b3ee
Merge pull request #422 from libtom/pr/clang-tidy-google-readability-braces-around-statements
karel-m
2018-07-06 17:53:12 +0200
a3dab04074
fix clang-tidy warning: google-readability-braces-around-statements
Karel Miko
2018-06-23 00:49:42 +0200
e02694cfc2
Merge pull request #393 from libtom/pr/ecc-doc-update
karel-m
2018-07-06 13:44:17 +0200
4f3bce103f
move ecc_make_key_ex to Legacy Key Generation
Karel Miko
2018-07-04 11:54:27 +0200
b30c27066d
new names: ecc_find_curve, ecc_set_curve
Karel Miko
2018-07-04 11:47:29 +0200
415c19b8df
re-work ECC docs a bit
Steffen Jaeckel
2018-07-03 18:58:11 +0200
57c884d50d
ECC doc update
Karel Miko
2018-05-23 09:50:48 +0200
d3c5890a1b
Merge pull request #423 from libtom/pr/ecc_set_dp--ecc_set_curve
karel-m
2018-07-06 13:39:51 +0200
4bec98f88c
rename ecc_get_curve to ecc_find_curve
Karel Miko
2018-07-04 10:38:38 +0200
611ca6bf14
rename ecc_set_dp (+related) to ecc_set_curve
Karel Miko
2018-07-03 23:59:54 +0200
091d52828c
Update makefiles
Karel Miko
2018-07-03 23:47:50 +0200
4473953742
Merge pull request #415 from libtom/pr/clang-tidy-else-after-return
karel-m
2018-07-03 22:45:28 +0200
ed2ec2e3ed
add script .ci/clang-tidy.sh
Karel Miko
2018-07-03 22:43:26 +0200
22b764ec85
fix clang-tidy warning: readability-else-after-return
Karel Miko
2018-06-22 23:53:01 +0200
6ac6d36bf4
Merge pull request #416 from libtom/pr/clang-tidy-readability-non-const-parameter
karel-m
2018-07-03 22:37:34 +0200
ae6aa3dd86
fix clang-tidy warning: readability-non-const-parameter
Karel Miko
2018-06-23 00:10:59 +0200
48ad48f900
Merge pull request #417 from libtom/pr/clang-tidy-readability-inconsistent-declaration-parameter-name
karel-m
2018-07-03 22:35:56 +0200
12c3091077
fix clang-tidy warning: readability-inconsistent-declaration-parameter-name - issue #376
Karel Miko
2018-06-23 01:39:59 +0200
168f3bd1db
Merge pull request #421 from libtom/pr/tests-cosmetics
karel-m
2018-07-03 22:30:41 +0200
fc056a645d
fix "make test" built with no math provider or multiple providers
Karel Miko
2018-07-03 00:12:08 +0200
3fb0eea01b
show in SCRYPT etc. that we're on develop
Steffen Jaeckel
2018-07-02 23:25:20 +0200
215ec5f69d
Merge tag 'v1.18.2' into develop
Steffen Jaeckel
2018-07-02 23:23:47 +0200
7e7eb695d5
Merge branch 'release/1.18.2'
Steffen Jaeckel
2018-07-01 22:49:01 +0200
a015a8f05f
don't install test
in target install_all
Steffen Jaeckel
2018-07-01 22:47:05 +0200
54e6db588a
Bump version
Steffen Jaeckel
2018-07-01 12:51:54 +0200
788a0463b9
Update changes
Steffen Jaeckel
2018-06-22 14:25:34 +0200
bf5ad76c28
Merge pull request #414 from libtom/fix/411
Steffen Jaeckel
2018-06-22 11:33:14 +0200
8972027b46
Merge pull request #414 from libtom/fix/411
Steffen Jaeckel
2018-06-22 11:33:14 +0200
73426f4b26
fix constants and sizes demos
Steffen Jaeckel
2018-06-22 10:09:38 +0200
ecfe5882ac
re-factor crypt_list_all_sizes()
Steffen Jaeckel
2018-06-22 10:01:51 +0200
8bc889cd64
re-factor crypt_list_all_constants()
Steffen Jaeckel
2018-06-22 10:01:43 +0200
07b626d7a1
fix-up 250eced904
Steffen Jaeckel
2018-06-22 02:05:03 +0200
11bdffcf05
fix-up 719d297e9f
Steffen Jaeckel
2018-06-22 00:31:44 +0200
250eced904
Merge pull request #408 from libtom/pr/fix-cve-2018-12437
karel-m
2018-06-19 09:30:51 +0200
927b196210
Merge pull request #406 from libtom/remove-sosemanuk_setup()-"NOP"
Steffen Jaeckel
2018-06-19 11:45:38 +0200
fd6535c74b
remove lying comment
Steffen Jaeckel
2018-06-19 11:45:13 +0200
6cfa1fcad7
remove what is effectively a NOP
Larry Bugbee
2018-06-14 21:09:46 -0700
6aef5e3765
Merge pull request #408 from libtom/pr/fix-cve-2018-12437
karel-m
2018-06-19 09:30:51 +0200
f0a51bbdbd
ecc_sign_hash blinding CVE-2018-12437
Karel Miko
2018-06-17 12:54:01 +0200
b7873025b7
Merge pull request #405 from libtom/pr/fix-ecc_import_openssl
Steffen Jaeckel
2018-06-12 08:17:48 +0200
5efbddc3f4
fix ecc_import_openssl - bin_seed size
Karel Miko
2018-06-12 00:00:11 +0200
6238b6381f
Merge pull request #187 from libtom/pr/ecc-asn1-part
Steffen Jaeckel
2018-06-11 19:13:21 +0200
4f36e03970
re-factor ecc_import_openssl() ... into several smaller functions
Steffen Jaeckel
2018-06-10 23:32:36 +0200
05d397d634
ECC improved import/export
Karel Miko
2017-12-30 22:30:36 +0100
abedfa17eb
Update makefiles
Karel Miko
2018-06-03 22:03:33 +0200
d11a1a7f06
Merge pull request #402 from libtom/pr/fix-ecc_set_key
karel-m
2018-06-10 19:06:24 +0200
70d800f6b3
fix ecc_set_key - no check of private key input buffer size
Karel Miko
2018-06-05 16:37:39 +0200
504396764e
Merge pull request #401 from libtom/pr/fix-der_length_custom_type
karel-m
2018-06-10 17:27:54 +0200
ac1622e042
fix der_length_custom_type - incorrect length of length
Karel Miko
2018-06-05 16:39:38 +0200
a8d0442bd3
Merge pull request #400 from libtom/pr/avoid-anonymous-union
karel-m
2018-06-04 11:49:23 +0200
5834223db5
avoid anonymous union (which is not supported by some compilers)
Karel Miko
2018-06-03 19:47:27 +0200
10355675a9
Merge pull request #398 from libtom/improve/base16_api
karel-m
2018-06-04 08:55:07 +0200
06c0606da2
generalize caps
argument of base16_encode()
Steffen Jaeckel
2018-06-03 19:22:30 +0200
a1341e028e
fix doxygen warning
Steffen Jaeckel
2018-06-02 13:07:54 +0200
c315b1c3b7
Merge pull request #399 from libtom/remove/katja
Steffen Jaeckel
2018-06-03 20:49:48 +0200
f8ed30bc22
Update makefiles
Steffen Jaeckel
2018-06-03 17:43:09 +0200
d9215be060
Remove katja
Steffen Jaeckel
2018-06-03 17:43:05 +0200
e31e757a86
fix build of crypt.pdf
Steffen Jaeckel
2018-06-03 17:45:15 +0200
55fbe256ad
Merge pull request #395 from libtom/feature/private_header
Steffen Jaeckel
2018-06-03 17:48:30 +0200
c725be276a
add blake2-hash API documentation
Steffen Jaeckel
2018-06-03 13:28:29 +0200
d752f90d18
fix Doxygen docs
Steffen Jaeckel
2018-06-02 13:11:36 +0200
7cfc0c93e6
use tomcrypt_private.h
Steffen Jaeckel
2018-05-31 14:44:47 +0200
2cb77edf4c
update makefiles etc. for tomcrypt_private.h
Steffen Jaeckel
2018-05-31 14:44:15 +0200
f55039bfeb
add tomcrypt_private.h
Steffen Jaeckel
2018-05-31 14:43:40 +0200
5d8f35e5ed
Merge pull request #397 from fperrad/20180601_lint
Steffen Jaeckel
2018-06-02 12:16:01 +0200
57bffbaa82
remove useless initialization
Francois Perrad
2018-06-01 21:02:58 +0200
772a9e68cf
make _sha256 a static function
Francois Perrad
2018-06-01 20:59:04 +0200
b7493253ea
fix misplaced #endif
Steffen Jaeckel
2018-06-01 14:47:19 +0200
7f6a4e1ff1
fix chmod
Karel Miko
2018-06-01 10:07:17 +0200
82ac9a2275
Merge pull request #387 from libtom/add_xsalsa20
Larry Bugbee
2018-05-31 16:42:08 -0700
8144209695
add XSalsa20
buggywhip
2018-05-31 11:58:21 -0700
2ffcd1706e
update makefiles
buggywhip
2018-05-31 11:58:08 -0700
94132324a9
fix testvectors for two-key 3des
Steffen Jaeckel
2018-05-10 00:13:13 +0200
4c2ae4758e
fix "two-key 3des"-related things
Steffen Jaeckel
2018-05-05 17:59:11 +0200
615b361673
no need to include wchar.h in all cases
Steffen Jaeckel
2018-05-05 17:56:41 +0200
4c2bb90dec
Merge pull request #382 from ararslan/aa/freebsd
Steffen Jaeckel
2018-05-31 13:51:54 +0200
e7f4c6e47f
Merge pull request #392 from orbea/libtool
Steffen Jaeckel
2018-05-20 10:29:56 +0200
3d6181d0a7
there should be no need to pass CFLAGS when linking
Steffen Jaeckel
2017-11-24 07:39:36 +0100
5ab8dcf04d
Merge pull request #382 from ararslan/aa/freebsd
Steffen Jaeckel
2018-05-31 13:51:54 +0200
f5c665b9f6
Make the build logic more robust for BSD systems
Alex Arslan
2018-04-13 16:06:44 -0700
a94b02be94
Merge pull request #390 from libtom/fixes/and/improvements
karel-m
2018-05-24 17:08:28 +0200
e4a03ca72a
fix testvectors for two-key 3des
Steffen Jaeckel
2018-05-10 00:13:13 +0200
0011f7f927
add generic test_process_dir()
Steffen Jaeckel
2018-05-09 23:50:44 +0200
715103a203
fix "two-key 3des"-related things
Steffen Jaeckel
2018-05-05 17:59:11 +0200
a32d1afd10
no need to include wchar.h in all cases
Steffen Jaeckel
2018-05-05 17:56:41 +0200
fe665c5246
Merge pull request #236 from libtom/pr/ecc-non-asn1-part
karel-m
2018-05-23 09:30:39 +0200
24c0eb84f9
ECC curves y^2 = x^3 + ax + b
Karel Miko
2017-12-19 13:31:50 +0100
ea32b2b194
Update makefiles
Karel Miko
2017-12-19 13:31:20 +0100
a528528a2b
Merge pull request #392 from orbea/libtool
Steffen Jaeckel
2018-05-20 10:29:56 +0200
f2918866bc
makefile.shared: Respect LIBTOOL.
orbea
2018-05-19 08:36:41 -0700
b0c098e9c0
Merge pull request #389 from libtom/pr/avoid-exit
karel-m
2018-05-07 08:18:32 +0200
cdc256258a
avoid calling exit() in sosemanuk_setup
Karel Miko
2018-05-06 22:47:06 +0200
49001f01b3
Merge pull request #383 from libtom/pr/fortuna-fix
karel-m
2018-05-05 17:59:26 +0200
29af2d95cc
fix getting current time on MS Windows + improve gettimeofday/clock_gettime usage on UNIX
Karel Miko
2018-05-04 07:41:02 +0200
a8aa207381
change fortuna_prng.wd to ulong64
Karel Miko
2018-05-04 07:41:02 +0200
d2ba3c93f6
introducing LTC_CLOCK_GETTIME macro
Karel Miko
2018-05-04 07:41:02 +0200
73465cfb95
Merge pull request #388 from libtom/pr/check-all
karel-m
2018-05-04 16:42:02 +0200
41341195c5
do --check-all in check_source.sh
Karel Miko
2018-05-04 12:48:42 +0200
c2548bf190
Merge pull request #386 from libtom/pr/fix-issue-384
karel-m
2018-05-04 07:17:52 +0200
11e15eaaa7
fix #384 "const" related warnings
Karel Miko
2018-05-03 12:32:32 +0200
d16e5b0b05
Merge pull request #379 from libtom/pr/clang-tidy-misc-misplaced-widening-cast
karel-m
2018-04-09 08:56:53 +0200
00dfe66081
Merge pull request #378 from libtom/pr/clang-tidy-misc-suspicious-string-compare
karel-m
2018-04-09 08:55:32 +0200
1783100e7b
Merge pull request #377 from libtom/pr/clang-tidy-void-return
karel-m
2018-04-09 08:53:20 +0200
92c5082a25
Merge pull request #375 from libtom/pr/fix-unused-const-variable
karel-m
2018-04-08 16:22:05 +0200
719d297e9f
Merge pull request #373 from libtom/fix/der-recursion-limit
Steffen Jaeckel
2018-04-13 09:42:47 +0200
af67321bf3
Merge pull request #373 from libtom/fix/der-recursion-limit
Steffen Jaeckel
2018-04-13 09:42:47 +0200
62c2124b82
implement DER resursion limit
Steffen Jaeckel
2018-04-10 04:38:58 +0200
2e8371ce0b
Merge pull request #381 from felixdoerre/const_hash
Steffen Jaeckel
2018-04-11 11:14:49 +0200
332ae41a2b
add const to the hashes' compress functions
Felix Dörre
2018-04-10 13:16:38 +0200
8236ade38e
Merge pull request #363 from libtom/improve/fortuna
Steffen Jaeckel
2018-04-10 04:23:19 +0200
c7a880f222
update docs
Steffen Jaeckel
2018-03-23 23:15:00 +0100
2dfc2d87da
make fortuna_update_seed() public
Steffen Jaeckel
2018-03-23 11:34:11 +0100
7b97911cc6
add build with LTC_FORTUNA_RESEED_RATELIMIT_STATIC to travis
Steffen Jaeckel
2017-12-07 13:20:35 +0100
ca91ae5a1f
add fortuna_add_random_event()
Steffen Jaeckel
2017-12-07 11:57:22 +0100
75dad9473d
implement FORTUNA's reseed rate limit based on time
Steffen Jaeckel
2017-12-07 11:44:24 +0100
1fb478ea31
Merge pull request #324 from TrinityCoder/fix-missing-const-params
Steffen Jaeckel
2018-04-09 11:58:37 +0200
1c3629fc06
add more missing const
Steffen Jaeckel
2018-03-28 09:29:06 +0200
228d29d1e7
Added missing 'const' qualifier to many functions' parameters
Miroslav Mareš
2018-02-28 01:30:24 +0100
248352c36f
Merge pull request #379 from libtom/pr/clang-tidy-misc-misplaced-widening-cast
karel-m
2018-04-09 08:56:53 +0200
7465d0bac3
fix clang-tidy misc-misplaced-widening-cast
Karel Miko
2018-04-08 19:31:34 +0200
24f933d22a
Merge pull request #378 from libtom/pr/clang-tidy-misc-suspicious-string-compare
karel-m
2018-04-09 08:55:32 +0200
fa01052b32
fix memcmp is called without explicitly comparing result
Karel Miko
2018-04-08 18:29:03 +0200
4cc8d08e50
Merge pull request #377 from libtom/pr/clang-tidy-void-return
karel-m
2018-04-09 08:53:20 +0200
061fe36114
fix redundant return statement at the end of a function with a void return type
Karel Miko
2018-04-08 18:04:34 +0200
5c31c3d016
Merge pull request #375 from libtom/pr/fix-unused-const-variable
karel-m
2018-04-08 16:22:05 +0200
318451ce66
Fix -Wunused-const-variable in aes_tab.c
Karel Miko
2018-04-08 14:28:57 +0200
49b3425de7
Merge pull request #374 from libtom/fix/cygwin
Steffen Jaeckel
2018-04-08 02:56:20 +0200
3249dcb963
allow TAB_SIZE to be defined at compile-time
Steffen Jaeckel
2018-04-06 10:27:12 +0200
ba54b891b9
fix aesgcm on cygwin
Steffen Jaeckel
2018-04-06 10:19:53 +0200
70ec9b3b35
back-port of the bugfix done in #363
Steffen Jaeckel
2018-04-04 19:31:36 +0200
24aab18d5b
Merge pull request #359 from vchong/ltc_ctr
Steffen Jaeckel
2018-03-27 02:25:25 +0200
affb3d70cb
improve fortuna_import()
Steffen Jaeckel
2018-03-23 11:30:58 +0100
89dffe6c7e
add comment to Fortuna docs
Steffen Jaeckel
2017-12-07 12:00:22 +0100
415c57f3af
don't ignore additional data on SOBER128-PRNG import
Steffen Jaeckel
2017-12-07 11:45:19 +0100
b9fa4c063a
fortuna_import() shouldn't ignore additional input
Steffen Jaeckel
2017-12-07 11:09:43 +0100
67d8ca19f5
ensure that fortuna has been seeded properly
Steffen Jaeckel
2017-12-07 10:43:07 +0100
243898972c
Merge pull request #351 from libtom/pr/fix-time_cipher_lrw
karel-m
2018-02-26 12:55:41 +0100
873240e7a0
Merge pull request #350 from libtom/fix/no-file-warnings
Steffen Jaeckel
2018-02-25 20:35:49 +0100
fa759d8ee9
Merge pull request #371 from libtom/pr/baseNN-consistent-nul
karel-m
2018-03-28 09:30:56 +0200
6d33ecdbf9
consistent NUL byte handling in baseNN_encode
Karel Miko
2018-03-28 07:46:31 +0200
ef1fba20b7
Merge pull request #365 from libtom/pr/base64-decode-less-relaxed
karel-m
2018-03-27 23:18:15 +0200
f0f1283dbb
doc - add indexes for base64url_*
Karel Miko
2018-03-27 13:57:06 +0200
798f257059
fix base64_decode comments
Karel Miko
2018-03-27 13:49:58 +0200
229aec965c
enhanced base64 related tests
Karel Miko
2018-03-27 11:19:08 +0200
ad8067eaf7
doc for base64_sane_decode
Karel Miko
2018-03-27 09:54:33 +0200
964f61709f
introducing base64_sane_decode
Karel Miko
2018-03-26 22:44:57 +0200
b10bf8fa0d
make base64_decode relaxed mode less relaxed
Karel Miko
2018-03-25 19:46:43 +0200
8b6d9dba76
Merge pull request #369 from libtom/demo/aesgcm
Steffen Jaeckel
2018-03-27 19:39:13 +0200
e040ef1a59
add aesgcm demo
Steffen Jaeckel
2018-01-22 17:50:43 +0100
31088c0e9e
add gcm_file() and gcm_filehandle()
Steffen Jaeckel
2017-07-19 16:40:06 +0200
f4afa5d5bb
Merge pull request #368 from libtom/fix/base16-api
Steffen Jaeckel
2018-03-27 12:58:18 +0200
ed5025398b
check input of base16_decode()
Steffen Jaeckel
2018-03-26 16:23:11 +0200
efbf38adce
update docs
Steffen Jaeckel
2018-03-26 15:45:37 +0200
73e5330c47
add inlen parameter to base16_decode()
Steffen Jaeckel
2018-03-26 15:42:58 +0200
9b80d07487
Merge pull request #359 from vchong/ltc_ctr
Steffen Jaeckel
2018-03-27 02:25:25 +0200
bed9811d74
fix-up ctr_encrypt.c
Steffen Jaeckel
2018-03-26 23:34:15 +0200
431319f30b
ltc: ctr: improve performance
Tetsuya Yoshizaki
2018-03-17 02:39:37 +0900
f240aeadc2
Merge pull request #366 from libtom/pr/base64-char
karel-m
2018-03-26 21:06:43 +0200
e73bb36f3f
update doc - base64 & char*
Karel Miko
2018-03-25 20:00:05 +0200
065c89108e
base64_* use char *
for Base64 strings
Karel Miko
2018-03-25 19:52:41 +0200
f72621e276
Merge pull request #367 from libtom/pr/base32-nul
karel-m
2018-03-26 16:41:25 +0200
981f3ef844
base32_encode - make the output NUL-terminated
Karel Miko
2018-03-25 22:17:46 +0200
7a7b773b3c
Revert "make base64_decode relaxed mode less relaxed"
Karel Miko
2018-03-25 19:41:43 +0200
e7117ea9df
make base64_decode relaxed mode less relaxed
Karel Miko
2018-03-25 15:46:49 +0200
e299431be8
Merge pull request #343 from libtom/feature/pkcs7
Steffen Jaeckel
2018-03-25 14:12:35 +0200
bc2739347d
Update makefiles
Steffen Jaeckel
2018-03-23 15:17:06 +0100
daed6fe91e
add padding documentation
Steffen Jaeckel
2018-01-24 11:51:29 +0100
6a48f7d184
add padding tests
Steffen Jaeckel
2018-01-23 12:48:57 +0100
ea79c5f8b1
use new padding functions in openssl-enc
Steffen Jaeckel
2018-01-23 11:13:45 +0100
82482119df
add padding module
Steffen Jaeckel
2018-01-23 11:12:56 +0100
8a6ee82e17
Merge pull request #341 from libtom/review/prngs
Steffen Jaeckel
2018-03-23 22:00:56 +0100
39d4a14c29
improve fortuna_import()
Steffen Jaeckel
2018-03-23 11:30:58 +0100
4fb3a6468e
unify the prng's export() functions
Steffen Jaeckel
2018-03-22 17:50:42 +0100
979a36b9bb
add possibility to seed PRNG as if it's imported
Steffen Jaeckel
2017-12-07 13:26:30 +0100
cccd1e3053
add comment to Fortuna docs
Steffen Jaeckel
2017-12-07 12:00:22 +0100
d502869728
don't ignore additional data on SOBER128-PRNG import
Steffen Jaeckel
2017-12-07 11:45:19 +0100
0c05e5386f
fortuna_import() shouldn't ignore additional input
Steffen Jaeckel
2017-12-07 11:09:43 +0100
04ce8cf613
ensure that fortuna has been seeded properly
Steffen Jaeckel
2017-12-07 10:43:07 +0100
70fd5dd83d
Merge pull request #353 from libtom/minor/improvements
Steffen Jaeckel
2018-03-23 15:15:30 +0100
0dc3ab00d9
update/improve docs
Steffen Jaeckel
2018-03-22 16:01:25 +0100
9d72e81ce8
use 'char*' in base32 ... instead of 'unsigned char*'
Steffen Jaeckel
2018-03-22 16:00:54 +0100
6f20738057
Update makefiles
Steffen Jaeckel
2018-03-22 15:45:07 +0100
3d99d9b443
add base16_{de,en}code()
Steffen Jaeckel
2018-03-22 15:44:01 +0100
b026c23b0a
use do_compare_testvector() where possible
Steffen Jaeckel
2018-03-04 12:44:38 +0100
e1cba4da7d
fix der_test and rsa_test when compiling for msvc
Steffen Jaeckel
2018-03-03 14:32:46 +0100
e36e512459
use DO() macro in file_test
Steffen Jaeckel
2018-03-03 14:23:23 +0100
ffd4dd9e6a
give a name to the public-key-type enum ... and add PK_STD to it
Steffen Jaeckel
2018-02-20 16:12:10 +0100
ccc7cf4af2
improve/fix x509_decode_subject_public_key_info()
Steffen Jaeckel
2018-02-19 13:28:25 +0100
ecd3fb714d
add do_compare_testvector()
Steffen Jaeckel
2018-02-17 17:26:30 +0100
4d17d1328d
Merge pull request #358 from libtom/travis/build-debug
Steffen Jaeckel
2018-03-10 22:42:35 +0100
7fb108d884
add full-debug build to ci-tests
Steffen Jaeckel
2018-03-10 17:37:54 +0100
3cfdd4bfdb
fix compilation with debug output enabled
Steffen Jaeckel
2018-03-10 11:34:05 +0100
2c07ff6fbe
Merge pull request #355 from MilkywayPwns/develop
Steffen Jaeckel
2018-03-10 10:43:14 +0100
b477e2c221
Renamed class->klass
RektInator
2018-03-09 16:37:18 +0100
249d4694da
Merge pull request #356 from libtom/pr/keccak
karel-m
2018-03-08 09:58:46 +0100
e1ffc82bfb
add keccak_NNN_init + keccak_process defines
Karel Miko
2018-03-08 07:17:43 +0100
3cd8044290
Keccak
Karel Miko
2018-03-07 14:55:10 +0100
2731b9a873
Merge pull request #357 from libtom/pr/357-msvc-warning
karel-m
2018-03-08 07:10:52 +0100
1871c5dff4
fix warning: signed/unsigned mismatch
Karel Miko
2018-03-07 23:35:42 +0100
0a4f36d45d
Merge pull request #352 from fperrad/20180226_lint
Steffen Jaeckel
2018-03-01 08:47:59 +0100
1662910b40
refactor der_encode_asn1_length
Francois Perrad
2018-02-28 16:19:15 +0100
995e575521
variable 'len' must be initialized in all case
Francois Perrad
2018-02-27 22:16:57 +0100
525b129466
fix indentation
Francois Perrad
2018-02-26 18:59:03 +0100
ea5b6cdce9
Merge pull request #351 from libtom/pr/fix-time_cipher_lrw
karel-m
2018-02-26 12:55:41 +0100
733d3e5d7d
fix: return with a value, in function returning void (LTC_EASY)
Karel Miko
2018-02-26 09:52:57 +0100
64298c1819
Merge pull request #309 from libtom/pr/ecc-asn1-part-minimal
Steffen Jaeckel
2018-02-25 23:34:09 +0100
d89326bbea
update doc
Steffen Jaeckel
2018-01-21 13:19:37 +0100
e4efd70382
add der_decode_custom_type_ex()
Steffen Jaeckel
2018-01-16 21:17:33 +0100
9d03c38ea4
add flags to der_decode_sequence()
Steffen Jaeckel
2018-01-16 11:15:29 +0100
3044b227f8
improve style of length-checks
Karel Miko
2017-12-31 18:47:02 +0100
7e2d163d1d
add testvectors from [1]
Steffen Jaeckel
2017-12-19 01:01:18 +0100
756bc7fa21
use new ASN.1 functionality
Steffen Jaeckel
2017-11-23 14:13:21 +0100
3431763275
update/add more DER tests
Steffen Jaeckel
2017-11-22 16:36:31 +0100
b75c3ce9db
remove LTC_ASN1_CONSTRUCTED and LTC_ASN1_CONTEXT_SPECIFIC
Steffen Jaeckel
2017-11-22 17:11:42 +0100
799e147254
Update makefiles
Steffen Jaeckel
2017-11-22 16:39:53 +0100
5230977219
implement the Custom-type de-/encoders
Steffen Jaeckel
2017-11-22 16:30:52 +0100
0d02137a8e
add required ASN.1 custom-types functions
Steffen Jaeckel
2017-11-22 13:24:37 +0100
1b3a757345
add ASN.1-identifier functions
Steffen Jaeckel
2017-11-22 13:21:48 +0100
509ad5222f
add maps for ASN.1 en-/decoding
Steffen Jaeckel
2017-11-22 13:16:46 +0100
64875d3a8f
add ASN.1-length functions
Steffen Jaeckel
2017-11-20 15:54:50 +0100
2a78ed31bf
add CRYPT_PK_ASN1_ERROR
Steffen Jaeckel
2017-11-20 15:48:08 +0100
54dd6ce840
fix naming of SubjectPublicKeyInfo de-&encoder
Steffen Jaeckel
2017-11-20 15:42:33 +0100
fd7c2b8c1f
no need for der_decode_subject_public_key_info_ex
Karel Miko
2017-10-19 23:16:09 +0200
f155d3c530
ASN.1 changes required fo future ECC enhancements
Karel Miko
2017-10-11 21:14:25 +0200
11cda2e274
Merge pull request #350 from libtom/fix/no-file-warnings
Steffen Jaeckel
2018-02-25 20:35:49 +0100
b1b40d48fa
silencio por favor
Steffen Jaeckel
2018-02-25 17:17:04 +0100
5a3a12c9b3
don't export .travis.yml in future releases
Steffen Jaeckel
2018-01-22 11:09:38 +0100
fa96614366
Update makefiles
Steffen Jaeckel
2018-01-22 11:05:22 +0100
d68de4d26d
show in SCRYPT etc. that we're on develop
Steffen Jaeckel
2018-01-22 11:05:20 +0100
7de2d910fe
Merge tag 'v1.18.1' into develop
Steffen Jaeckel
2018-01-22 11:04:49 +0100
e08fd8630f
Merge branch 'release/1.18.1'
Steffen Jaeckel
2018-01-22 11:02:57 +0100
60df7d360a
Fix 'fixme check'
Steffen Jaeckel
2018-01-22 11:01:34 +0100
c7ff3bb86e
Bump revision
Steffen Jaeckel
2018-01-22 10:45:28 +0100
08e0424d52
Update changes
Steffen Jaeckel
2018-01-22 10:06:54 +0100
4800543664
add -p switch to install
commands in GNU makefiles
Steffen Jaeckel
2018-01-20 15:10:53 +0100
fc6eb3ecf0
add -p switch to install
commands in GNU makefiles
Steffen Jaeckel
2018-01-20 15:10:53 +0100
da7054820c
Fix some latex formatting errors
Steffen Jaeckel
2018-01-20 15:31:00 +0100
144839a8db
ltc: ctr: update pt and ct after acceleration
Tetsuya Yoshizaki
2018-01-19 06:23:16 +0000
d1d3ae2d1e
ltc: ctr: update pt and ct after acceleration
Tetsuya Yoshizaki
2018-01-19 06:23:16 +0000
5501572b35
Merge pull request #339 from libtom/minor_improvements
Steffen Jaeckel
2018-01-14 22:31:24 +0100
df8ed5c76b
Merge pull request #339 from libtom/minor_improvements
Steffen Jaeckel
2018-01-14 22:31:24 +0100
aa8441409e
fix some DER bugs
Steffen Jaeckel
2017-11-23 19:32:24 +0100
a898fde5b7
better debug output
Steffen Jaeckel
2017-11-22 16:33:48 +0100
48a798261d
Merge pull request #334 from libtom/add-rabbit
Larry Bugbee
2017-12-18 04:16:32 -0800
8ef60f7b47
add rabbit
Larry Bugbee
2017-12-05 22:12:50 -0800
784fc5313c
makefile updates
Larry Bugbee
2017-12-05 22:12:19 -0800
f4d2b37cf4
Merge pull request #337 from libtom/fix/prng_pthread
Steffen Jaeckel
2017-12-10 12:35:01 +0100
dd868600b3
fix staticfunc_name detection
Karel Miko
2017-11-22 18:27:11 +0100
10ad3b5b41
fixup type of type
in ltc_asn1_list
doc
Steffen Jaeckel
2017-11-28 10:49:12 +0100
8ef3b9dffd
Merge pull request #335 from libtom/minor_cleanup
Steffen Jaeckel
2017-12-17 00:43:35 +0100
35c4d157d0
as of POSIX.1-2008 gettimeofday() is obsolete
Steffen Jaeckel
2017-12-07 13:23:38 +0100
b84bea8e78
easier calculation
Steffen Jaeckel
2017-11-23 18:30:19 +0100
38143771d7
Update makefiles
Steffen Jaeckel
2017-12-06 23:58:21 +0100
fd46a74331
re-order tomcrypt_mac.h
Steffen Jaeckel
2017-10-12 12:44:14 +0200
8fffebc395
fix .travis.yml
Steffen Jaeckel
2017-12-05 17:31:10 +0100
5c0b1b4bf6
add copy_or_zeromem()
Steffen Jaeckel
2017-10-25 15:30:05 +0200
c0b7c8dd67
more output in debug build
Steffen Jaeckel
2017-10-25 15:31:59 +0200
5546e85218
introduce LTC_EXTRALIBS
Steffen Jaeckel
2017-12-06 23:54:33 +0100
6d71d657ef
fix staticfunc_name detection
Karel Miko
2017-11-22 18:27:11 +0100
5e3e7e5304
fixup type of type
in ltc_asn1_list
doc
Steffen Jaeckel
2017-11-28 10:49:12 +0100
ea43e5dd68
suppress 'missing-braces' warnings
Steffen Jaeckel
2017-11-26 01:14:34 +0100
196f25e32f
there should be no need to pass CFLAGS when linking
Steffen Jaeckel
2017-11-24 07:39:36 +0100
45db2a9d9a
Merge pull request #337 from libtom/fix/prng_pthread
Steffen Jaeckel
2017-12-10 12:35:01 +0100
c0eefc2b20
prevent undefined behavior with LTC_PTHREAD
Steffen Jaeckel
2017-12-07 14:56:44 +0100
479cce29ab
Merge pull request #332 from libtom/sosemanuk--cleanup-comments-and-doc
Larry Bugbee
2017-12-05 12:20:06 -0800
b6ae9ab000
grammatical change
Larry Bugbee
2017-12-05 09:53:15 -0800
cec171c17e
Update changes
Steffen Jaeckel
2017-12-05 18:41:11 +0100
c7bdb247bf
Update makefiles
Steffen Jaeckel
2017-12-05 18:40:57 +0100
cfaf964284
Bump version
Steffen Jaeckel
2017-12-05 18:40:49 +0100
ce93eaa577
add fixme-check to zipup make-target
Steffen Jaeckel
2017-10-16 19:51:14 +0200
f9e90f5b1c
revert the change of MAXBLOCKSIZE
Steffen Jaeckel
2017-12-05 17:46:08 +0100
f122e9b887
Merge pull request #329 from libtom/pr/sha3-blocksize
Steffen Jaeckel
2017-12-05 17:41:44 +0100
64d028832b
Merge pull request #329 from libtom/pr/sha3-blocksize
Steffen Jaeckel
2017-12-05 17:41:44 +0100
8fdc46cc4b
updated tv_gen outputs
Karel Miko
2017-11-27 01:23:55 +0100
e89a1f2ae6
correct SHA3 block sizes
Karel Miko
2017-11-26 23:12:25 +0100
83ee79ac56
change crypt() length data name to match doc
Larry Bugbee
2017-12-05 01:02:10 -0800
c4fdf5c1fc
rephrase one sentence
Larry Bugbee
2017-12-05 00:55:07 -0800
13d91e7c8b
Merge pull request #327 from libtom/fix/ccm_segfault
Steffen Jaeckel
2017-11-20 14:25:45 +0100
368dc60ff3
Merge pull request #326 from libtom/pr/ccm_process
Steffen Jaeckel
2017-11-10 00:41:50 +0100
153b897984
helper.pl - detect sizeof without brackets
Karel Miko
2017-11-05 17:08:02 +0100
f10c2055dc
helper.pl - improved detection of static functions without _
Karel Miko
2017-11-05 11:40:01 +0100
a674de7408
Merge branch 'diamondo25-patch-2' into develop
Karel Miko
2017-11-03 17:06:23 +0100
7f6af93798
Merge pull request #320 from diamondo25/patch-1
karel-m
2017-11-03 17:01:51 +0100
00ca140c57
Merge pull request #316 from libtom/pr/register-all
karel-m
2017-10-19 07:29:05 +0200
521d0737ea
fix typo
Steffen Jaeckel
2017-10-17 23:37:30 +0200
035e958edd
Merge pull request #310 from libtom/pr/fix-changes
Steffen Jaeckel
2017-10-12 19:41:52 +0200
f42bf2f942
updated comments and doc
Larry Bugbee
2017-12-04 22:15:18 -0800
c6cccf9120
Merge pull request #330 from J08nY/fix/sosemanuk-doc
Steffen Jaeckel
2017-11-29 09:52:39 +0100
684c0890e7
Fix docs build in Sosemanuk section.
J08nY
2017-11-28 17:13:09 +0100
af10ad084d
Merge pull request #328 from fperrad/20171122_lint
karel-m
2017-11-22 18:00:51 +0100
77b0aff4e6
remove always true condition
Francois Perrad
2017-11-22 10:12:41 +0100
e985a9c111
add const
Francois Perrad
2017-11-22 09:57:32 +0100
2dec37044c
chmod sosemanuk.c
Karel Miko
2017-11-21 08:55:01 +0100
174f0aaf33
Merge pull request #322 from libtom/add-sosemanuk
Larry Bugbee
2017-11-20 14:35:56 -0800
85ac227862
Merge pull request #327 from libtom/fix/ccm_segfault
Steffen Jaeckel
2017-11-20 14:25:45 +0100
2a5f5cff16
test that ccm_memory() doesn't touch user-supplied key
Steffen Jaeckel
2017-11-10 17:01:13 +0100
e05097e413
fix segfault in ccm_memory() with LTC_CLEAN_STACK
Steffen Jaeckel
2017-11-10 16:55:45 +0100
108ddf5b50
add Sosemanuk
Larry Bugbee
2017-11-20 02:41:30 -0800
807ae09916
Update makefiles
Larry Bugbee
2017-11-20 02:40:45 -0800
7c4c61d7ef
Merge pull request #326 from libtom/pr/ccm_process
Steffen Jaeckel
2017-11-10 00:41:50 +0100
08dee27359
fixes #323 ccm_process fails to process input buffer longer than 256 bytes
Karel Miko
2017-11-09 19:47:27 +0100
28d44b35f3
Merge pull request #325 from libtom/pr/new_63
Steffen Jaeckel
2017-11-09 19:44:28 +0100
c2ce5a18e7
Statically allocated key in hmac_state
Pascal Brand
2015-04-09 15:18:51 +0200
b159ca0d12
add missing file footers
Steffen Jaeckel
2017-11-09 15:31:51 +0100
f5e5c6eed7
simplify calculation
Steffen Jaeckel
2017-10-28 00:22:01 +0200
b7e35e9f57
helper.pl - detect sizeof without brackets
Karel Miko
2017-11-05 17:08:02 +0100
5c34fb2bad
helper.pl - improved detection of static functions without _
Karel Miko
2017-11-05 11:40:01 +0100
617698e544
Merge branch 'diamondo25-patch-2' into develop
Karel Miko
2017-11-03 17:06:23 +0100
053996dc5e
Fix _POSIX_C_SOURCE not defined warning (-Wundef)
Karel Miko
2017-11-03 17:05:56 +0100
5a6c258679
Fix LTC_TEST_DBG not defined warning (-Wundef)
Erwin Oegema
2017-11-01 15:36:41 +0100
b4eae5231d
Merge pull request #320 from diamondo25/patch-1
karel-m
2017-11-03 17:01:51 +0100
b1115b4e8f
Remove duplicate prototypes
Erwin Oegema
2017-11-01 15:30:36 +0100
9b65d46584
Merge pull request #318 from libtom/add-salsa20
Larry Bugbee
2017-10-24 13:28:55 -0700
f1da5783eb
fixed C90 warning: value after decl
Larry Bugbee
2017-10-23 22:40:21 -0700
74dcbc810f
fixed C90 warning: value after decl
Larry Bugbee
2017-10-23 22:00:45 -0700
6ada199d7d
added keystream regression test
Larry Bugbee
2017-10-23 21:43:17 -0700
4341424ce9
Add Salsa20
Larry Bugbee
2017-10-23 15:41:42 -0700
aa5a2e5a26
Update makefiles
Larry Bugbee
2017-10-23 15:41:04 -0700
6c5dea3e61
__declspec(deprecated) is supported since Visual Studio 2008
Karel Miko
2017-10-23 20:18:59 +0200
80665ac576
Merge pull request #317 from libtom/pr/base32
Steffen Jaeckel
2017-10-22 11:04:40 +0200
854a145c92
Base32: alpha_id >> id
Karel Miko
2017-10-20 20:00:46 +0200
3fc98adaf5
tuning base32 stuff
Karel Miko
2017-10-20 17:28:50 +0200
8674eb3097
base32_decode + base32_encode
Karel Miko
2017-10-19 17:27:08 +0200
035205af85
update makefiles
Karel Miko
2017-10-19 15:51:47 +0200
c8edd3c2e9
Merge pull request #315 from libtom/improve/travis_build
Steffen Jaeckel
2017-10-20 15:44:41 +0200
1fc46a0f15
fix travis detection in coverage.sh
Steffen Jaeckel
2017-10-18 22:45:32 +0200
742a6c7a33
fix paths
Steffen Jaeckel
2017-10-18 22:45:11 +0200
b070672f59
move ci scripts to .ci/
Steffen Jaeckel
2017-10-18 22:30:39 +0200
c5caac505b
print stderr on the fly also to console
Steffen Jaeckel
2017-10-18 17:24:45 +0200
29c640f7e1
enable parallel builds
Steffen Jaeckel
2017-10-18 13:30:06 +0200
30948fc0e9
move valgrind build to own travis instance
Steffen Jaeckel
2017-10-18 13:29:51 +0200
384f82d0a9
also create coverage for gmp_desc
Steffen Jaeckel
2017-10-18 08:58:31 +0200
91e1d04831
incorporate scan_build.sh in meta_builds.sh
Steffen Jaeckel
2017-10-12 20:46:58 +0200
65e1eb68e9
fix missing valgrind & don't be that noisy
Steffen Jaeckel
2017-10-12 19:47:43 +0200
ce3da7c06f
use correct set of parameters
Steffen Jaeckel
2017-10-12 16:52:12 +0200
2dad6d30bf
add meta_builds.sh
Steffen Jaeckel
2017-10-12 16:52:08 +0200
18ba0cbda9
fix tv_gen.c for scan-build run
Steffen Jaeckel
2017-10-12 15:46:32 +0200
3f024c0685
only run scan_build for clang
Steffen Jaeckel
2017-10-10 17:59:28 +0200
315d03ccd5
use parameters instead of pre-defined values
Steffen Jaeckel
2017-10-10 17:39:48 +0200
e4763d940a
Merge pull request #316 from libtom/pr/register-all
karel-m
2017-10-19 07:29:05 +0200
152513477b
fix return value of register_all_*()
Karel Miko
2017-10-18 22:35:16 +0200
d470f8a7ab
Merge pull request #314 from libtom/pr/serpent-cipher
karel-m
2017-10-18 17:24:18 +0200
aa3e5a43bb
fix warning: Value stored to 'e' is never read
Karel Miko
2017-10-18 09:17:42 +0200
a37a93aecc
doc update
Karel Miko
2017-10-18 07:12:45 +0200
c5735be01e
update makefiles
Karel Miko
2017-10-17 12:55:25 +0200
5a63e7ef7d
Serpent cipher
Karel Miko
2017-10-17 12:55:14 +0200
49f732101c
Merge pull request #297 from libtom/improve/mpi_selection
Steffen Jaeckel
2017-10-18 08:47:10 +0200
d709e3d9a3
Update doc
Steffen Jaeckel
2017-10-16 22:05:24 +0200
1a892960fe
don't be that strict
Steffen Jaeckel
2017-10-12 20:32:09 +0200
bfef6350a2
deprecate init_{LTM,TFM,GMP}
Steffen Jaeckel
2017-10-12 10:32:59 +0200
beb1e279ec
add LTC_DEPRECATED
Steffen Jaeckel
2017-10-12 10:28:46 +0200
735566993b
add crypt_mp_init()
Steffen Jaeckel
2017-10-12 10:20:43 +0200
fdc6cd2013
improve tests and timing in regards to MPI provider selection
Steffen Jaeckel
2017-09-22 16:24:33 +0200
442bb90a51
fix typo
Steffen Jaeckel
2017-10-17 23:37:30 +0200
6c83a2f363
add fixme-check to zipup make-target
Steffen Jaeckel
2017-10-16 19:51:14 +0200
dd95518db4
Merge pull request #312 from libtom/pr/idea-cipher
karel-m
2017-10-18 07:08:04 +0200
ee484a0bc0
burn_stack
Karel Miko
2017-10-16 23:15:54 +0200
a2dd766ed5
IDEA cipher
Karel Miko
2017-10-16 21:20:33 +0200
295bde14c1
update makefiles
Karel Miko
2017-10-16 21:19:54 +0200
a6c8be292e
Merge pull request #310 from libtom/pr/fix-changes
Steffen Jaeckel
2017-10-12 19:41:52 +0200
437cb0207a
proper 1.18.0 date in changes
karel-m
2017-10-12 17:19:38 +0200
44b15a76aa
add issue and PR templates
Steffen Jaeckel
2017-10-10 18:08:35 +0200
976e7c4e31
Merge tag 'v1.18.0' into develop
Steffen Jaeckel
2017-10-10 15:52:19 +0200
0676c9aec7
Merge branch 'release/1.18.0'
Steffen Jaeckel
2017-10-10 15:51:36 +0200
c165f3a23a
Update makefiles
Steffen Jaeckel
2017-10-10 15:47:54 +0200
a7d0008f52
bump version
Steffen Jaeckel
2017-10-10 15:46:54 +0200
b3c9f586dc
also patch doc/Doxyfile automatically
Steffen Jaeckel
2017-10-10 15:46:38 +0200
62143d96bd
fix doxygen warning
Steffen Jaeckel
2017-10-10 15:43:26 +0200
58b5e5c7ca
improve README
Steffen Jaeckel
2017-10-10 15:19:23 +0200
ea5cb8bff6
make it possible to use LTC_NOTHING with a math provider
Steffen Jaeckel
2017-10-10 15:19:01 +0200
233ef83530
suppress some warnings when compiling with mingw-gcc
Steffen Jaeckel
2017-10-10 14:29:34 +0200
e40482f82a
review README.md and changes
Steffen Jaeckel
2017-10-09 18:26:38 +0200
dd0bbdeac0
increase default value of Miller-Rabin rounds to 40
Steffen Jaeckel
2017-10-09 17:58:47 +0200
4503ddcfb0
improve wording
Steffen Jaeckel
2017-10-08 01:04:42 +0200
6493f0fe94
Merge pull request #308 from libtom/pr/avoid-dulplicit-manes
Steffen Jaeckel
2017-10-08 00:57:47 +0200
bab6af73e5
fix check_source()
Steffen Jaeckel
2017-10-07 18:09:13 +0200
2041f9528e
update makefiles
Karel Miko
2017-10-07 11:35:27 +0200
959121253d
rename duplicit rc4.c sober128.c
Karel Miko
2017-10-07 11:35:10 +0200
adcd6ee9fd
only try to print the version from git if there's git installed
Steffen Jaeckel
2017-10-03 19:54:27 +0200
58b71292c3
fixup caed025f8a
Steffen Jaeckel
2017-10-03 19:20:33 +0200
e438dbc3bf
add ltc_mp_digit to sizes and tests
Steffen Jaeckel
2017-10-03 18:43:32 +0200
caed025f8a
define ltc_mp_digit as 'unsigned long' resp 'unsigned long long' for x32
Steffen Jaeckel
2017-10-03 18:42:26 +0200
cb34ef8626
fix-up LTC_FAST related defines/typedefs
Steffen Jaeckel
2017-10-03 13:32:17 +0200
bb291cbbeb
init_GMP() works perfectly fine
Steffen Jaeckel
2017-09-22 15:26:33 +0200
01a61e64ef
Merge pull request #302 from libtom/fix/pr/301
Steffen Jaeckel
2017-10-02 14:05:58 +0200
7f302dab54
make sure size is valid
Steffen Jaeckel
2017-10-02 01:18:36 +0200
c702ac6f1c
improve rsa_test a bit
Steffen Jaeckel
2017-10-02 01:18:19 +0200
67f9064b71
missing rsa_free in _rsa_issue_301 test
Karel Miko
2017-10-01 14:40:04 +0200
ce7ae84d0d
correctly fix decoding of SubjectPublicKeyInfo
Steffen Jaeckel
2017-09-30 13:38:25 +0200
db7d7a866e
Revert "fix bit-length check in der_decode_raw_bit_string()"
Steffen Jaeckel
2017-09-30 13:37:06 +0200
e5de0a0004
Revert "catch case where blen%8 != 0"
Steffen Jaeckel
2017-09-30 13:36:55 +0200
d1d9566250
format code
Steffen Jaeckel
2017-09-30 13:36:27 +0200
30b3a9a986
remove {MIN,MAX}_RSA_SIZE
Steffen Jaeckel
2017-09-30 13:29:11 +0200
40e4a66693
catch case where blen%8 != 0
Steffen Jaeckel
2017-09-30 01:27:20 +0200
3fef07c03e
also clear bits in der_decode_raw_bit_string()
Steffen Jaeckel
2017-09-30 01:18:30 +0200
1d20c32a45
update README
Steffen Jaeckel
2017-09-29 18:33:00 +0200
9cfbaa83a3
mostly remove MAX_RSA_SIZE
Steffen Jaeckel
2017-09-29 18:21:17 +0200
ab02d2e450
fix rsa_import() of MAX_RSA_SIZE'ed keys
Steffen Jaeckel
2017-09-29 18:18:35 +0200
0500aaec45
add tests for MAX_RSA_SIZE sized openssl-standard RSA keys
Steffen Jaeckel
2017-09-29 17:58:42 +0200
efa089e211
fixup #290
Steffen Jaeckel
2017-09-29 17:56:37 +0200
15eab9702b
don't over-allocate that much in der_decode_subject_public_key_info()
Steffen Jaeckel
2017-09-29 10:16:42 +0200
0b04279890
fix bit-length check in der_decode_raw_bit_string()
Steffen Jaeckel
2017-09-29 10:12:52 +0200
062fc3ffe3
print info when doing a debug build
Steffen Jaeckel
2017-09-29 10:02:23 +0200
6da2211ee9
Update rsa_import.c
Rob Swindell
2017-09-27 17:12:19 -0700
c2f0675ede
Merge pull request #304 from libtom/pr/fix-303
karel-m
2017-10-01 17:24:08 +0200
98536fa5bf
add missing dsa_free to _dsa_wycheproof_test - fixes #303
Karel Miko
2017-10-01 15:40:19 +0200
f4802ef40a
add ltc_math_descriptor to crypt_sizes
Steffen Jaeckel
2017-09-30 13:01:08 +0200
9ff889b330
Update makefiles
Steffen Jaeckel
2017-09-27 21:37:23 +0200
07c5e6b0a4
bump version
Steffen Jaeckel
2017-09-27 21:37:21 +0200
5f89a5ce2c
Merge pull request #298 from libtom/strict_der_decoding
Steffen Jaeckel
2017-09-27 21:34:30 +0200
4a8bfc0a21
introduce CRYPT_INPUT_TOO_LONG
Steffen Jaeckel
2017-09-25 21:58:50 +0200
13cb43ad4c
initialize 'flags' etc. to invalid values before trying to decode
Steffen Jaeckel
2017-09-24 13:11:35 +0200
8935cd9a8a
Merge pull request #299 from libtom/pr/libtool-cygwin
Steffen Jaeckel
2017-09-27 21:33:29 +0200
9c2c9f8af4
libtool on cygwin needs -no-undefined
Karel Miko
2017-09-26 20:06:32 +0200
5049463774
bump the libtool version
Steffen Jaeckel
2017-09-27 21:19:33 +0200
f868a16a44
Update makefiles
Steffen Jaeckel
2017-09-25 16:56:59 +0200
20c6bf812b
bump version
Steffen Jaeckel
2017-09-25 16:56:57 +0200
83e7f4a1c7
keep dh_key.x instead of free'ing it
Karel Miko
2017-09-25 15:35:10 +0200
f7c0b25146
add missing math constants
Steffen Jaeckel
2017-09-23 11:42:05 +0200
91a10318f1
Merge pull request #296 from libtom/cleanup/3
Steffen Jaeckel
2017-09-21 20:46:41 +0200
ea43d9a1d2
Fix openssl-enc compilation
Karel Miko
2017-09-21 17:48:50 +0200
8f7986bbb2
fix coverage_more.sh after updating hashsum
Steffen Jaeckel
2017-09-21 17:44:33 +0200
5bb63f1bca
hashsum: improve help
Steffen Jaeckel
2017-09-21 16:15:32 +0200
eb75c894db
hashsum: cleanup at exit
Steffen Jaeckel
2017-09-21 16:13:22 +0200
312247fa0b
better comments for PKCS#5
Steffen Jaeckel
2017-09-21 16:04:01 +0200
da4f854329
make sure chacha_crypt() can only be called after setting the IV
Steffen Jaeckel
2017-09-21 16:03:03 +0200
342a10cc14
make PK_MAX_RETRIES a config option
Steffen Jaeckel
2017-09-21 13:52:17 +0200
a278f72659
skip comment lines when checking hashes
Steffen Jaeckel
2017-09-20 17:43:07 +0200
9a83397376
catch case where we could BOF should_buffer[]
Steffen Jaeckel
2017-09-20 17:29:05 +0200
b6213309ca
Merge pull request #197 from libtom/update/doc
Steffen Jaeckel
2017-09-20 15:14:54 +0200
f8d132ea03
update changes
Steffen Jaeckel
2017-09-20 15:14:10 +0200
7cc9aad5cc
remove TODO
Steffen Jaeckel
2017-09-20 14:33:30 +0200
9fb08af23d
fix location of some of the tables
Steffen Jaeckel
2017-09-20 14:33:04 +0200
2d3a921de4
align code
Steffen Jaeckel
2017-09-20 14:18:57 +0200
4f7747eaec
DSA not DH
Steffen Jaeckel
2017-09-20 14:17:22 +0200
c210f24853
IV is short for 'initialization vector'
Steffen Jaeckel
2017-09-20 13:54:42 +0200
fff9fee129
DSA new functions - doc
Karel Miko
2017-09-20 14:15:28 +0200
f3f839ec6c
BLAKE2s + BLAKE2b MAC doc
Karel Miko
2017-09-19 22:53:47 +0200
50e52d0b4c
poly1305 doc
Karel Miko
2017-09-19 22:38:29 +0200
11827feef3
ChaCha20-Poly1305 doc
Karel Miko
2017-09-19 22:23:21 +0200
35d920a688
moar doc
Steffen Jaeckel
2017-08-15 00:07:53 +0200
8b3af12d70
add radix_to_bin() docs
Steffen Jaeckel
2017-08-14 13:27:55 +0200
78e9601eb6
review "Configuring and Building the Library"
Steffen Jaeckel
2017-08-14 12:58:03 +0200
13b484f8a5
moar doc
Steffen Jaeckel
2017-08-14 11:48:05 +0200
0742a99fb5
update README
Steffen Jaeckel
2017-08-09 15:59:56 +0200
fc65352261
moar doc
Steffen Jaeckel
2017-08-09 15:56:13 +0200
dd01232bcb
review stream ciphers
Steffen Jaeckel
2017-08-08 21:38:23 +0200
2ccb3fb53d
update OCB3 doc
Steffen Jaeckel
2017-08-08 20:14:42 +0200
56d17c8e55
some more doc updates
Steffen Jaeckel
2017-08-07 12:06:58 +0200
5d74fee9dc
doc tuning
Karel Miko
2017-07-20 23:44:30 +0200
468245ce56
doc: stream ciphers
Karel Miko
2017-07-20 23:09:28 +0200
9584975a6d
some crypt.tex hacking
Karel Miko
2017-07-18 00:07:47 +0200
7edc41162d
fix crypt.pdf building
Karel Miko
2017-07-17 22:11:43 +0200
39650b4a08
add doc of new RSA API functions
Steffen Jaeckel
2017-07-17 13:33:37 +0200
583b2b3938
document PKCS#1 v1.5 signatures w/o ASN.1
Steffen Jaeckel
2017-07-09 13:44:33 +0200
09c3196930
use v1.18.0 instead of v1.18
Steffen Jaeckel
2017-07-09 13:42:52 +0200
9a0e208f5e
add 'ltc_mp_digit' docs
Steffen Jaeckel
2017-07-09 13:12:21 +0200
728bc4a6a4
update "Primality Testing"
Steffen Jaeckel
2017-07-09 13:12:01 +0200
ce68fa34ee
add rand_bn_X() doc
Steffen Jaeckel
2017-07-09 12:46:15 +0200
a0a7daea6f
add termdoc option to view documentation on the terminal
Steffen Jaeckel
2017-07-09 17:36:59 +0200
01cb819c48
trim trailing spaces
Steffen Jaeckel
2017-07-09 12:45:52 +0200
a9d9466694
beautify some strings
Steffen Jaeckel
2017-09-19 18:51:47 +0200
632d2b757b
Merge pull request #291 from libtom/pr/dsa-test-wycheproof
karel-m
2017-09-20 13:23:51 +0200
66abefc54b
add dsa_wycheproof_test + fix old dsa tests
Karel Miko
2017-09-20 11:59:03 +0200
155e29dd68
dsa_verify_hash must set stat=0 on any error
Karel Miko
2017-09-20 11:58:32 +0200
4b36f0654f
Add 'Installation' section
Steffen Jaeckel
2017-09-19 14:19:43 +0200
d169aa2af2
Merge pull request #290 from libtom/pr/write-strings
Steffen Jaeckel
2017-09-19 13:24:13 +0200
b2813480bf
LTC_CFLAGS += -Wwrite-strings
Karel Miko
2017-09-15 10:01:03 +0200
5057af3ef1
fix char* vs. const char*
Karel Miko
2017-09-15 09:47:29 +0200
565be29bb0
Merge pull request #292 from libtom/pr/write-strings-test-part
karel-m
2017-09-18 12:34:14 +0200
3b663a199f
fix char* vs. const char* (tests related part)
Karel Miko
2017-09-18 09:24:19 +0200
0ceb1c1213
Merge pull request #289 from libtom/pr/scan-build-status-bugs
karel-m
2017-09-15 06:47:08 +0200
84fcd4aec7
scan_build --status-bugs - related to #287
Karel Miko
2017-09-14 21:42:33 +0200
04cc6cc652
Merge pull request #288 from libtom/pr/fix-tv_gen-scan-build
karel-m
2017-09-14 23:05:10 +0200
3ddb45a6b7
fix scan-build bug/warning in tv_gen
Karel Miko
2017-09-14 20:32:47 +0200
5e71849942
properly exit dsa_int_validate_pqg
Karel Miko
2017-09-14 20:07:32 +0200
5934eb3b7c
Merge pull request #280 from libtom/pr/fix-dsa-cdf
karel-m
2017-09-14 19:10:13 +0200
bb6a7e1c6c
if dsa_int_validate_* fails return consistently CRYPT_INVALID_PACKET
Karel Miko
2017-09-14 18:53:09 +0200
a990a8252e
mp_clear_multi - reverse the order
Karel Miko
2017-09-14 18:51:02 +0200
6200f301a5
add comment #ifdef LTC_SOURCE + internal helper functions
Karel Miko
2017-09-14 18:49:42 +0200
d91d59421f
fix de-referencing stat before checking for NULL
Karel Miko
2017-09-14 18:48:04 +0200
444d9f3fb7
do dsa_int_validate_* in dsa_import
Karel Miko
2017-09-14 17:38:12 +0200
fd94e9540f
move qord trest to dsa_int_validate_pqg
Karel Miko
2017-09-14 17:37:39 +0200
9765befd6b
do dsa_int_validate_pqg in dsa_set_pqg_dsaparam
Karel Miko
2017-09-14 17:25:28 +0200
45b6b947da
dsa_int_validate_primes & LTC_MILLER_RABIN_REPS
Karel Miko
2017-09-14 17:21:39 +0200
c806ea17f9
fix dsa_int_validate_xy
Karel Miko
2017-09-14 12:45:45 +0200
1ea4fecc81
FIPS 186-4 DSA validity tests
Karel Miko
2017-09-14 11:43:59 +0200
5fb4c9f89b
another approach for dsa_int_validate_*
Karel Miko
2017-09-14 10:39:51 +0200
aa5b9dafc4
fix dsa_int_validate_key related compiler warnings
Karel Miko
2017-09-12 07:03:21 +0200
1625ce4001
re-factor & re-name internal dsa key validation
Steffen Jaeckel
2017-09-12 00:25:21 +0200
053ba6d600
introducing dsa_verify_key_ex
Karel Miko
2017-09-11 23:36:03 +0200
2505e3b609
add basic validity tests to dsa_set
Karel Miko
2017-08-30 00:04:07 +0200
c908eb16bb
Merge pull request #283 from apjanke-build-on-mac-darnit
Karel Miko
2017-09-14 17:14:28 +0200
2dd446dbdb
clang and -Wno-missing-field-initializers
Steffen Jaeckel
2017-09-14 17:11:06 +0200
cfce691a50
initialize ltc_mp to force allocation under all compilers, including clang on macOS
Andrew Janke
2017-08-31 04:22:13 -0400
32d60ac134
Merge pull request #278 from libtom/pr/fix-dsa-wycheproof
karel-m
2017-09-10 14:00:54 +0200
c927e4315a
dsa_verify_hash: fix wycheproof - appending unused 0's
Karel Miko
2017-08-29 23:25:05 +0200
7e4bd971de
dsa_verify_hash: properly handle (=reject) negative r, s
Karel Miko
2017-08-25 00:39:07 +0200
aade47c62c
Merge pull request #286 from libtom/pr/fix-dsa-rsa-trouble
karel-m
2017-09-01 20:15:52 +0200
59857ba5e0
fix DSA dependency on RSA #285
Karel Miko
2017-09-01 18:24:15 +0200
87f94e1f0d
Merge branch 'apjanke-add-sizes-and-constants-demo-targets' into release/1.18.0
Karel Miko
2017-08-31 19:08:00 +0200
f5353a613d
makefile.msvc: add targets for sizes and constants demos
Andrew Janke
2017-08-31 04:55:47 -0400
d7461a91bc
makefile.mingw: add targets for sizes and constants demos
Andrew Janke
2017-08-31 04:53:26 -0400
509086253e
makefile.unix: add targets for sizes and constants demos
Andrew Janke
2017-08-30 22:59:29 -0400
c04e8a397f
Merge branch 'apjanke-fix-typos-in-makefile.shared-help' into release/1.18.0
Karel Miko
2017-08-31 18:52:53 +0200
39c721c8da
makefile.shared: protect commas in function calls through variable substitution
Andrew Janke
2017-08-31 05:15:49 -0400
9ea6247da1
Revert "add basic validity tests to dsa_set"
Karel Miko
2017-08-30 00:03:04 +0200
9003e87e5a
add basic validity tests to dsa_set
Karel Miko
2017-08-30 00:01:00 +0200
a86287b698
Merge pull request #277 from libtom/pr/fix-rsa-wycheproof
karel-m
2017-08-29 22:13:35 +0200
43e6860925
fix RSA - wycheproof "wrong length"
Steffen Jaeckel
2017-08-29 17:21:22 +0200
fe9af6cfbd
RSA: handle wycheproof test vectors - Legacy:missing NULL
Karel Miko
2017-08-24 23:22:28 +0200
a22140f94c
oops, fix .common_uninstall make-target
Steffen Jaeckel
2017-08-28 17:31:44 +0200
e6d23834ae
Merge pull request #276 from libtom/pr/fix-gcm-iv
Steffen Jaeckel
2017-08-28 17:28:30 +0200
105abdd8cd
GCM: 0 size IV is not valid #273
Karel Miko
2017-08-24 22:36:13 +0200
042df8ca20
Merge pull request #279 from libtom/cleanup/2
Steffen Jaeckel
2017-08-28 09:14:25 +0200
bb42345234
fix missing registration of PRNG's in ltcrypt
Steffen Jaeckel
2017-08-26 12:07:24 +0200
b49ce35b2c
fix DH timing when compiling with TFM support
Steffen Jaeckel
2017-08-26 12:05:53 +0200
33e70b427a
CRYPT_INVALID_KEYSIZE isn't only used for block ciphers
Steffen Jaeckel
2017-08-26 12:03:35 +0200
041b7aa5c0
Update makefiles
Steffen Jaeckel
2017-08-23 22:35:35 +0200
0afbefc549
bump version
Steffen Jaeckel
2017-08-23 22:35:32 +0200
725532c6b6
Merge pull request #272 from libtom/update-demos-demo_dynamic.py
Larry Bugbee
2017-08-19 18:19:00 -0700
de6ac748c7
refine comments
Larry Bugbee
2017-08-19 16:29:48 -0700
3794ecaf94
Update demo_dynamic.py
Larry Bugbee
2017-08-18 20:34:03 -0700
631de35ee3
Update and rename demo_dynamic.py3 to demo_dynamic.py
Larry Bugbee
2017-08-17 21:11:59 -0700
ae16210939
Delete demo_dynamic.py
Larry Bugbee
2017-08-17 21:06:50 -0700
d502c247db
Merge pull request #271 from libtom/rel-1.18-sm-demo-cleanup
Steffen Jaeckel
2017-08-17 10:11:30 +0200
147a406243
Update demo_dynamic.py3
Larry Bugbee
2017-08-16 23:50:23 -0700
5d3e2d1e90
Update demo_dynamic.py
Larry Bugbee
2017-08-16 23:49:39 -0700
7a64e13845
Merge pull request #270 from libtom/minor_changes
Steffen Jaeckel
2017-08-16 13:42:22 +0200
1fa8caff6c
fix call to gettimeofday()
Steffen Jaeckel
2017-08-16 11:52:40 +0200
bb9d397975
default ChaCha to ChaCha20
Steffen Jaeckel
2017-08-14 16:55:01 +0200
385bae81a1
Merge pull request #266 from libtom/pr/fix-lint-issues
karel-m
2017-08-13 18:16:55 +0200
de8a53a2e5
ocb3_test cosmetics
Karel Miko
2017-08-13 18:15:44 +0200
2a52c68f2e
fix lint issues from #199
Karel Miko
2017-08-13 14:54:39 +0200
daaab843f3
Merge pull request #263 from libtom/pr/crypt_sizes
Steffen Jaeckel
2017-08-11 13:27:23 +0200
6bbb450d40
remove trailing space
Larry Bugbee
2017-08-11 02:17:31 -0700
8b703c1505
remove traling space for Travis
Larry Bugbee
2017-08-11 02:16:26 -0700
bab115c631
converted demo_dynamic.py to Python3
Larry Bugbee
2017-08-11 01:27:21 -0700
ee55c4e51c
minor cleanup and formatting changes
Larry Bugbee
2017-08-11 01:21:59 -0700
695c3b235d
Update demo_dynamic.py
Larry Bugbee
2017-08-10 16:40:28 -0700
87d876f6ac
add comment about usage to demo_dynamic
Steffen Jaeckel
2017-08-09 12:10:42 +0200
35925eada5
improve constants demo
Steffen Jaeckel
2017-08-09 11:48:59 +0200
d5d4cadbde
PKA_{D,R}SA shouldn't be public
Steffen Jaeckel
2017-08-09 11:20:16 +0200
a247583e63
add error-codes to crypt_constants
Steffen Jaeckel
2017-08-09 11:18:13 +0200
9f548c9928
update demo_dynamic.py
Larry Bugbee
2017-08-09 11:13:13 +0200
91e5e8350b
ltc_dh_set_type can be hidden as well
Steffen Jaeckel
2017-08-08 19:35:11 +0200
d22b20833e
we don't expose internal structs
Steffen Jaeckel
2017-08-08 19:26:38 +0200
22822417c9
really define LTC_{DE,EN}CRYPT
Steffen Jaeckel
2017-08-08 19:26:19 +0200
a3a199e14b
update crypt_sizes.c
Larry Bugbee
2017-08-08 19:04:04 +0200
7a2aabf47e
update crypt_constants.c
Larry Bugbee
2017-08-08 19:02:11 +0200
9f02fde06e
improve sizes demo a bit
Steffen Jaeckel
2017-08-08 10:27:21 +0200
b79ae63408
add missing items to crypt_sizes
Karel Miko
2017-08-08 00:12:55 +0200
b5ab8ec811
update README.md a bit
Steffen Jaeckel
2017-08-09 14:20:32 +0200
231af66e03
Merge pull request #264 from libtom/pr/doxygen-warnings
karel-m
2017-08-09 09:53:19 +0200
0286b36ad6
fix doxygen warnings (as mentioned in #228 )
Karel Miko
2017-08-09 09:44:12 +0200
65dc00e23a
align HASH_PROCESS() macro
Steffen Jaeckel
2017-08-08 19:05:59 +0200
c29c9f140d
disable DSA4096 timing tests when building for TFM
Steffen Jaeckel
2017-08-08 08:47:58 +0200
227838bb09
Merge pull request #261 from libtom/improve/test_without_mpi
Steffen Jaeckel
2017-08-08 08:46:31 +0200
a65cfb8dbe
make it possible to 'make all' w/o an MPI provider
Steffen Jaeckel
2017-08-07 21:11:42 +0200
7993ce8e10
Merge pull request #262 from libtom/pr/ocb3-done-taglen-fix
Steffen Jaeckel
2017-08-07 21:07:25 +0200
9139b59699
OCBv3: fix testvector generation
Steffen Jaeckel
2017-08-07 19:43:09 +0200
9952fac68e
tv.txt contains errors from tv_gen
Steffen Jaeckel
2017-08-07 19:37:53 +0200
f647baa778
OCBv3: ocb3_init taglen check
Karel Miko
2017-08-07 18:14:19 +0200
af63d0a55f
OCBv3: improved handling of taglen in ocb3_done
Karel Miko
2017-08-07 17:47:11 +0200
41130900d0
fix 1. help-line of openssl-enc
Steffen Jaeckel
2017-08-07 17:28:49 +0200
28ecdd5d12
minor improvements
Steffen Jaeckel
2017-08-07 16:33:38 +0200
ac4687d88d
also put LTC_TEST_DBG in crypt_build_settings
Steffen Jaeckel
2017-08-07 16:18:15 +0200
44076e3815
Merge branch 'fix/254' into release/1.18.0
Steffen Jaeckel
2017-08-07 16:05:38 +0200
7a59f71af8
fix warning
Steffen Jaeckel
2017-08-01 18:02:58 +0200
32355d04bb
fix endianness detection for some versions of gcc
Steffen Jaeckel
2017-08-01 17:58:33 +0200
9f020b17df
limit malloc'ed data in eax_decrypt_verify_memory()
Steffen Jaeckel
2017-08-03 15:00:37 +0200
05f7393067
Merge pull request #256 from libtom/fix/256
Steffen Jaeckel
2017-08-07 16:03:39 +0200
6ac1c5fa34
OCBv3: fix demos/timing failures
Karel Miko
2017-08-07 07:48:21 +0200
3ecd18763b
OCBv3: better taglen limitation
Steffen Jaeckel
2017-08-03 13:40:57 +0200
3b4d39ea45
OCBv3: improve a bit when ARGCHK'ing pointers
Steffen Jaeckel
2017-08-03 13:40:26 +0200
868c5a82c3
OCBv3: fix handling of empty plaintext
Steffen Jaeckel
2017-08-03 13:19:12 +0200
bc0c18f347
Update makefiles
Steffen Jaeckel
2017-08-02 18:55:42 +0200
0c2ff4a1b0
OCBv3: small review
Steffen Jaeckel
2017-08-02 18:55:34 +0200
d77cf0e248
OCBv3: implement RFC7253 compliance
Steffen Jaeckel
2017-08-02 17:45:59 +0200
1aaa5abb33
ocb3: check the length of the nonce
Steffen Jaeckel
2017-08-02 14:41:46 +0200
b2448c593a
ocb3: properly handle empty AAD
Steffen Jaeckel
2017-08-01 14:44:37 +0200
4805c89adb
add ARGTYPE to crypt_build_settings
Steffen Jaeckel
2017-08-01 14:21:11 +0200
541ab1c16c
Fix crypt.tex with newer TeXLive (thanks Norbert Preining)
Michael Stapelberg
2017-08-01 10:18:34 +0200
129bc7175f
beautify dh & rsa
Steffen Jaeckel
2017-07-21 10:16:19 +0200
6b925485a8
make sure to request an element which is always available
Steffen Jaeckel
2017-07-20 13:34:16 +0200
ab8c5b8b49
fix help of {un,}install targets
Steffen Jaeckel
2017-07-20 12:58:28 +0200
61eb98b76e
add compile-time check for sprng requirements
Steffen Jaeckel
2017-07-20 12:47:19 +0200
a46d6eb819
remove define of LTC_NO_FILE when defining LTC_NOTHING
Steffen Jaeckel
2017-07-19 16:41:21 +0200
83407feaa6
Merge pull request #250 from libtom/pr/readme-building
Steffen Jaeckel
2017-07-17 18:34:52 +0200
1e1170df29
move timing to BROKEN_DEMOS
Steffen Jaeckel
2017-07-14 14:55:47 +0200
24c5b74193
introduce 'make help'
Steffen Jaeckel
2017-07-14 12:18:51 +0200
bffaab4eed
re-group demos and really build everything in 'all' target
Steffen Jaeckel
2017-07-14 12:18:18 +0200
22c13b49d8
oops, refman.pdf can't be built with DOT
Steffen Jaeckel
2017-07-14 12:13:10 +0200
0e081d666a
improve error message when using makefile on Mac OSX
Steffen Jaeckel
2017-07-14 12:45:09 +0200
4cb8936a31
update readme
Steffen Jaeckel
2017-07-13 14:30:16 +0200
bfe6c4d35c
improved README - building instructions
Karel Miko
2017-07-12 23:15:26 +0200
ff54ec2f0d
Merge pull request #253 from libtom/pr/rc2-fix-win64
karel-m
2017-07-14 20:41:10 +0200
909b4954a9
fix MS Windows/64bit related warnings
Karel Miko
2017-07-14 19:59:03 +0200
aa0f396c0c
Update makefiles
Steffen Jaeckel
2017-07-13 14:58:01 +0200
535358ec28
bump version
Steffen Jaeckel
2017-07-13 14:57:45 +0200
89d0c64335
Merge pull request #247 from libtom/pr/custom_compile_flags
Steffen Jaeckel
2017-07-13 14:34:05 +0200
a2f48578e9
also pre-pend -Itests
Steffen Jaeckel
2017-07-12 22:48:46 +0200
a949ef5a89
append instead of prepend CFLAGS for the other makefiles
Steffen Jaeckel
2017-07-11 15:37:31 +0200
b1c0227d54
introduce LTC_CFLAGS and LTC_LDFLAGS
Steffen Jaeckel
2017-07-10 11:48:05 +0200
24e69b2956
more printf() clean-up
Steffen Jaeckel
2017-07-10 12:56:26 +0200
8b7edf5478
update DOT max values
Steffen Jaeckel
2017-07-10 12:41:20 +0200
c6b93ae72e
Merge branch 'pr/245' into release/1.18.0
Steffen Jaeckel
2017-07-10 13:04:23 +0200
37de73db01
add static _chc_process like in its prototype
Francois Perrad
2017-07-09 18:56:15 +0200
53c62b3670
remove redundant prototypes
Francois Perrad
2017-07-09 18:45:07 +0200
70f8a57f01
Merge pull request #249 from libtom/pr/dh-dsa-api
Steffen Jaeckel
2017-07-11 10:36:09 +0200
1819a02d5a
update comments
Steffen Jaeckel
2017-07-11 10:32:53 +0200
e20e204b8c
dh_set_key + dsa_set_key API change described in #248
Karel Miko
2017-07-11 00:13:26 +0200
fa4713b68e
Merge pull request #246 from libtom/pr/gcm-corner-cases
karel-m
2017-07-10 23:26:13 +0200
0792e3701e
GCM allow skipping gcm_add_aad and gcm_process
Karel Miko
2017-07-09 21:45:17 +0200
dd5996dd1f
don't find the lo's to link, but use the list of objects
Steffen Jaeckel
2017-07-10 10:20:36 +0200
221f7f223d
add 'uninstall' make target
Steffen Jaeckel
2017-07-10 10:16:35 +0200
3806629e9e
fix default make target
Steffen Jaeckel
2017-07-09 16:45:04 +0200
4d897a36a3
Merge pull request #243 from libtom/pr/fix-chmod
Steffen Jaeckel
2017-07-09 17:34:04 +0200
b89f3d8b5a
fix: chmod -x notes/rsa-testvectors/*.txt
Karel Miko
2017-07-09 10:37:31 +0200
2aa42f002f
fix: chmod -x
Karel Miko
2017-07-08 18:20:00 +0200
68bf547f9c
use rsa_free() on error in rsa_make_key()
Steffen Jaeckel
2017-07-09 16:02:11 +0200
749873c306
fix docs generation with TeX Live 2017
Steffen Jaeckel
2017-07-06 10:19:38 +0200
f15e0172ca
Travis: also build master and 'release/*' branches
Steffen Jaeckel
2017-07-05 14:43:21 +0200
e53858c740
update VERSION variables in makefiles
Steffen Jaeckel
2017-07-05 13:57:13 +0200
a8965f048a
Update makefiles
Steffen Jaeckel
2017-07-05 13:29:05 +0200
fa5acee802
bump version
Steffen Jaeckel
2017-07-05 13:28:36 +0200
d03635acab
support patch-releases in helper.pl
Steffen Jaeckel
2017-07-05 13:20:50 +0200
ac6f62badc
update changes
Steffen Jaeckel
2017-07-05 13:04:59 +0200
b59f066de3
update prng section in doc
Steffen Jaeckel
2017-06-28 19:10:45 +0200
ac6fb72ef1
fix some doxygen headers
Steffen Jaeckel
2017-06-28 17:06:14 +0200
6598dc0c3f
update Doxyfile
Steffen Jaeckel
2017-06-28 16:45:46 +0200
e1fcd3ab04
add hashsum multi-hash option
Steffen Jaeckel
2017-07-05 14:26:53 +0200
ebc9d2943b
Merge pull request #239 from libtom/pr/asn1-small-fixes
Steffen Jaeckel
2017-07-05 12:46:59 +0200
7d60fd2bfe
don't expose der_length_sequence_ex()
Steffen Jaeckel
2017-07-05 11:52:46 +0200
4bc1489584
small ASN.1 changes extracted from ECC stuff
Karel Miko
2017-06-22 12:42:08 +0200
ce1ba58f00
Merge pull request #238 from libtom/proposal/ltc_pk_part
Steffen Jaeckel
2017-07-05 11:33:17 +0200
c2f50459e2
better doc of radix_to_bin()
Steffen Jaeckel
2017-07-05 10:25:01 +0200
4221c44fbc
rename rand_bn_range() to rand_bn_upto()
Steffen Jaeckel
2017-07-05 10:03:56 +0200
22919cd4f2
rand_bn_range(): count bits once
Steffen Jaeckel
2017-07-04 10:58:10 +0200
8167b4d1cc
Update makefiles
Steffen Jaeckel
2017-07-04 10:30:50 +0200
a6aef23438
dh_make_key() is now dh_generate_key()
Steffen Jaeckel
2017-07-04 10:30:01 +0200
e647f9a0e4
not good to check that prng is non-NULL
Steffen Jaeckel
2017-07-04 10:20:56 +0200
a0f2abc5b5
re-format
Steffen Jaeckel
2017-07-04 10:18:21 +0200
a80abb1222
put dh_set_pg_dhparam() in own c file
Steffen Jaeckel
2017-07-04 10:18:04 +0200
5640f8afc7
put dsa_set_pqg_dsaparam() in own c file
Steffen Jaeckel
2017-07-04 10:17:47 +0200
3c2e0d6686
dsa_make_key_ex() is now dsa_generate_key()
Steffen Jaeckel
2017-07-04 10:16:01 +0200
dbeaefd65b
remove LTC_{DH,DSA}_KEY_INITIALIZER
Steffen Jaeckel
2017-07-04 10:13:59 +0200
d1ecd82a42
use rand_bn_range() where possible
Steffen Jaeckel
2017-06-28 20:50:21 +0200
bdfecc5f3c
more doc updates
Steffen Jaeckel
2017-06-28 16:45:29 +0200
d64880eeb1
add dsa_set_pqg_dsaparam()
Steffen Jaeckel
2017-06-28 16:07:54 +0200
35e0c5fc71
clean-up a bit around DSA
Steffen Jaeckel
2017-06-28 16:07:32 +0200
1cce065676
Update makefiles
Steffen Jaeckel
2017-06-28 14:40:45 +0200
0aad68c20d
clean-up some PK tests
Steffen Jaeckel
2017-06-28 14:39:27 +0200
cfff656e25
re-factor dsa_make_key() etc.
Steffen Jaeckel
2017-06-28 14:35:57 +0200
24946d08b7
use mp_cleanup_multi()
Steffen Jaeckel
2017-06-28 14:19:12 +0200
ed149c9396
add tests for radix_to_bin()
Steffen Jaeckel
2017-06-28 14:02:25 +0200
76b9bba857
introduce mp_cleanup_multi()
Steffen Jaeckel
2017-06-28 13:27:10 +0200
292f42d3c0
Merge pull request #227 from libtom/pr/dh_make_key_ex
Steffen Jaeckel
2017-06-27 22:25:00 +0200
37ce78fdc8
Update makefiles
Steffen Jaeckel
2017-06-27 22:10:10 +0200
f2f113880b
also rename file
Steffen Jaeckel
2017-06-27 22:10:07 +0200
c493a2a0a3
re-factor dh_export_radix() to dh_export_key()
Steffen Jaeckel
2017-06-27 22:09:21 +0200
f226efc9a9
Update makefiles
Steffen Jaeckel
2017-06-27 21:54:21 +0200
9d6689fc08
re-factor dh_make_key() and variants
Steffen Jaeckel
2017-06-27 21:54:16 +0200
fbc54756c1
replace dh_import_radix() by dh_set_{pg,key}
Steffen Jaeckel
2017-06-27 21:53:02 +0200
b3e535f933
update makefiles
Karel Miko
2017-06-22 10:21:41 +0200
f60e2902ed
dh_make_key_ex dh_export_radix dh_import_radix
Karel Miko
2017-06-22 10:21:32 +0200
a42f467ff1
Update makefiles
Steffen Jaeckel
2017-06-27 17:52:51 +0200
ae7d4d2947
re-factor rsa_test() to new rsa_set_X() API
Steffen Jaeckel
2017-06-27 17:52:30 +0200
627f6696cb
add radix_to_bin()
Steffen Jaeckel
2017-06-27 17:44:33 +0200
6b798ca6a6
replace rsa_import_radix() by rsa_set_{key,factors,crt_params}()
Steffen Jaeckel
2017-06-27 17:44:19 +0200
05e9f0ee79
Revert "use ltc_pk_part in rsa_import_radix()"
Steffen Jaeckel
2017-06-27 16:30:05 +0200
083e8af78b
Revert "also test binary import"
Steffen Jaeckel
2017-06-27 16:30:02 +0200
4afc024f6a
also test binary import
Steffen Jaeckel
2017-06-20 12:52:31 +0200
bfae92e4ab
use compare_testvector() in rsa_test()
Steffen Jaeckel
2017-06-20 12:52:10 +0200
00a5212d99
use ltc_pk_part in rsa_import_radix()
Steffen Jaeckel
2017-06-20 12:28:40 +0200
51ac4da8fc
Merge pull request #241 from libtom/cleanup/4
Steffen Jaeckel
2017-06-27 20:04:59 +0200
0a6af8d333
rsa_exptmod(): verify that p and q are valid before going the CRT path
Steffen Jaeckel
2017-06-27 19:01:56 +0200
f5b8cc9dae
this should really implement a patch for the illegal access
Steffen Jaeckel
2017-06-27 12:35:39 +0200
1a3880fda5
Revert "re-factor size checks in blake2 implementations"
Steffen Jaeckel
2017-06-27 12:33:40 +0200
af38b1830e
re-factor size checks in blake2 implementations
Steffen Jaeckel
2017-06-26 14:02:52 +0200
907d5301ee
update coverity build script to use makefile.unix
Steffen Jaeckel
2017-06-23 16:46:31 +0200
3cfb2a5e2e
hide some of the 'new since 1.17' internal functions
Steffen Jaeckel
2017-06-23 14:14:05 +0200
a80d3c00a8
no need for DH_BUF_SIZE
Steffen Jaeckel
2017-06-22 17:05:40 +0200
c15d656a23
crypt{,.exe} is now ltcrypt{,.exe}
Steffen Jaeckel
2017-06-23 09:08:42 +0200
e68d846429
hopefully finally fix usage of $(DESTDIR)
Steffen Jaeckel
2017-06-23 07:57:47 +0200
cd6e602b48
Merge pull request #240 from fperrad/20170622_lint
Steffen Jaeckel
2017-06-23 10:06:13 +0200
446fec1bc4
refactor switch with default
Francois Perrad
2017-06-22 17:13:05 +0200
1725b87098
Merge pull request #234 from libtom/cleanup/3
Steffen Jaeckel
2017-06-22 16:01:14 +0200
5ce602558f
Revert "also use DESTDIR in makefile.m{ingw,svc}"
Steffen Jaeckel
2017-06-22 14:41:37 +0200
09c4d4c93b
proper use of $(DESTDIR)
Steffen Jaeckel
2017-06-22 11:29:40 +0200
e3937a2906
fix compile warning when building w/o tests
Steffen Jaeckel
2017-06-22 09:46:08 +0200
11338d2496
introduce XMEMMOVE and check for its usage
Steffen Jaeckel
2017-06-22 08:41:25 +0200
e9c90e7f63
no need to use XMEM_NEQ()
in PK crypto
Steffen Jaeckel
2017-06-22 08:38:23 +0200
ae698927ff
improve mem_neq()
documentation
Steffen Jaeckel
2017-06-21 14:39:08 +0200
1655e63c49
also use DESTDIR in makefile.m{ingw,svc}
Steffen Jaeckel
2017-06-21 10:11:04 +0200
af984dc33e
exclude more sources from "static function check"
Steffen Jaeckel
2017-06-20 19:59:07 +0200
1bf42ea99a
update some of the static functions
Steffen Jaeckel
2017-06-20 19:58:13 +0200
8f433f1a36
add check for static function names
Karel Miko
2017-06-20 19:22:15 +0200
27b3ffc627
use compare_testvector() instead of XMEMCMP() in tests
Steffen Jaeckel
2017-06-20 19:06:26 +0200
05e28d6cfa
fix potential timing attacks in rsa, eax, ocb and ocb3
Steffen Jaeckel
2017-06-20 15:55:35 +0200
b03b93099d
allow to give only a part as parameter to ./test
Steffen Jaeckel
2017-06-20 12:11:16 +0200
36132b016f
update title page of pdf doc
Steffen Jaeckel
2017-06-20 12:03:11 +0200
316450c20e
Merge pull request #237 from libtom/pr/dh-facelift-part1
karel-m
2017-06-22 14:16:36 +0200
243a1dc33e
drop _dh_make_key_ex
Karel Miko
2017-06-22 12:20:34 +0200
cba1569c82
fix tomcrypt_pk.h
Karel Miko
2017-06-22 10:18:48 +0200
a0257df999
update makefiles
Karel Miko
2017-06-22 10:14:19 +0200
5eaff56d90
remove dh_export_radix.c dh_import_radix.c
Karel Miko
2017-06-22 10:14:04 +0200
f4ce5a21c8
helper.pl - enable check_comments for --check-all
Karel Miko
2017-06-22 09:53:55 +0200
f9802359c9
update makefiles
Karel Miko
2017-06-22 09:48:17 +0200
771d67e102
DH facelift part1
Karel Miko
2017-06-22 09:48:10 +0200
5e71ac27e2
Merge pull request #230 from libtom/math/miller-rabin
Steffen Jaeckel
2017-06-22 12:44:33 +0200
26b57032e7
use correct amount of M-R tests in dsa_make_params()
Steffen Jaeckel
2017-06-14 16:57:27 +0200
7453eddae9
improve ltc_math_descriptor a bit
Steffen Jaeckel
2017-06-12 13:45:07 +0200
6f85293672
Merge pull request #235 from libtom/pr/ecc_sign+verify_hash_rfc7518
karel-m
2017-06-21 14:33:37 +0200
ac02f7422b
ecc_sign+verify_hash_rfc7518 tests
Karel Miko
2017-06-21 13:43:25 +0200
b8f22157b3
PK_MAX_RETRIES
Karel Miko
2017-06-21 13:38:39 +0200
0c115a162d
whitespace
Karel Miko
2017-06-21 13:26:52 +0200
fff832091f
ecc_sign_hash max_iterations
Karel Miko
2017-06-21 13:25:06 +0200
cdf04b6140
fix mp_montgomery_setup
Karel Miko
2017-06-21 13:01:22 +0200
a937f23821
static functions name fix
Karel Miko
2017-06-21 12:43:12 +0200
67200b641d
ecc_sign+verify_hash_raw > ecc_sign+verify_hash_rfc7518
Karel Miko
2017-06-21 12:11:35 +0200
c14bcf4d30
Merge pull request #233 from libtom/cleanup/2
Steffen Jaeckel
2017-06-20 17:51:16 +0200
18c00ddcd6
better usage of find()
Steffen Jaeckel
2017-06-20 10:01:47 +0200
5246c7de64
fix links in pdf doc
Steffen Jaeckel
2017-06-19 23:38:33 +0200
8e29a6061f
use {BIN,DATA,INC,LIB}PATH in makefile.unix
Steffen Jaeckel
2017-06-19 22:59:16 +0200
6fc0a90a1e
fix headers & footers in demos & tests
Steffen Jaeckel
2017-06-19 15:49:18 +0200
4cd1355b8f
more clean-up of headers/footers
Steffen Jaeckel
2017-06-19 14:06:38 +0200
fe19dad623
replace SVN tags
Steffen Jaeckel
2017-06-19 13:43:49 +0200
8c11490e2d
fix usage of PREFIX vs. DESTDIR
Steffen Jaeckel
2017-06-19 12:20:37 +0200
7597d20c78
use CROSS_COMPILE instead of PREFIX to indicate toolchain prefix
Steffen Jaeckel
2017-06-19 11:51:40 +0200
b16066cbfc
Add possibility to change install options
Steffen Jaeckel
2017-06-19 10:34:02 +0200
66527b3e5e
include "tomcrypt.h", not <tomcrypt.h>
Steffen Jaeckel
2017-06-17 13:23:56 +0200
fb35d5be54
more clean-up of headers
Steffen Jaeckel
2017-06-17 13:18:47 +0200
4dc211e19d
clean-up headers
Steffen Jaeckel
2017-06-17 13:12:06 +0200
2fd5808897
timing - silence valgrind warning (memleak)
Karel Miko
2017-06-20 01:33:23 +0200
e5f25b6553
tests+timing - silence valgrind warning (memleak)
Karel Miko
2017-06-19 20:09:20 +0200
03437a1bdd
timing - silence valgrind warning
Karel Miko
2017-06-19 18:51:04 +0200
8dec4d9ac4
prng_test - silence valgrind warning
Karel Miko
2017-06-19 12:28:22 +0200
cbc4260314
Merge pull request #229 from libtom/cleanup/1
Steffen Jaeckel
2017-06-15 10:31:15 +0200
f2076f0700
use zeromem() where appropriate
Steffen Jaeckel
2017-06-12 13:08:37 +0200
258de3cecc
use ltc_mp_digit instead of unsigned long
Steffen Jaeckel
2017-06-12 13:07:12 +0200
d6e2a585d0
sync doc from ltc_math_descriptor
Steffen Jaeckel
2017-06-12 12:41:55 +0200
98b500e873
update crypt_build_settings et al.
Steffen Jaeckel
2017-06-12 12:29:16 +0200
0cf7c49045
sync ltc_math_descriptor from doc
Steffen Jaeckel
2017-06-12 12:02:10 +0200
a0e5c2e4ff
add some makefile docs
Steffen Jaeckel
2017-06-13 14:57:07 +0200
3995f971d7
make sure to use makefile.shared on Mac
Steffen Jaeckel
2017-06-13 12:25:25 +0200
048cbc55b0
disable yet another warning
Steffen Jaeckel
2017-06-12 18:47:28 +0200
2cd69fb541
improved helper.pl (check mandatory comments - not included in "--check-all" yet)
Karel Miko
2017-06-14 17:16:26 +0200
23d5a02ecd
Merge pull request #217 from libtom/scan-build
Steffen Jaeckel
2017-06-14 09:19:19 +0200
31ddf7c894
...
Steffen Jaeckel
2017-06-13 18:28:14 +0200
ac41d07247
try libtommath from ubuntu
Steffen Jaeckel
2017-06-13 18:21:06 +0200
ea08fbb777
use libtommath from debian sid
Steffen Jaeckel
2017-06-13 18:13:00 +0200
ba94b536be
this is a horrible PR
Steffen Jaeckel
2017-06-13 18:03:15 +0200
1ee2662ab5
only run scan_build.sh once
Steffen Jaeckel
2017-06-13 17:48:21 +0200
52672bc358
m(
Steffen Jaeckel
2017-06-13 17:48:08 +0200
9baba0a83a
fix usage of makefile.unix
Steffen Jaeckel
2017-06-13 17:21:46 +0200
ebfd164246
alright, let's also use ltm from packagecloud
Steffen Jaeckel
2017-06-13 17:21:12 +0200
3bb9193d6f
alright, let's try if upgrading to trusty helps...
Steffen Jaeckel
2017-06-13 16:28:37 +0200
75e00e097c
well, then install a new clang version and see...
Steffen Jaeckel
2017-06-13 16:14:48 +0200
ff2de0b07a
looks like precise doesn't have scan-build under that name
Steffen Jaeckel
2017-06-13 15:50:49 +0200
742b4cee78
add clang scan-build
Steffen Jaeckel
2017-05-22 22:54:51 +0200
bda493d770
Merge pull request #226 from fperrad/20170609_lint
Steffen Jaeckel
2017-06-13 12:17:16 +0200
0bc0d55245
refactor REGISTER_*
Francois Perrad
2017-06-09 15:14:35 +0200
ec51f880b5
Right hand side of assignment needs parenthesis
Francois Perrad
2017-06-09 09:50:24 +0200
f40bda7cb3
fix indentation
Francois Perrad
2017-06-09 09:37:10 +0200
caa05540b7
Merge pull request #172 from libtom/test_tfm
Steffen Jaeckel
2017-06-12 23:08:10 +0200
f45f2f4faf
only create coverage for ltm build
Steffen Jaeckel
2017-06-12 17:40:14 +0200
a9838f7745
fix linking to tomsfastmath & clean-up
Steffen Jaeckel
2017-06-12 15:58:19 +0200
104a451def
use packagecloud repo to install tfm
Steffen Jaeckel
2017-06-12 15:34:36 +0200
e2af986085
make output verbose again
Steffen Jaeckel
2017-05-10 19:23:31 +0200
fec05471ae
the latest tfm version has fp_rand() available, so we can test this now
Steffen Jaeckel
2017-03-22 18:59:56 +0100
a4671110d5
Merge pull request #198 from libtom/test/pthread
Steffen Jaeckel
2017-06-12 18:44:01 +0200
5de7e58e84
disable yet another clang warning
Steffen Jaeckel
2017-06-09 17:04:16 +0200
73934ad2fd
add ld option -pthread
when LTC_PTHREAD is enabled
Steffen Jaeckel
2017-06-09 15:49:03 +0200
48e4ec07be
use LTC_ARGCHK()
for all mutex operations
Steffen Jaeckel
2017-06-09 15:48:02 +0200
3b4e5df858
create separate no_prng instances
Steffen Jaeckel
2017-06-09 15:04:46 +0200
42a82ce3ed
fix valgrind errors
Steffen Jaeckel
2017-06-09 14:43:03 +0200
a06cba4cb5
fix tests when compiled for pthread
Steffen Jaeckel
2017-06-09 13:34:26 +0200
b38cf104f0
move prng-tests away from cipher_hash_test()
Steffen Jaeckel
2017-06-09 13:30:28 +0200
904366eb0f
check that all ciphers/hashes/prngs are unregistered
Steffen Jaeckel
2017-06-09 12:46:41 +0200
be9c598ee7
add new travis tests with pthread support
Steffen Jaeckel
2017-05-11 15:00:32 +0200
e6cd8e8112
fix failing tests with pthreads enabled
Steffen Jaeckel
2017-05-11 14:51:27 +0200
d6a77f5d6d
implement pthread support for tests
Steffen Jaeckel
2017-05-11 14:49:57 +0200
4a6d107227
Merge pull request #225 from libtom/pr/fix-114-dh-primes
karel-m
2017-06-12 17:12:33 +0200
4f12e41d29
fix trailing ;
Karel Miko
2017-06-12 16:35:27 +0200
114b694735
trying to fix dh_shared_secret - #119
Karel Miko
2017-06-11 23:20:46 +0200
bc4236d90f
tuning dh_make_key
Karel Miko
2017-06-11 21:12:14 +0200
361778d2ac
another dh_make_key redesign
Karel Miko
2017-06-11 19:43:08 +0200
71884788e3
fix warning: comparison between signed and unsigned integer
Karel Miko
2017-06-11 10:12:18 +0200
532c511f52
improved dh_make_key
Karel Miko
2017-06-10 23:02:30 +0200