Go to file
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
demos fix some compiler warnings 2016-01-23 18:59:44 +01:00
doc flush content of CVS/SVN tags 2014-04-29 21:13:49 +02:00
notes regen rsa-testvectors 2014-08-28 13:30:26 +02:00
src fix tiny compile error in tomcrypt_pk.h macro 2017-02-21 11:49:35 +01:00
testprof print ascii in print_hex() 2017-02-21 11:42:24 +01:00
.clang-format add .clang-format 2015-08-25 23:58:08 +02:00
.gitignore fix gitignore 2016-04-03 14:12:27 +02:00
.travis.yml travis: update local package index as first step 2016-01-05 23:24:47 +01:00
build.sh automatically determine the number of parallel make jobs for the tests 2016-04-03 14:12:27 +02:00
changes added libtomcrypt-1.17 2010-06-16 12:39:13 +02:00
coverage.sh bring coverage results near reality 2016-04-03 17:45:16 +02:00
coverity.sh fix coverity script 2014-10-10 00:55:18 +02:00
crypt.tex ccm: clarify pt and ct parameters in doc and API description 2014-04-30 20:19:11 +02:00
Doxyfile added libtomcrypt-1.17 2010-06-16 12:39:13 +02:00
filter.pl mark scripts as executable 2012-11-23 00:49:26 +01:00
fixupind.pl mark scripts as executable 2012-11-23 00:49:26 +01:00
genlist.sh sort HEADERS in makefiles, so it doesn't change spontaneously 2015-09-01 17:36:43 +02:00
libtomcrypt_VS2005.sln Added project and solution files for Visual Studio 2005 and Visual Studio 2008. 2010-06-16 20:01:47 +02:00
libtomcrypt_VS2005.vcproj add hkdf impl 2013-03-15 11:16:16 +01:00
libtomcrypt_VS2008.sln Added project and solution files for Visual Studio 2005 and Visual Studio 2008. 2010-06-16 20:01:47 +02:00
libtomcrypt_VS2008.vcproj add hkdf impl 2013-03-15 11:16:16 +01:00
libtomcrypt.dsp add hkdf impl 2013-03-15 11:16:16 +01:00
libtomcrypt.pc.in pkgconfig: set libdir= to $LIBPATH (for multi-arch) 2014-02-25 10:45:20 +01:00
LICENSE after multiple objections of libtom users [1], we decided to change licensing 2011-01-19 10:18:15 +01:00
makefile bring coverage results near reality 2016-04-03 17:45:16 +02:00
makefile.icc introduce new all_test make-target 2016-01-23 19:11:30 +01:00
makefile.include make build process silent 2016-01-19 00:38:05 +01:00
makefile.mingw introduce new all_test make-target 2016-01-23 19:11:30 +01:00
makefile.msvc introduce new all_test make-target 2016-01-23 19:11:30 +01:00
makefile.shared install without USER and GROUP 2016-04-01 09:26:28 +02:00
makefile.unix introduce new all_test make-target 2016-01-23 19:11:30 +01:00
mess.sh mark scripts as executable 2012-11-23 00:49:26 +01:00
parsenames.pl flush content of CVS/SVN tags 2014-04-29 21:13:49 +02:00
printinfo.sh printinfo: display version of correct compiler if CC does not point to gcc 2014-05-07 16:15:50 +02:00
README.md add coverity badge 2014-05-25 00:35:03 +02:00
run.sh flush content of CVS/SVN tags 2014-04-29 21:13:49 +02:00
testbuild.sh travis: print version information in build scripts 2014-02-25 10:31:13 +01:00
testme.sh testme.sh: add test runs without "timing resistance" 2014-05-08 15:11:38 +02:00
TODO added libtomcrypt-1.17 2010-06-16 12:39:13 +02:00
updatemakes.sh trim trailing spaces in mingw makefiles 2014-08-06 15:11:45 +02:00

libtomcrypt

See doc/crypt.pdf for a detailed documentation

Project Status

develop: Build Status Coverage Status Coverity Scan Build Status

Submitting patches

Please branch off from develop if you want to submit a patch.

Branches

Please be aware, that all branches besides master and develop can and will be force-pushed, rebased and/or removed!

If you want to rely on such an unstable branch, create your own fork of this repository to make sure nothing breaks for you.