Steffen Jaeckel
799e147254
Update makefiles
2018-02-25 20:42:26 +01:00
Steffen Jaeckel
5230977219
implement the Custom-type de-/encoders
2018-02-25 20:42:26 +01:00
Steffen Jaeckel
0d02137a8e
add required ASN.1 custom-types functions
2018-02-25 20:42:26 +01:00
Steffen Jaeckel
1b3a757345
add ASN.1-identifier functions
2018-02-25 20:42:26 +01:00
Steffen Jaeckel
509ad5222f
add maps for ASN.1 en-/decoding
2018-02-25 20:42:26 +01:00
Steffen Jaeckel
64875d3a8f
add ASN.1-length functions
2018-02-25 20:42:26 +01:00
Steffen Jaeckel
2a78ed31bf
add CRYPT_PK_ASN1_ERROR
2018-02-25 20:42:26 +01:00
Steffen Jaeckel
54dd6ce840
fix naming of SubjectPublicKeyInfo de-&encoder
2018-02-25 20:42:26 +01:00
Karel Miko
fd7c2b8c1f
no need for der_decode_subject_public_key_info_ex
2018-02-25 20:42:26 +01:00
Karel Miko
f155d3c530
ASN.1 changes required fo future ECC enhancements
2018-02-25 20:42:26 +01:00
Steffen Jaeckel
11cda2e274
Merge pull request #350 from libtom/fix/no-file-warnings
...
Fix warnings in `XMAC_file()` functions when compiling with `LTC_NO_FILE`.
2018-02-25 20:35:49 +01:00
Steffen Jaeckel
b1b40d48fa
silencio por favor
...
Fix warnings in `XMAC_file()` functions when compiling with `LTC_NO_FILE`.
2018-02-25 17:17:04 +01:00
Steffen Jaeckel
5a3a12c9b3
don't export .travis.yml in future releases
2018-01-22 11:09:38 +01:00
Steffen Jaeckel
fa96614366
Update makefiles
2018-01-22 11:05:22 +01:00
Steffen Jaeckel
d68de4d26d
show in SCRYPT etc. that we're on develop
2018-01-22 11:05:20 +01:00
Steffen Jaeckel
7de2d910fe
libtomcrypt v1.18.1
...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Gnu Privacy Tools
iF4EABEIAAYFAlpltt4ACgkQrwyxdiHtrXIaugD+PZ1lGJ3Hhm5nQzVycQqp5ryc
BbfeJhhrRVr1art3ftMA/2AOFXS0SEKtkgALCh1qJkK9YwZIZcDGPqSl/6uTEbKq
=1DpZ
-----END PGP SIGNATURE-----
Merge tag 'v1.18.1' into develop
libtomcrypt v1.18.1
2018-01-22 11:04:49 +01:00
Steffen Jaeckel
e08fd8630f
Merge branch 'release/1.18.1'
2018-01-22 11:02:57 +01:00
Steffen Jaeckel
60df7d360a
Fix 'fixme check'
...
The error produced by `make zipup` - but ignored by make - was:
```
...
fixme check
makefile_include.mk:448: recipe for target 'zipup' failed
make: [zipup] Error 123 (ignored)
mkdir -p libtomcrypt-...
```
2018-01-22 11:01:34 +01:00
Steffen Jaeckel
c7ff3bb86e
Bump revision
2018-01-22 10:45:28 +01:00
Steffen Jaeckel
08e0424d52
Update changes
2018-01-22 10:06:54 +01:00
Steffen Jaeckel
4800543664
add -p switch to install
commands in GNU makefiles
...
This fixes #340
[skip ci]
(cherry picked from commit fc6eb3ecf0
)
2018-01-22 10:05:03 +01:00
Steffen Jaeckel
fc6eb3ecf0
add -p switch to install
commands in GNU makefiles
...
This fixes #340
[skip ci]
2018-01-21 13:23:14 +01:00
Steffen Jaeckel
da7054820c
Fix some latex formatting errors
...
[skip ci]
2018-01-20 15:31:00 +01:00
Tetsuya Yoshizaki
144839a8db
ltc: ctr: update pt and ct after acceleration
...
Problem occurs in the condition of the following case:
1st decryption:
Decrypt a ciphertext whose length is a multiple of the block size (16B)
(len = n * block_size)
2nd decryption:
Decrypt the continuing ciphertext whose length is not a multiple of the
block size
(len = m * block_size + l)
In this case accel_ctr_encrypt() is firstly used at the 2nd decryption.
If pt and ct are not updated, the top (l = len % block_size) bytes of
decryption result are sometimes destroyed.
From: Tetsuya Yoshizaki <yoshizaki.tetsuya@socionext.com>
Signed-off-by: Tetsuya Yoshizaki <yoshizaki.tetsuya@socionext.com>
Signed-off-by: Victor Chong <victor.chong@linaro.org>
(cherry picked from commit d1d3ae2d1e
)
2018-01-19 10:01:03 +01:00
Tetsuya Yoshizaki
d1d3ae2d1e
ltc: ctr: update pt and ct after acceleration
...
Problem occurs in the condition of the following case:
1st decryption:
Decrypt a ciphertext whose length is a multiple of the block size (16B)
(len = n * block_size)
2nd decryption:
Decrypt the continuing ciphertext whose length is not a multiple of the
block size
(len = m * block_size + l)
In this case accel_ctr_encrypt() is firstly used at the 2nd decryption.
If pt and ct are not updated, the top (l = len % block_size) bytes of
decryption result are sometimes destroyed.
From: Tetsuya Yoshizaki <yoshizaki.tetsuya@socionext.com>
Signed-off-by: Tetsuya Yoshizaki <yoshizaki.tetsuya@socionext.com>
Signed-off-by: Victor Chong <victor.chong@linaro.org>
2018-01-19 09:39:25 +01:00
Steffen Jaeckel
5501572b35
Merge pull request #339 from libtom/minor_improvements
...
Minor improvements
(cherry picked from commit df8ed5c76b
)
2018-01-15 00:39:26 +01:00
Steffen Jaeckel
df8ed5c76b
Merge pull request #339 from libtom/minor_improvements
...
Minor improvements
2018-01-14 22:31:24 +01:00
Steffen Jaeckel
aa8441409e
fix some DER bugs
...
1. the "ask for required memory size" pattern wasn't implemented for
`der_decode_object_identifier()`
2. fix wrong "required memory size" returned by UTF-8 de- & encoder
2018-01-11 18:06:23 +01:00
Steffen Jaeckel
a898fde5b7
better debug output
2018-01-11 18:06:23 +01:00
Larry Bugbee
48a798261d
Merge pull request #334 from libtom/add-rabbit
...
Add Rabbit stream cipher
2017-12-18 04:16:32 -08:00
Larry Bugbee
8ef60f7b47
add rabbit
2017-12-17 08:05:41 -08:00
Larry Bugbee
784fc5313c
makefile updates
2017-12-17 08:05:41 -08:00
Steffen Jaeckel
f4d2b37cf4
Merge pull request #337 from libtom/fix/prng_pthread
...
prevent undefined behavior with LTC_PTHREAD
(cherry picked from commit 45db2a9d9a
)
2017-12-17 01:20:32 +01:00
Karel Miko
dd868600b3
fix staticfunc_name detection
...
(cherry picked from commit 6d71d657ef
)
2017-12-17 01:05:53 +01:00
Steffen Jaeckel
10ad3b5b41
fixup type of type
in ltc_asn1_list
doc
...
(cherry picked from commit 5e3e7e5304
)
2017-12-17 01:05:43 +01:00
Steffen Jaeckel
8ef3b9dffd
Merge pull request #335 from libtom/minor_cleanup
...
Minor cleanup
2017-12-17 00:43:35 +01:00
Steffen Jaeckel
35c4d157d0
as of POSIX.1-2008 gettimeofday() is obsolete
2017-12-16 16:02:00 +01:00
Steffen Jaeckel
b84bea8e78
easier calculation
2017-12-16 16:02:00 +01:00
Steffen Jaeckel
38143771d7
Update makefiles
2017-12-16 16:02:00 +01:00
Steffen Jaeckel
fd46a74331
re-order tomcrypt_mac.h
2017-12-16 16:02:00 +01:00
Steffen Jaeckel
8fffebc395
fix .travis.yml
2017-12-16 16:02:00 +01:00
Steffen Jaeckel
5c0b1b4bf6
add copy_or_zeromem()
2017-12-16 16:02:00 +01:00
Steffen Jaeckel
c0b7c8dd67
more output in debug build
...
make compare_testvector() a bit more verbose in debug build
2017-12-10 12:35:59 +01:00
Steffen Jaeckel
5546e85218
introduce LTC_EXTRALIBS
...
it's used for libraries added in the makefile
2017-12-10 12:35:59 +01:00
Karel Miko
6d71d657ef
fix staticfunc_name detection
2017-12-10 12:35:59 +01:00
Steffen Jaeckel
5e3e7e5304
fixup type of type
in ltc_asn1_list
doc
2017-12-10 12:35:59 +01:00
Steffen Jaeckel
ea43e5dd68
suppress 'missing-braces' warnings
2017-12-10 12:35:59 +01:00
Steffen Jaeckel
196f25e32f
there should be no need to pass CFLAGS when linking
2017-12-10 12:35:59 +01:00
Steffen Jaeckel
45db2a9d9a
Merge pull request #337 from libtom/fix/prng_pthread
...
prevent undefined behavior with LTC_PTHREAD
2017-12-10 12:35:01 +01:00
Steffen Jaeckel
c0eefc2b20
prevent undefined behavior with LTC_PTHREAD
...
as of `man pthread_mutex_init`:
"Attempting to initialize an already initialized mutex
results in undefined behavior."
2017-12-07 14:56:44 +01:00