tlslite.utils.ecc module

Methods for dealing with ECC points

tlslite.utils.ecc.curve_name_to_hash_name(curve_name)[source]

Returns the matching hash for a given curve name, for TLS 1.3

expects the python-ecdsa curve names as parameter

tlslite.utils.ecc.getCurveByName(curveName)[source]

Return curve identified by curveName

tlslite.utils.ecc.getPointByteSize(point)[source]

Convert the point or curve bit size to bytes