tlslite.utils.x25519 module¶
Handling X25519 and X448 curve based key agreement protocol.
-
tlslite.utils.x25519.
cswap
(swap, x_2, x_3)¶ Conditional swap function.
-
tlslite.utils.x25519.
decodeScalar22519
(k)¶ Function to decode the private K parameter of the x25519 function.
-
tlslite.utils.x25519.
decodeScalar448
(k)¶ Function to decode the private K parameter of the X448 function.
-
tlslite.utils.x25519.
decodeUCoordinate
(u, bits)¶ Function to decode the public U coordinate of X25519-family curves.
-
tlslite.utils.x25519.
x25519
(k, u)¶ Perform point multiplication on X25519 curve.