|
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>
|
|
8432c4ed
|
2014-12-11T22:44:50
|
|
clarify documentation of mp_div_2d() and mp_mul_2d()
|
|
42a3c251
|
2014-10-12T18:48:26
|
|
trim trailing spaces
|
|
eca442b0
|
2014-10-10T19:49:40
|
|
add documentation of mp_expt_d_ex()
|
|
18335060
|
2014-12-10T19:08:54
|
|
update changes
|
|
3d5afb42
|
2014-12-11T23:15:35
|
|
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
|
|
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
|
|
e581d078
|
2014-10-14T13:55:35
|
|
mtest: fix compiler warnings
|
|
410ae395
|
2014-10-14T13:48:23
|
|
trim trailing spaces
|
|
30fcfec8
|
2014-10-13T15:50:16
|
|
update makefiles
|
|
9bff6bbb
|
2014-10-13T15:49:23
|
|
prepare makefiles for "updatemakes"
|
|
4f2db5fa
|
2014-10-13T15:49:02
|
|
add "updatemakes" from libtomcrypt
|
|
da2fc240
|
2014-09-28T14:45:25
|
|
deterministic build of poster.pdf
|
|
41017efd
|
2014-09-28T14:10:59
|
|
deterministic build of bn.pdf
|
|
61d8c8aa
|
2014-09-28T13:59:17
|
|
Merge branch 'feature/timing_resist' into develop
|
|
52bb535f
|
2014-02-14T12:53:48
|
|
demo: test both mp_n_root() implementations
|
|
52cfd5ff
|
2014-02-14T11:26:07
|
|
mp_n_root: add mp_n_root_ex() with parameter 'fast' for mp_expt_d_ex()
This change is introduced to be able to choose the underlying
implementation of mp_expt_d_ex()
The implementation of the root_n functionality is now implemented in the
mp_n_root_ex() function.
The parameter 'fast' is just passed over to mp_expt_d_ex().
mp_n_root() defaults to the pre 921be35779f7d71080ad85c27ed58671602d59b3
implementation
|
|
e9b1837c
|
2014-02-13T20:21:18
|
|
mp_expt_d: bring back pre 921be35779f7d71080ad85c27ed58671602d59b3 state
The implementation of the expt_d functionality is now implemented in the
mp_expt_d_ex() function.
The user can now choose between the old (more timing resistant) version
and the new version by modification of the parameter 'fast'.
mp_expt_d() defaults to the old version
|
|
8ed60432
|
2014-09-28T13:33:35
|
|
dep.pl: add new type mp_min_u32
|
|
7ede0852
|
2014-09-28T13:15:28
|
|
Merge branch 'fix/x32' into develop
|
|
759a926c
|
2014-09-28T13:12:10
|
|
minor changes & clean-up & small fixes
gitignore: add libtool output
booker.pl: fix source code parsing and trim trailing spaces
demo/demo: fix compiler warning, add informational output
demo/timing & etc/tune: fix TIMFUNC()
makefile: minor changes
makefile.shared: increase version, add missing mp_balance_mul
tommath: make sure that DIGIT_BIT is correct
|
|
78b8a772
|
2014-09-23T22:55:08
|
|
fix compiler warnings with MP_16BIT
|
|
b0c385af
|
2014-09-23T22:54:30
|
|
fix x32 compilation
change mp_digit/mp_word to unsigned long long
introduce new internal type mp_min_u32 that is minimum 32 bit wide
x32 target is 64 bit arch but has 32 bit wide 'unsigned long'
|
|
0213986c
|
2014-09-02T02:14:38
|
|
trim trailing spaces/clean up
|
|
6fc38508
|
2014-02-14T12:59:04
|
|
demo: clean-up on exit
|
|
f47c0f20
|
2014-02-14T12:58:49
|
|
demo: allow mp_reduce_2k_l tests to be switched off
|
|
ca150960
|
2014-02-14T12:57:52
|
|
demo: fix compiler warnings, return values & output format
|
|
e0987507
|
2014-02-14T11:48:34
|
|
demo: "improve" a bit
allow reproducible testcases
add easy switch to compile either a version for "test vs. mtest" or to
run internal tests
|
|
d576512c
|
2014-02-14T11:33:38
|
|
mp_balance_mul: fix compiler warnings
|
|
ddd788a1
|
2014-02-14T11:30:15
|
|
trim trailing spaces
|
|
a4b20be8
|
2014-01-25T16:31:20
|
|
Merge branch 'ktdreyer/mp_isprime' into develop
|
|
ba15caa3
|
2014-01-20T13:25:55
|
|
Add mp_isneg()
This function originally came from Heimdal's bundled copy of libtommath.
Signed-off-by: Ken Dreyer <ktdreyer@ktdreyer.com>
|
|
31d69926
|
2014-01-25T16:28:53
|
|
Merge branch 'ktdreyer/invmod-return' into develop
|
|
fe695ea1
|
2014-01-20T13:42:03
|
|
Avoid consecutive return statements
This change keeps static checkers happy.
This change originally came from Heimdal's bundled copy of
libtommath.
Signed-off-by: Ken Dreyer <ktdreyer@ktdreyer.com>
|
|
b83a5d45
|
2014-01-25T16:27:42
|
|
Merge branch 'ktdreyer/initialize-variable' into develop
|
|
1c802697
|
2014-01-20T13:48:52
|
|
Initialize variable "res" to MP_NO.
This avoids an unitialized variable warning in the compiler.
This change originally came from Heimdal's bundled copy of libtommath.
Signed-off-by: Ken Dreyer <ktdreyer@ktdreyer.com>
|
|
c8202864
|
2014-01-22T17:53:34
|
|
add missing updates
|
|
c7fc93d0
|
2013-11-24T15:38:19
|
|
Merge branch 'lomereiter/master' into develop
|
|
e68439aa
|
2011-05-23T19:44:05
|
|
balancing multiplication like that in Ruby 1.9
|
|
99d700bb
|
2013-11-24T15:29:54
|
|
Merge branch 'ramkumarkoppu/patch-1' into develop
|
|
76fe0008
|
2013-05-19T20:04:26
|
|
Update bn_mp_init_copy.c
In mp_init_copy(), mp_init() is used to assign the memory with default block size, mp_copy() is used to grow the target mp_int size if it is required and copy the content.
My suggestion is to use mp_init_size() instead of mp_init() inside the mp_init_copy to assign required memory depending on the source mp_int size and then use mp_copy to copy the content. This will avoid the subsequent mp_grow() inside the mp_copy().
The associated issue number is 11 in GitHub.
|
|
750d17cd
|
2013-11-24T15:21:39
|
|
update makefiles
|
|
bb622822
|
2013-11-24T15:20:36
|
|
Merge branch 'ccbrown/master' into develop
|
|
3e1ae078
|
2013-01-22T21:29:12
|
|
added mp_import / mp_export
|
|
12caebdc
|
2013-04-18T16:38:16
|
|
update makefile to be able to define a target platform prefix
|
|
e28c803e
|
2013-04-18T16:36:43
|
|
Fix makefile.shared as proposed in gentoo bug report #376643
c.f. https://bugs.gentoo.org/show_bug.cgi?id=376643
|
|
b678ee77
|
2013-09-03T03:20:16
|
|
Merge pull request #17 from LBg/patch-2
Fix typo on comment
|
|
95356f72
|
2013-09-02T09:52:11
|
|
Fix typo on comment
|
|
26013358
|
2012-11-19T14:56:34
|
|
fixed comment
|
|
63515f04
|
2012-11-19T14:35:20
|
|
Merge branch 'gerdr/fix/mp_radix_size' into develop
|
|
6907f6ca
|
2012-05-11T20:40:32
|
|
fix bug in mp_radix_size()
zero values returned a length of 1, not 2 in case of radix 2
re-ordering the special casing takes care of it
|
|
f87356dc
|
2012-11-19T14:28:56
|
|
fixed bug report sent by @shameister
|
|
8b24998d
|
2012-11-19T12:03:27
|
|
update gitignore
|
|
1bd1320b
|
2012-05-11T14:59:48
|
|
Merge pull request #4 from moritz/negative-mod
Fix mp_mod(a, b, c) if b < 0 and a = n * b, n integer
|
|
4493d851
|
2012-01-09T03:28:22
|
|
Merge pull request #5 from moritz/fix-compilation
fix mp_error_to_string in tommath.h
|