Henrik Nordström
9025cd9b72
Support out-of-tree builds usign bundled libtom
...
When building out-of-tree we need both source and generated
folders in include paths to find both distributed and generated
headers.
2016-05-11 12:35:06 +02:00
Matt Johnston
420151dbd9
move m_burn and function attributes to dbhelpers
...
use m_burn for libtomcrypt zeromem() too
2016-03-17 23:21:33 +08:00
Gaël PORTAY
3e91ec07e4
Fix unused but set variable warnings [-Werror=unused-but-set-variable]
2015-05-05 20:39:13 +02:00
Gaël PORTAY
6086851fc1
Fix unused parameters warnings [-Werror=unused-parameter]
2015-05-05 20:39:13 +02:00
Gaël PORTAY
d9d97969a3
Uses abort() instead of raising a SIGABRT signal [-Werror]
...
error: ‘noreturn’ function does return [-Werror]
abort() is a noreturn function while raise() is not.
And because crypt_argchk() is flagged as __attribute__(noreturn), abort()
appears to be a better condidate.
This compilation warning has probably been introduced by commit
1809f741cb
.
2015-05-05 20:30:49 +02:00
Matt Johnston
91ef9b2fa9
Avoid malloc in hmac
...
--HG--
branch : nocircbuffer
2015-03-01 14:46:04 +08:00
Matt Johnston
1809f741cb
Add more ATTRIB_NORETURN annotations, from Thorsten Horstmann
2015-02-24 22:36:20 +08:00
Matt Johnston
5c87c6a435
A bit of work on ecdsa for host/auth keys
...
--HG--
branch : ecc
2013-04-14 00:50:03 +08:00
Matt Johnston
c6bdc810ab
ecc kind of works, needs fixing/testing
...
--HG--
branch : ecc
2013-04-07 01:36:42 +08:00
Matt Johnston
b4bcc60657
More changes for KEX and ECDH. Set up hash descriptors, make ECC code work,
...
ses.hash and ses.session_id are now buffers (doesn't compile)
--HG--
branch : ecc
2013-03-29 00:28:09 +08:00
Matt Johnston
5139bd42f6
Set LTC_SOURCE for proper ltm_desc etc
...
--HG--
branch : ecc
2013-03-29 00:26:46 +08:00
Matt Johnston
74cad1612f
more bits on ecc branch
...
--HG--
branch : ecc
2013-03-27 00:38:03 +08:00
Matt Johnston
73e22c115c
refactor kexdh code a bit, start working on ecdh etc
...
--HG--
branch : ecc
2013-03-26 01:35:22 +08:00
Matt Johnston
c62e53807f
- Add hmac-sha2-256 and hmac-sha2-512. Needs debugging, seems to be
...
getting keyed incorrectly
--HG--
branch : sha2
2012-05-10 08:38:37 +08:00
Matt Johnston
f924aa18f2
Define LTC_NO_FILE to avoid hmac_file() etc
...
--HG--
extra : convert_revision : b918fd450c1572ce055a6a1fe8c161a495ddec34
2011-04-07 13:24:41 +00:00
Matt Johnston
511f6555c9
- Add Counter Mode support
...
--HG--
extra : convert_revision : 5225162bdf32d70b58b6d3ae375a290326c59f3a
2008-09-29 13:53:31 +00:00
Matt Johnston
943636c3e1
propagate from branch 'au.asn.ucc.matt.ltc.dropbear' (head c1db4398d56c56c6d06ae1e20c1e0d04dbb598ed)
...
to branch 'au.asn.ucc.matt.dropbear' (head d26d5eb2837f46b56a33fb0e7573aa0201abd4d5)
--HG--
extra : convert_revision : 7a0ae6de81402591a789486070007238169fafca
2007-01-11 04:29:08 +00:00
Matt Johnston
5ea605d8de
propagate from branch 'au.asn.ucc.matt.ltc.dropbear' (head ffd1015238ffcc959f6cd95176d96fcd0945a397)
...
to branch 'au.asn.ucc.matt.dropbear' (head 52ccb0ad0587a62bc64aecb939adbb76546aac16)
--HG--
extra : convert_revision : ecd779509ef23a8cdf64888904fc9b31d78aa933
2007-01-11 03:05:30 +00:00
Matt Johnston
a938f4cfe1
propagate from branch 'au.asn.ucc.matt.ltc.dropbear' (head 2af22fb4e878750b88f80f90d439b316d229796f)
...
to branch 'au.asn.ucc.matt.dropbear' (head 02c413252c90e9de8e03d91e9939dde3029f5c0a)
--HG--
extra : convert_revision : 52ccb0ad0587a62bc64aecb939adbb76546aac16
2007-01-11 02:41:05 +00:00
Matt Johnston
35bcc463e5
Fix up separate-directory building for libtomcrypt
...
Use $CC rather than $LD for linking
--HG--
extra : convert_revision : 31dcd7a22983ef19d6c63248e415e71d292dd0ec
2006-10-11 16:00:50 +00:00
Matt Johnston
6ae3a09ef3
propagate from branch 'au.asn.ucc.matt.ltc.dropbear' (head 20dccfc09627970a312d77fb41dc2970b62689c3)
...
to branch 'au.asn.ucc.matt.dropbear' (head fdf4a7a3b97ae5046139915de7e40399cceb2c01)
--HG--
extra : convert_revision : dc4809882e1b9f2dcd3f8bbe38c74a0a52c39ce4
2006-03-08 13:23:58 +00:00