summaryrefslogtreecommitdiffhomepage
path: root/libtomcrypt/demos/test.c
diff options
context:
space:
mode:
authorFedor Brunner <fedor.brunner@azet.sk>2015-01-23 23:00:25 +0800
committerFedor Brunner <fedor.brunner@azet.sk>2015-01-23 23:00:25 +0800
commit4122cac66b139492d5b7fa6a1b8afcb1bfc529f7 (patch)
treeb092c8067e55af0d9efea317bc57ef7478bfa497 /libtomcrypt/demos/test.c
parenta1dcebe4f40f645ef2f4d6a44961941f4ed5b770 (diff)
Prefer stronger algorithms in algorithm negotiation.
Prefer diffie-hellman-group14-sha1 (2048 bit) over diffie-hellman-group1-sha1 (1024 bit). Due to meet-in-the-middle attacks the effective key length of three key 3DES is 112 bits. AES is stronger and faster then 3DES. Prefer to delay the start of compression until after authentication has completed. This avoids exposing compression code to attacks from unauthenticated users. (github pull request #9)
Diffstat (limited to 'libtomcrypt/demos/test.c')
0 files changed, 0 insertions, 0 deletions