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
2016-01-23 18:59:44 +01:00
2014-04-29 21:13:49 +02:00
2014-08-28 13:30:26 +02:00
2017-02-21 11:42:24 +01:00
2015-08-25 23:58:08 +02:00
2016-04-03 14:12:27 +02:00
2010-06-16 12:39:13 +02:00
2014-10-10 00:55:18 +02:00
2010-06-16 12:39:13 +02:00
2012-11-23 00:49:26 +01:00
2012-11-23 00:49:26 +01:00
2013-03-15 11:16:16 +01:00
2013-03-15 11:16:16 +01:00
2013-03-15 11:16:16 +01:00
2016-04-03 17:45:16 +02:00
2016-01-19 00:38:05 +01:00
2016-04-01 09:26:28 +02:00
2012-11-23 00:49:26 +01:00
2014-04-29 21:13:49 +02:00
2014-05-25 00:35:03 +02:00
2014-04-29 21:13:49 +02:00
2010-06-16 12:39:13 +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.

Description
No description provided
Readme WTFPL 18 MiB
Languages
C 98.2%
Makefile 0.7%
Perl 0.4%
Shell 0.3%
Java 0.2%
Other 0.1%