Skip to content

Commit

Permalink
tls.py: log if kyber-py is available
Browse files Browse the repository at this point in the history
  • Loading branch information
tomato42 committed Oct 11, 2024
1 parent b2d3764 commit bdd0bdd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scripts/tls.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
GroupName, SignatureScheme
from tlslite.handshakesettings import Keypair, VirtualHost
from tlslite import __version__
from tlslite.utils.compat import b2a_hex, a2b_hex, time_stamp
from tlslite.utils.compat import b2a_hex, a2b_hex, time_stamp, \
ML_KEM_AVAILABLE
from tlslite.utils.dns_utils import is_valid_hostname
from tlslite.utils.cryptomath import getRandomBytes
from tlslite.constants import KeyUpdateMessageType
Expand Down Expand Up @@ -76,6 +77,10 @@ def printUsage(s=None):
print(" GMPY2 : Loaded")
else:
print(" GMPY2 : Not Loaded")
if ML_KEM_AVAILABLE:
print(" Kyber-py : Loaded")
else:
print(" Kyber-py : Not Loaded")

print("")
print("Certificate compression algorithms:")
Expand Down

0 comments on commit bdd0bdd

Please sign in to comment.