Commit Graph

13 Commits

Author SHA1 Message Date
Frank Denis bb747e6e36 Make svr a global in order to be able to check if the process is a server
Mask or set the high bit of the nonce according to this value.
Properly initialize the nonce in little-endian mode
2015-11-15 18:52:00 +01:00
Frank Denis 158c766368 Set initial previous peer nonce to zero 2015-11-04 01:10:27 +01:00
Frank Denis 366b9ff47f Use sodium_compare() 2015-10-26 20:24:59 +01:00
Frank Denis df8bacead5 Implement a key exchange mechanism 2015-10-17 16:47:58 +02:00
Frank Denis c7a7775aaa Use high-level aes256gcm functions instead of the specific aesni implementation 2015-10-11 14:31:41 +02:00
Frank Denis 6dd517d77c crypto_aead_aes256gcm_aesni_state doesn't exist any more
Use the non-implementation specific type crypto_aead_aes256gcm_state
2015-10-11 13:12:19 +02:00
Frank Denis 17058b59af Untab 2015-10-09 13:21:10 +02:00
Frank Denis 80a75040a2 Move the key out of CryptoCtx 2015-10-09 13:20:27 +02:00
Frank Denis 64c9a90fae Missing return in derive_key() + explicit type conversions 2015-10-09 13:18:53 +02:00
Frank Denis ed49289d7b Port to libsodium, switch to AES256-GCM, revamp authentication 2015-10-09 02:24:01 +02:00
Frank Denis b04cd464db Remove constructions using the ECB mode 2015-10-08 12:54:43 +02:00
mtbishop f3c3e13798 Merge changes from Andrey Mazo:
Clean up Configure.in for autoheader
        Static declarations where sensible
        Check/handle no fork() for no-MMU client systems (eg blackfin)
2013-07-07 19:54:20 +00:00
mtbishop 70894b2feb Update copyrights. 2008-01-07 22:35:18 +00:00