|
81d5f0e3
|
2015-10-17T18:28:05
|
|
add parentheses for explicit operator association
|
|
99c84acc
|
2015-11-13T10:28:23
|
|
add parentheses for explicit operator precedence
|
|
c0b14e3d
|
2015-11-13T17:46:32
|
|
handle the return value of function
|
|
10cfb955
|
2015-11-12T22:43:38
|
|
use same parameter name between prototype declaration and function definition
|
|
babf35c6
|
2015-11-12T21:54:52
|
|
explicit condition
|
|
1e7ca501
|
2015-11-29T23:14:50
|
|
fixup demo.c
|
|
6d4467da
|
2015-11-29T23:12:43
|
|
Merge branch 'fix/jacobi' into develop
This closes #31
|
|
7176a877
|
2015-11-29T22:43:52
|
|
Add tests for mp_jacobi()
|
|
34e6b723
|
2015-11-25T21:24:21
|
|
Implement handling of special case (0 | 1)
|
|
ce70362a
|
2015-11-25T21:24:13
|
|
Rename parameter p to n
|
|
6c536e4b
|
2015-11-25T09:41:58
|
|
Speed up testing and temporarily disable clang testing
|
|
10ba45b7
|
2015-11-25T09:35:25
|
|
Merge branch 'fperrad-private' into develop
|
|
e6cfefc1
|
2015-11-19T21:53:32
|
|
more private stuff
|
|
f771e317
|
2015-11-19T21:34:58
|
|
move standard includes
|
|
2e28a7db
|
2015-11-13T15:01:19
|
|
Removed out of date contact info from textbook.
Signed-off-by: Tom St Denis <tstdenis82@gmail.com>
|
|
53f1b935
|
2015-11-13T14:56:05
|
|
Updated zipup to support git and simplified it somewhat.
I removed gpg use right now since I don't have a gpg key anyways ...
Signed-off-by: Tom St Denis <tstdenis82@gmail.com>
|
|
b98147c9
|
2015-11-12T02:02:18
|
|
update install steps in makefiles
- add tommath_private.h to HEADERS
- only install public header files
- move more shared stuff to makefile.include
- make it possible to override the *PATH makefile variables
|
|
4e3f1344
|
2015-11-12T01:49:07
|
|
provide tommath_private.h
tommath.h contains declarations for the public part of the library.
tommath_private.h contains the functions which are private to ltm and
should not be exposed to the public.
|
|
5a15247b
|
2015-11-12T01:34:28
|
|
improve testme.sh
you can now do something like `COMPILERS="gcc-5" ./testme.sh`
|
|
489bf69f
|
2015-11-12T01:33:57
|
|
Merge branch '20151025_lint' into develop
This closes #38
|
|
bd39da23
|
2015-11-12T01:33:25
|
|
use correct value to compare to in mp_isneg() macro
|
|
00ff6da1
|
2015-11-12T01:18:15
|
|
trim trailing spaces
|
|
1c1baaa7
|
2015-11-12T01:18:00
|
|
Don't cast the potential problems away, handle them appropriately
|
|
5bed36d9
|
2015-10-11T10:52:10
|
|
explicit ignoring the return value of function
|
|
b9abe0a3
|
2015-10-25T16:34:43
|
|
refactor with macros MP_NO/MP_YES
|
|
b6636ee4
|
2015-10-11T19:02:01
|
|
uppercase L avoid confusion between lowercase l and digit 1
|
|
09b8fd9c
|
2015-10-11T19:01:04
|
|
explicit block
|
|
4430c6bc
|
2015-10-11T15:54:43
|
|
array declaration with its size
|
|
759ed1f0
|
2015-10-11T12:11:00
|
|
union initialization is not supported by ISO C
|
|
2404bd3c
|
2015-10-11T12:09:29
|
|
suspicious use of ;
|
|
2d40b4de
|
2015-10-25T16:09:43
|
|
fix indentation (part 2)
|
|
614da3de
|
2015-10-25T16:09:26
|
|
fix indentation (part 1)
|
|
0522eef2
|
2015-10-18T17:04:43
|
|
refactor cast in ternary op
|
|
64177349
|
2015-10-25T16:25:20
|
|
avoid side effects on right hand of logical operator
|
|
38f90d1b
|
2015-10-25T16:49:26
|
|
explicit condition (part C)
|
|
e25f1701
|
2015-10-25T16:21:17
|
|
explicit condition (part H)
|
|
9f781162
|
2015-10-17T18:27:56
|
|
add parentheses for explicit operator association
|
|
84db6f9d
|
2015-10-17T18:12:48
|
|
add parentheses for explicit operator precedence
|
|
6d43d42f
|
2015-11-07T16:23:27
|
|
update make zipup, add make pre_gen
|
|
7ab90a48
|
2015-06-07T14:19:06
|
|
use stdint.h for mp_digit and mp_word typedefs
|
|
25480d57
|
2015-04-26T16:58:36
|
|
demo: test one big montgomery reduction
...only for coverage reasons...
|
|
0d816a1a
|
2015-04-26T16:57:42
|
|
makefile: include timing in coverage creation
|
|
f8259993
|
2015-04-26T16:57:07
|
|
timing: add compile-time option to disable logging
|
|
b6d76643
|
2015-04-26T16:56:36
|
|
timing: some changes
- also use toom-cook for mul and sqr
- don't test too huge numbers with invmod (takes too long)
- remove the goto and labels
|
|
c4501e1e
|
2015-04-26T15:27:52
|
|
work a bit on code coverage
|
|
d32e7a3d
|
2015-04-26T15:22:49
|
|
makefile: improve a bit more
- add make targets for coverage creation
- don't enable optimization when requesting a debug build
|
|
91df2129
|
2015-04-26T15:32:34
|
|
add minimal mp_sqrtmod_prime() tests to demo.c
|
|
d0f73e7c
|
2015-06-07T14:57:57
|
|
update tommath.src
|
|
9a64eec8
|
2015-04-25T22:47:23
|
|
add mp_sqrtmod_prime()
|
|
4a63ec53
|
2015-10-30T18:12:13
|
|
Merge branch 'feature/doc' into develop
Signed-off-by: Tom St Denis <tstdenis82@gmail.com>
|
|
3d5afb42
|
2014-12-11T23:15:35
|
|
update changes
|
|
8432c4ed
|
2014-12-11T22:44:50
|
|
clarify documentation of mp_div_2d() and mp_mul_2d()
|
|
18335060
|
2014-12-10T19:08:54
|
|
update changes
|
|
14e843e0
|
2014-12-10T19:08:42
|
|
update documentation
add mp_set_long, mp_get_long, mp_set_long_long, mp_get_long_long
|
|
fc952491
|
2014-10-12T18:48:52
|
|
update changes.txt
|
|
42a3c251
|
2014-10-12T18:48:26
|
|
trim trailing spaces
|
|
eca442b0
|
2014-10-10T19:49:40
|
|
add documentation of mp_expt_d_ex()
|
|
575d9bac
|
2015-10-30T18:08:42
|
|
Add error check to mp_sqrtmod_prime()
Signed-off-by: Tom St Denis <tstdenis82@gmail.com>
|
|
5b3178d8
|
2015-10-30T18:05:12
|
|
Merge branch 'feature/mp_sqrtmod_prime' into develop
Signed-off-by: Tom St Denis <tstdenis82@gmail.com>
|
|
c31102bc
|
2015-04-18T19:32:09
|
|
fix warning: expected "mp_digit *" but argument is of type "long unsigned int *"
|
|
1f889479
|
2015-04-18T11:03:22
|
|
update makefiles etc.
|
|
1c85a283
|
2015-04-17T22:46:11
|
|
adding bn_mp_sqrtmod_prime.c
|
|
079b0f65
|
2015-10-30T17:55:29
|
|
Getting ready for v0.43.0 release
Also updated my email address...
Signed-off-by: Tom St Denis <tstdenis82@gmail.com>
|
|
7916c403
|
2015-10-30T17:49:09
|
|
Fix parenthesis in bn_mp_div.c to correctly return error code if init fails.
Signed-off-by: Tom St Denis <tstdenis82@gmail.com>
|
|
e50d8afe
|
2015-10-30T17:45:34
|
|
Add ability to disable silent builds.
Signed-off-by: Tom St Denis <tstdenis82@gmail.com>
|
|
676e7ea4
|
2015-10-30T10:33:46
|
|
Adding LTM_NO_FILE flag
Certain embedded implementatino does not have FILE defined, adding
LTM_NO_FILE flag to avoid compiler errors
Signed-off-by: Donald Chan <hoiho.chan@gmail.com>
Reviewed-by: Tom St Denis <tstdenis82@gmail.com>
|
|
b6a484ff
|
2015-10-28T08:59:29
|
|
Make the build output cleaner so diagnostics are easier to spot
Signed-off-by: Tom St Denis <tstdenis82@gmail.com>
|
|
036d697c
|
2015-04-25T14:13:16
|
|
makefile: add 'coverage' make target
|
|
39e348b2
|
2015-04-25T14:12:32
|
|
makefile: add LFLAGS variable when static linking
|
|
cb085f06
|
2015-04-18T14:58:15
|
|
demo: read from urandom if someone requests real random data
|
|
ac4550cc
|
2015-04-18T14:10:45
|
|
testme.sh: improve a bit
- add parameter when calling that will be forwarded to make
(e.g. to give the correct -j# option for your CPU)
- timeout after running the tests for 2 minutes, assuming something went
wrong, but don't cancel the rest of the tests
- add compilation with clang (if available on the system)
|
|
5eb6ebbb
|
2015-04-18T13:58:17
|
|
makefiles: improve a bit
|
|
80e0862e
|
2014-12-14T19:44:20
|
|
makefile: clean gcov output
|
|
ffb172f4
|
2014-12-14T19:43:50
|
|
makefiles: add makefile.include
to be used in makefile and makefile.shared
use -Wextra instead of deprecated -W
add additional warnings also used in libtomcrypt
can be disabled by defining NO_ADDTL_WARNINGS
add possibility to define COMPILE_SIZE or COMPILE_DEBUG
|
|
35488c9e
|
2014-12-14T12:35:46
|
|
fix errors in demo/demo.c found by clang
CC='clang' CFLAGS='-fsanitize=address,undefined -O3 -g -fPIC -I./'
|
|
0fd5e6c1
|
2014-12-11T14:59:35
|
|
add testme.sh
|
|
784077d3
|
2014-12-11T14:12:14
|
|
Merge remote-tracking branch 'carbin/arc' into develop
This closes #28
|
|
5d1096b0
|
2014-12-12T01:42:30
|
|
use arc4random() instead of rand() on *BSD
|
|
9d697d46
|
2014-12-10T19:01:12
|
|
fix compilation with MP_8BIT or MP_16BIT
|
|
d4cccd52
|
2014-12-10T18:59:56
|
|
udpate makefiles etc.
|
|
9d83fce7
|
2014-12-10T18:59:42
|
|
add tests
|
|
0e3d3ad2
|
2014-12-10T18:59:31
|
|
add mp_get_long_long() and mp_set_long_long()
|
|
f88e6a04
|
2014-12-10T18:32:44
|
|
replace mp_set_long() implementation by macro
|
|
5d3ee880
|
2014-12-10T18:27:03
|
|
less noise plz
|
|
e5e9382b
|
2014-12-10T17:22:53
|
|
Merge branch 'moritz/get-set-long' into develop
This closes #26
|
|
cf045216
|
2014-12-10T17:21:14
|
|
update makefiles etc.
|
|
158e3266
|
2014-12-10T17:20:15
|
|
add tests for mp_set_long() and mp_get_long()
|
|
5a2a00ff
|
2014-10-14T14:37:17
|
|
fix compiler warning when compiling with "-mx32" option
|
|
940bef18
|
2014-10-14T14:36:38
|
|
fix macros
|
|
ae307cd8
|
2014-10-13T15:41:52
|
|
fix compiler warning
|
|
6df187ae
|
2011-11-13T19:17:46
|
|
Add set_long and get_long functions
They work on platform-dependent long ints
|
|
a263647f
|
2014-10-18T20:20:30
|
|
add new make target 'test_standalone'
|
|
d2458e35
|
2014-10-18T20:20:07
|
|
update README
|
|
ef15300c
|
2014-10-18T19:02:44
|
|
initial revision
|
|
d7171985
|
2014-10-18T18:56:56
|
|
update after removing balance multiplication
|
|
b425b0ea
|
2014-10-18T18:54:06
|
|
Revert "balancing multiplication like that in Ruby 1.9"
This reverts commit e68439aae10d003250afa6c1f57025bfee5f82ed.
Conflicts:
bn_mp_balance_mul.c
makefile
|
|
9ca37ca0
|
2014-10-15T16:22:35
|
|
mtest vs. test: add possibility to exit testing
'mtest' can now optionally only run a given amount of loops.
the first parameter <n> when invoking 'mtest' is considered to determine
the amount
when <n> is in the range -63..-1: mtest will run 2^-n runs
when <n> is > 0: mtest will run n runs
else: mtest will exit immediately
|
|
54598016
|
2014-10-14T14:36:01
|
|
add target "new_file" to makefile
|
|
634f96f7
|
2014-10-14T14:35:16
|
|
mtest: I like predictable random for testing
|
|
5c5d600a
|
2014-10-14T14:33:36
|
|
demo: calm compiler warnings & improve a bit
|