Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update TLS 1.2 ciphers and TLS 1.3 ciphers order #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

@pavel-pimenov
Copy link
Owner

DC++ code: F:\hg\dcplusplus-code\dcpp\CryptoManager.cpp

	const char ciphersuites12[] = "ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA256";

	// Arranged in order of performance, depending on presence of AES-NI and CLMUL
	const char ciphersuites13_aesgcm[] = "TLS_AES_128_GCM_SHA256:TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256";
	const char ciphersuites13_chacha[] = "TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256:TLS_AES_256_GCM_SHA384";

@Tantrix
Copy link
Author

Tantrix commented Oct 31, 2021

Ну так ты ж учти, что для TLS 1.3 внутри DC++ есть механизм определения поддержки ускорителей на уровне железа.
Для TLS 1.2 я шифронаборы такие же и прописал.

depending on presence of AES-NI and CLMUL

https://sourceforge.net/p/dcplusplus/code/ci/454a53433a701bea163cef51bd79696b1fdb2af2/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants