Steffen Jaeckel
fa4637e7a9
Merge branch 'fix/97' into develop
...
This closes #97
2017-02-21 16:57:38 +01:00
Steffen Jaeckel
55776b0ac9
update makefiles
2017-02-21 16:57:21 +01:00
Karel Miko
bbbbf5f1d5
adding rsa_import_radix tests
2017-02-21 16:55:10 +01:00
Karel Miko
a2c87f54de
adding rsa_import_radix
2017-02-21 16:55:09 +01:00
Steffen Jaeckel
0cf80ef631
Merge branch 'fix/98' into develop
...
This closes #98
2017-02-21 16:54:25 +01:00
Karel Miko
ac6f69e8fe
adding dsa_import_radix tests
2017-02-21 16:54:11 +01:00
Steffen Jaeckel
43517bca83
update makefiles
2017-02-21 16:54:11 +01:00
Karel Miko
10545366d2
adding dsa_import_radix
2017-02-21 16:54:10 +01:00
Steffen Jaeckel
a8df316581
Merge branch 'pr/133' into develop
...
This closes #133
2017-02-21 16:45:12 +01:00
Karel Miko
bcf7753a26
use MIN macro
2017-02-21 16:36:17 +01:00
Karel Miko
ecbac7324e
DSA: properly handle FIPS 186-4 (4.6 + 4.7)
2017-02-21 16:36:17 +01:00
Steffen Jaeckel
498538f6ef
Merge pull request #103 from libtom/fix/103
...
Serious bug in rng_get_bytes @ MS Windows
2017-02-21 14:39:54 +01:00
Karel Miko
b36e75b7f1
don't read from c:\dev\random on windows
2017-02-21 13:34:52 +01:00
Steffen Jaeckel
d727b16898
use proper defines as of [1]
...
[1] http://predef.sourceforge.net
2017-02-21 13:34:52 +01:00
Steffen Jaeckel
5757fdb035
Merge branch 'pr/124' into develop
...
This closes #124
2017-02-21 11:50:25 +01:00
zeromus
c341d36c6a
do it differently
2017-02-21 11:49:35 +01:00
zeromus
32f19995f8
do it differently
2017-02-21 11:49:35 +01:00
zeromus
793ff08986
do it differently
2017-02-21 11:49:35 +01:00
zeromus
c83763bd46
fix tiny compile error in tomcrypt_pk.h macro
...
An ARM compiler gives me this:
libtomcrypt\pk\asn1\der\sequence\der_decode_subject_public_key_info.c(65,4): error #188-D: enumerated type mixed with another type
Since der_decode_subject_public_key_info's parameters_type is of type 'unsigned long', an attempt to assign it to ltc_asn1_list's member 'ltc_asn1_type type' fails.
My fix solves this in a simple way by casting it at the point of assignment.
But while studying this I noticed there's no use of enum in the codebase other than a few PK-related things. Perhaps a more appropriate solution would be to remove these enums. I mean, enums seem like an OK enough idea, but I don't know anything about the practicality of using enums in archaic C dialects like libtomcrypt conforms (thankfully!) to...
2017-02-21 11:49:35 +01:00
Steffen Jaeckel
600004fecc
print ascii in print_hex()
2017-02-21 11:42:24 +01:00
Steffen Jaeckel
60bb5440fb
add compare_testvector()
2017-02-21 11:42:24 +01:00
Steffen Jaeckel
383f200cb6
fix LTC_MINIMAL
2017-02-20 19:19:44 +01:00
Steffen Jaeckel
fd99c3e3c0
remove duplicate define
2017-02-20 18:58:20 +01:00
Steffen Jaeckel
08aabc7f8c
improve print_hex() prototype
2017-02-17 11:53:14 +01:00
Steffen Jaeckel
8fc1af1b7e
make implementation easier to read
...
damn you negated logic...
2017-02-15 23:15:43 +01:00
Steffen Jaeckel
f784793891
Merge pull request #129 from libtom/fix/gcm_counter_reuse
...
GCM counter incrementation isn't stopped at 2^32 blocks, which breaks GCM
2016-10-02 20:51:01 +02:00
Steffen Jaeckel
7d418b34b3
Fix GCM counter reuse
...
GCM should error out after processing (2^32)-1 blocks / (2^39)-256 bits
2016-09-28 20:18:09 +02:00
Karel Miko
6ad5225268
removing forgotten debug comment
2016-07-07 15:03:33 +02:00
Steffen Jaeckel
bb56ef08eb
bring coverage results near reality
2016-04-03 17:45:16 +02:00
Steffen Jaeckel
892342c769
automatically determine the number of parallel make jobs for the tests
2016-04-03 14:12:27 +02:00
Steffen Jaeckel
da3ade0807
increase coverage by running 'sizes' and 'constants'
2016-04-03 14:12:27 +02:00
Steffen Jaeckel
1c6c02e18d
fix gitignore
2016-04-03 14:12:27 +02:00
Steffen Jaeckel
f2f1b61164
Merge pull request #115 from fperrad/install
...
install without USER and GROUP
2016-04-03 01:46:24 +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
d1eeecb137
fix some compiler warnings
2016-01-23 18:59:44 +01:00
Steffen Jaeckel
4572357e87
make easily built demos in a template
2016-01-23 18:59:30 +01:00
Steffen Jaeckel
7c9450084f
fix some compile errors
2016-01-23 18:42:50 +01:00
Steffen Jaeckel
3184c6d8a0
Merge branch 'miko-GCM-HPUX-IA64-fix' into develop
...
This closes #100
2016-01-23 18:11:01 +01:00
Karel Miko
966496ea1a
fixing GCM troubles at HP-UX/IA64
2016-01-23 18:09:03 +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
de15a6fad9
Merge branch 'miko-const-int-fix' into develop
...
This closes #92 and closes #96
2016-01-19 00:04:27 +01:00
Karel Miko
af77f1fae9
RORc instead of ROR
2016-01-19 00:03:54 +01:00
Karel Miko
d0a534393a
fix for issue #92 - const is meaningless on cast type
2016-01-19 00:03:54 +01:00
Steffen Jaeckel
4a3b53dbee
Merge branch 'miko-avoid-declaration-after-statements' into develop
...
This closes #101
2016-01-14 21:47:16 +01:00
Karel Miko
15b3f39a4f
avoid using declaration after statements (rng_win32)
2016-01-14 21:46:53 +01:00
Karel Miko
7c1e251e75
avoid using declaration after statements
2016-01-14 21:46:53 +01:00