Structs§
- Sign
Precomp - Sign precomputation state.
Functions§
- check_
range_ n - Checks that the argument, as little-endian integer, is a reduced non-zero element of the scalar field.
- check_
range_ p - Checks that the argument, as little-endian integer, is a reduced element of the base field.
- convert_
endianness - Converts endianness by reversing the input value.
- ecdh_
calc_ shared_ secret - Generates the shared secret according to the ECDH standard.
- keygen
- Calculates the public key from a given private key for use by either ECDSA or ECDH.
- octet_
string_ to_ point - Decodes a point according to the three encodings above.
- point_
to_ octet_ string_ compressed - Compressed encoding
- point_
to_ octet_ string_ hybrid - Hybrid encoding
- point_
to_ octet_ string_ uncompressed - Uncompressed encoding
- scalarmult_
base - Raw scalar multiplication by the base point of the elliptic curve.
- scalarmult_
generic - Raw scalar multiplication by any point on the elliptic curve.
- sign
- Creates an ECDSA signature.
- sign_
step1 - Creates an ECDSA signature, using a two-step procedure.
- sign_
step2 - Second step of creating an ECDSA signature, using a two-step procedure.
- verify
- Verifies an ECDSA signature.