Commit Graph

16 Commits

Author SHA1 Message Date
Mikkel Krautz
4d256ca675 CryptState: introduce AES_KEY_SIZE_* constants.
This change modifies CryptState to use AES_KEY_SIZE_BYTES and
AES_KEY_SIZE_BITS constants instead of using AES_BLOCK_SIZE.

This cleans up the code, making it easier to read and understand.
The key size is a distinct concept from the block size, even though
Mumble only offiiclaly supports OCB-AES128.

This also allows users of custom builds to bump their key size to
256-bit, if they desire. Of course, such builds will not be compatible
with any existing Mumble server, because neither Mumble nor Murmur
currently supports negotiating the crypto mode used for voice packets.
2017-01-20 00:04:07 +01:00
Mikkel Krautz
91ebb8b0b5 Update tree copyrights to 2017. 2017-01-08 21:05:57 +01:00
Mikkel Krautz
395c084b7a src: update to use LICENSE.header. 2016-05-10 22:42:02 +02:00
Benjamin Jemlich
07737a314c Fix include guards and PCH includes 2011-11-09 00:12:10 +01:00
Thorvald Natvig
f3437a6ba7 Update copyright year ranges of dev team. 2011-03-18 05:52:51 +01:00
Thorvald Natvig
16339bfc91 Update license to 2010 2010-01-05 08:49:22 +01:00
Thorvald Natvig
a98d45a393 Faster quint64 based netaddress handling 2009-05-15 17:24:27 +02:00
Thorvald Natvig
e9b3fe8194 Clean up a few leftover code lines
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1487 05730e5d-ab1b-0410-a4ac-84af385074fa
2009-01-30 01:08:33 +00:00
Thorvald Natvig
ad2b8e2149 Update copyright for 2009
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1380 05730e5d-ab1b-0410-a4ac-84af385074fa
2009-01-05 15:12:48 +00:00
Thorvald Natvig
dc7e438976 Update copyright for 2008
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@908 05730e5d-ab1b-0410-a4ac-84af385074fa
2008-01-05 16:25:48 +00:00
Thorvald Natvig
36f625a583 Start of proper statistics
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@723 05730e5d-ab1b-0410-a4ac-84af385074fa
2007-08-11 14:33:20 +00:00
Thorvald Natvig
3e92399712 OOO crypt recovery
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@717 05730e5d-ab1b-0410-a4ac-84af385074fa
2007-08-10 22:14:34 +00:00
Thorvald Natvig
93e427c1a8 Rename channel
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@700 05730e5d-ab1b-0410-a4ac-84af385074fa
2007-08-06 19:17:29 +00:00
Thorvald Natvig
32c3dfc7cb Optimized crypto
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@695 05730e5d-ab1b-0410-a4ac-84af385074fa
2007-08-05 14:41:13 +00:00
Thorvald Natvig
7ed5e47f6f Testing UDP crypt
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@686 05730e5d-ab1b-0410-a4ac-84af385074fa
2007-08-04 17:08:38 +00:00
Thorvald Natvig
a6376f8894 Build updates
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@685 05730e5d-ab1b-0410-a4ac-84af385074fa
2007-08-04 13:38:41 +00:00