34788756d2
build: don't use './' as an include prefix
...
GCC produces ODR error when including paths of the form './foo' and
'foo' in the same binary. Rather than managing duplication we just
universally pick the absolute form over the relative form.
2017-11-22 16:49:37 +11:00
0c4fe21f97
xxtea: remove unused global
2017-01-27 14:57:39 +11:00
353cf839d4
use nested namespace declarations
2017-01-05 15:06:49 +11:00
9a798446b5
build: remove unnecessary includes
...
discovered with include-what-you-use
2016-10-12 15:08:22 +11:00
98350fedab
build: silence unused var/func warnings
2016-10-11 21:43:07 +11:00
62482594bd
crypto/ice: fix key length assertion
2016-06-30 18:21:21 +10:00
74fc943f53
build: quiesce type conversion warnings
2016-06-29 17:55:12 +10:00
9acdea226f
crypto/ice: explicitly qualify gf_exp7 types
...
Required for compatibility with platforms with different uint_fast_t
types (like mingw)
2016-06-21 15:42:49 +10:00
08536765b6
Merge branch 'crypto'
2016-06-20 18:08:46 +10:00
a0d02c2fdb
crypto/ice: add implementation of ICE
2016-06-20 18:04:41 +10:00
1da6916b84
crypto/arc4: add missing required headers
2016-06-20 18:01:50 +10:00
67402eee42
c/xxtea: style
2016-05-12 17:46:13 +10:00
1f432c13b7
build: avoid type truncation warnings
...
discovered with clang's -Wshorten-64-to-32
2016-05-12 17:39:33 +10:00
67a5184a9d
build: add missing includes
...
detected under libstdc++ from gcc-6.0
2016-04-28 15:02:16 +10:00
5b0882fd34
c/xxtea: reduce scope of variable
2015-06-04 22:19:11 +10:00
fd319d579b
build: make single argument constructors explicit
2015-06-04 22:18:43 +10:00
054dfa918e
crypto: add XXTEA {en,de}cryption.
2015-05-15 18:27:24 +10:00
7f0c7466e4
crypto: encrypt in-place where it suits
2015-05-15 18:26:45 +10:00
ddaca2f453
XTEA: add extended TEA encryption
2015-05-07 00:18:01 +10:00
9d3c058873
TEA: add "Tiny Encryption Algorithm"
2015-05-06 23:49:45 +10:00
717644acde
arc4: add initial implementation
2015-05-06 21:38:56 +10:00