Skip to content

Commit

Permalink
Fix comment on ChaCha20 backend registration
Browse files Browse the repository at this point in the history
  • Loading branch information
facutuesca committed Oct 24, 2023
1 parent a9bac40 commit 2820c55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cryptography/hazmat/backends/openssl/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ def _register_default_ciphers(self) -> None:
self.register_cipher_adapter(
TripleDES, ECB, GetCipherByName("des-ede3")
)
# ChaCha20 uses the Short Name "chacha20" in OpenSSL, but in LibreSSL
# ChaCha20 uses the Long Name "chacha20" in OpenSSL, but in LibreSSL
# it uses "chacha"
self.register_cipher_adapter(
ChaCha20,
Expand Down

0 comments on commit 2820c55

Please sign in to comment.