Karel Miko
39425a94c5
improved source checks
2017-03-15 23:13:46 +01:00
Karel Miko
421a241ccf
travis script - check wheather makefiles are updated
2017-03-09 20:19:46 +01:00
Francois Perrad
808616d406
sanitize some Perl scripts
...
(Perl4 is gone)
2017-02-28 19:59:58 +01:00
Karel Miko
6c8d00d1fd
part of feature/doc changes
2017-02-28 17:35:57 +01:00
Steffen Jaeckel
55776b0ac9
update makefiles
2017-02-21 16:57:21 +01:00
Steffen Jaeckel
43517bca83
update makefiles
2017-02-21 16:54:11 +01:00
Steffen Jaeckel
bb56ef08eb
bring coverage results near reality
2016-04-03 17:45:16 +02:00
Francois Perrad
5d5694dbc4
install without USER and GROUP
...
like in libtommath.
really more friendly for packaging.
2016-04-01 09:26:28 +02:00
Steffen Jaeckel
912eff4949
make testprof/makefile silent
2016-01-23 19:11:30 +01:00
Steffen Jaeckel
61d730323a
introduce new all_test make-target
2016-01-23 19:11:30 +01:00
Steffen Jaeckel
23cad07701
refactor makefile a bit more
2016-01-23 19:00:23 +01:00
Steffen Jaeckel
4572357e87
make easily built demos in a template
2016-01-23 18:59:30 +01:00
Steffen Jaeckel
a6417387c0
make check_defines silent
2016-01-23 17:06:57 +01:00
Steffen Jaeckel
6905e4113f
make build process silent
2016-01-19 00:38:05 +01:00
Steffen Jaeckel
012dfe8001
Make the build output cleaner so diagnostics are easier to spot
...
Signed-off-by: Tom St Denis <tstdenis82@gmail.com>
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
2015-12-05 14:31:38 +01:00
Steffen Jaeckel
d4945ac521
add (nearly) all defines from tomcrypt_custom.h to crypt_build_settings
...
... and provide a new make target to check if something is missing
2015-09-08 21:09:49 +02:00
Steffen Jaeckel
19e2526b82
add some make targets regarding code coverage
2015-09-08 02:35:35 +02:00
Steffen Jaeckel
7db5760c91
add possibility to create combined coverage
...
Define the environment variable LTC_COVERAGE to something, run testme.sh
with all the coverage compile time options enabled and then 'make lcov'
creates the combined coverage for all combinations of compile-time
options handled in testme.sh.
e.g. LTC_COVERAGE=1 ./testme.sh "makefile -j3" "-DUSE_LTM -DLTM_DESC -I../libtommath -fprofile-arcs -ftest-coverage" "../libtommath/libtommath.a -lgcov"
2015-09-08 01:36:13 +02:00
Steffen Jaeckel
fd94034ba7
sort HEADERS in makefiles, so it doesn't change spontaneously
2015-09-01 17:36:43 +02:00
Steffen Jaeckel
61efc10852
update makefiles
2015-08-23 22:59:14 +02:00
Steffen Jaeckel
e9f9c6fa55
create a makefile.include
...
it contains all the preparation and targets for the static and shared lib
2015-01-20 22:36:07 +01:00
Steffen Jaeckel
d54425adb4
update makefiles
2014-11-13 22:09:20 +01:00
Pascal Brand
992506cb49
Add incremental CCM authentication processing
...
CCM is only meant for packet mode where the length of the input is known in
advance. Since it is a packet mode function, CCM only had one function that
performs the protocol.
However, incremental authentication is usefull in some usecases. It also
ensure some kind of coherencies when processing with a given authentication
mode or another. To achieve this aim, this commit adds the following functions:
ccm_init()
ccm_add_aad()
cm_add_nonce()
ccm_process()
ccm_done()
ccm_reset()
as well as the data structure
ccm_state
Change-Id: I5225a42bb098708c4af07518b561bb00f85bc243
2014-10-17 09:00:19 +02:00
Steffen Jaeckel
06321b8602
update makefiles
2014-09-29 19:57:21 +02:00
Steffen Jaeckel
c58e2cae75
add special build rules for sha512/224 and sha512/256
2014-09-29 19:57:21 +02:00
Steffen Jaeckel
473b0319ad
re-enable "unused-parameters" warning
2014-08-24 18:25:24 +02:00
Steffen Jaeckel
757ac982a5
if selected, always make targets 'test' and 'testprof/$(LIBTEST)'
2014-08-06 15:16:37 +02:00
Steffen Jaeckel
5fa34ad171
update makefiles
2014-07-15 15:45:33 +02:00
Larry Bugbee
1b29ce896f
include compiler defines and other minor refinements
2014-07-14 15:47:20 +02:00
Steffen Jaeckel
fd140d4535
clean up makefile
2014-07-14 15:42:32 +02:00
Steffen Jaeckel
6ac2d6141d
update clean target of makefile and testprof/makefile
2014-07-12 16:18:29 +02:00
Steffen Jaeckel
198ad7ef50
update makefiles
2014-05-09 23:07:33 +02:00
Steffen Jaeckel
1ce4e766ff
update makefiles
2014-04-04 00:38:10 +02:00
Steffen Jaeckel
8b24397f84
update makefiles
2014-02-18 15:23:23 +01:00
Steffen Jaeckel
460bcfe31b
remove crypt.lof from the repository
2014-02-16 18:55:28 +01:00
Steffen Jaeckel
a3811e2000
add -b flag to sed that enables binary processing (required on windows)
2014-02-16 18:55:27 +01:00
Michael Stapelberg
4ab63ccd3a
deterministically build crypt.pdf
...
This entails:
• Using pdflatex to influence the modification/creation timestamp in
the resulting PDF
• Replacing the unique ID with 0/0
• Using the timestamp from crypt.tex instead of the current date/time
See also http://superuser.com/a/130804
This change is necessary because for Multi-Arch Debian packages,
non-arch-dependent files need to have the same checksum, which is not
guaranteed without this commit. See http://bugs.debian.org/734109
2014-02-16 18:55:25 +01:00
Steffen Jaeckel
25f4817d48
update makefiles
2013-10-14 14:16:43 +02:00
Steffen Jaeckel
3eae4b42fb
makefile: allow CC to be replaced
...
this allows building with clang by doing:
CC=clang PREFIX=llvm- make
2013-10-01 23:08:30 +02:00
Steffen Jaeckel
61a3206f06
clean-up makefiles
2013-09-03 14:27:32 +02:00
Steffen Jaeckel
10511d329c
update makefiles
2013-08-14 15:56:10 +02:00
Steffen Jaeckel
d0a83df7f8
update makefile to be able to define a target platform prefix
2013-08-06 13:52:26 +02:00
Steffen Jaeckel
50ad0b8639
fix makefiles
2013-05-29 12:58:15 +02:00
Steffen Jaeckel
05b050b943
update makefiles
2013-03-15 17:46:58 +02:00
Steffen Jaeckel
abeddd6c4b
add hkdf_test()
2013-03-15 11:16:16 +01:00
RyanC
c98857a47e
add hkdf impl
2013-03-15 11:16:16 +01:00
Christopher Brown
9953c69455
update makefiles
2013-02-13 10:01:21 +01:00
Patrick Pelletier
9228cbbd1e
don't delete doc/crypt.pdf in "make clean"
...
"make clean" was deleting "doc/*.pdf", despite the fact that there
were two comments (one above and one below) stating that it did not.
Since doc/crypt.pdf is checked into git, running "make clean" made my
git state dirty, which seems undesirable.
I took sort of a compromise position and had "make clean" continue to
delete any other .pdf files in doc (such as refman.pdf), but
explicitly not delete crypt.pdf.
2012-11-18 15:20:09 +01:00
Patrick Pelletier
4a2b54a446
Changed "make clean" to not delete crypt.lof (which is checked into git)
...
This line:
rm -f `find . -type f | grep "[.]lo" | xargs`
was deleting crypt.lof, which seemed undesirable. One solution would
be to end the grep expression with "$", but it seemed more
straightforward just to pass "-name" to "find", rather than piping
through grep.
2012-11-18 15:20:08 +01:00
Nikos Mavrogiannopoulos
fa22e791d4
RSA and DSA public keys are stored using the SubjectPublicKeyInfo format.
2011-03-21 19:24:10 +01:00
Steffen Jaeckel
6fecec107d
rejoined diffie hellman code from ltc 1.05, thanks to Alexander Kurpiers
2011-01-18 20:06:03 +01:00
Steffen Jaeckel
2f1fc7c50d
import of libtomcrypt
...
out of
lt_tree.tar.bz2
checksums of lt_tree.tar.bz2
MD5: 3c36e1ca95518f4d00a76dc9b7049952
SHA1: 4f31d1aa8cd1b9d7452b777cd52f8280dc7ebcbc
2010-06-16 19:58:20 +02:00
Tom St Denis
bbc52b9e1b
added libtomcrypt-1.17
2010-06-16 12:39:13 +02:00
Tom St Denis
e24b01d392
added libtomcrypt-1.16
2010-06-16 12:39:09 +02:00
Tom St Denis
2de2976d25
added libtomcrypt-1.15
2010-06-16 12:39:06 +02:00
Tom St Denis
479cc9c261
added libtomcrypt-1.14
2010-06-16 12:39:03 +02:00
Tom St Denis
1eed98f629
added libtomcrypt-1.13
2010-06-16 12:39:00 +02:00
Tom St Denis
2945dea3e2
added libtomcrypt-1.12
2010-06-16 12:38:57 +02:00
Tom St Denis
64d7ebe166
added libtomcrypt-1.11
2010-06-16 12:38:54 +02:00
Tom St Denis
99b6d03203
added libtomcrypt-1.10
2010-06-16 12:38:51 +02:00
Tom St Denis
a3ce807bae
added libtomcrypt-1.09
2010-06-16 12:38:49 +02:00
Tom St Denis
1eeff0bfb4
added libtomcrypt-1.08
2010-06-16 12:38:47 +02:00
Tom St Denis
4a1a5796de
added libtomcrypt-1.07
2010-06-16 12:38:44 +02:00
Tom St Denis
72412f6dac
added libtomcrypt-1.06
2010-06-16 12:38:41 +02:00
Tom St Denis
9264e34ffb
added libtomcrypt-1.05
2010-06-16 12:38:39 +02:00
Tom St Denis
9da48eb84b
added libtomcrypt-1.04
2010-06-16 12:38:36 +02:00
Tom St Denis
3964a6523a
added libtomcrypt-1.03
2010-06-16 12:38:34 +02:00
Tom St Denis
65c1317eee
added libtomcrypt-1.02
2010-06-16 12:38:32 +02:00
Tom St Denis
6ac9952498
added libtomcrypt-1.01
2010-06-16 12:38:29 +02:00
Tom St Denis
bfc2f5b078
added libtomcrypt-1.00
2010-06-16 12:38:26 +02:00
Tom St Denis
1c1822d510
added libtomcrypt-0.99
2010-06-16 12:38:24 +02:00
Tom St Denis
69f289d6dc
added libtomcrypt-0.98
2010-06-16 12:38:22 +02:00
Tom St Denis
a21f63bbd8
added libtomcrypt-0.97b
2010-06-16 12:38:20 +02:00
Tom St Denis
e9c1c530b4
added libtomcrypt-0.97a
2010-06-16 12:38:17 +02:00
Tom St Denis
1a1141627d
added libtomcrypt-0.97
2010-06-16 12:38:16 +02:00
Tom St Denis
3fe312ccef
added libtomcrypt-0.96
2010-06-16 12:38:13 +02:00
Tom St Denis
40c5578ac3
added libtomcrypt-0.95
2010-06-16 12:38:11 +02:00
Tom St Denis
1f8b8bda6f
added libtomcrypt-0.94
2010-06-16 12:38:09 +02:00
Tom St Denis
53f7f3badd
added libtomcrypt-0.93
2010-06-16 12:38:07 +02:00
Tom St Denis
033cec5f75
added libtomcrypt-0.92
2010-06-16 12:38:05 +02:00
Tom St Denis
55d745af4f
added libtomcrypt-0.91
2010-06-16 12:38:04 +02:00
Tom St Denis
16100c38eb
added libtomcrypt-0.90
2010-06-16 12:38:03 +02:00
Tom St Denis
710106cda5
added libtomcrypt-0.89
2010-06-16 12:38:02 +02:00
Tom St Denis
bd479d2bc1
added libtomcrypt-0.88
2010-06-16 12:38:01 +02:00
Tom St Denis
e309942b29
added libtomcrypt-0.87
2010-06-16 12:38:00 +02:00
Tom St Denis
f9afcba638
added libtomcrypt-0.86
2010-06-16 12:37:59 +02:00
Tom St Denis
f5331baa9f
added libtomcrypt-0.85
2010-06-16 12:37:58 +02:00
Tom St Denis
d6071c6267
added libtomcrypt-0.84
2010-06-16 12:37:57 +02:00
Tom St Denis
90a48a5bec
added libtomcrypt-0.83
2010-06-16 12:37:56 +02:00
Tom St Denis
7d21325daa
added libtomcrypt-0.82
2010-06-16 12:37:55 +02:00
Tom St Denis
0f999a4e9e
added libtomcrypt-0.81
2010-06-16 12:37:54 +02:00
Tom St Denis
b8b6e1ad58
added libtomcrypt-0.80
2010-06-16 12:37:53 +02:00
Tom St Denis
d5fbe63b70
added libtomcrypt-0.79
2010-06-16 12:37:52 +02:00
Tom St Denis
2ef59575df
added libtomcrypt-0.78
2010-06-16 12:37:51 +02:00
Tom St Denis
5581d44fd4
added libtomcrypt-0.77
2010-06-16 12:37:50 +02:00
Tom St Denis
a14a737164
added libtomcrypt-0.76
2010-06-16 12:37:49 +02:00
Tom St Denis
a6a5fc648b
added libtomcrypt-0.75
2010-06-16 12:37:49 +02:00