Structs§
- Sign
Precomp - Sign precomputation state.
- max_
align_ t
Constants§
- __
bool_ true_ false_ are_ defined - false_
- has_
d_ cache - has_fpu
- include_
p256_ decode_ point - include_
p256_ decompress_ point - include_
p256_ ecdh - include_
p256_ keygen - include_
p256_ raw_ scalarmult_ base - include_
p256_ raw_ scalarmult_ generic - include_
p256_ sign - include_
p256_ to_ octet_ string_ compressed - include_
p256_ to_ octet_ string_ hybrid - include_
p256_ to_ octet_ string_ uncompressed - include_
p256_ verify - true_
- use_
fast_ p256_ basemult - use_
mul_ for_ sqr
Functions§
- P256_
check_ ⚠range_ n - Checks that the argument, as little-endian integer, is a reduced non-zero element of the scalar field.
- P256_
check_ ⚠range_ p - Checks that the argument, as little-endian integer, is a reduced element of the base field.
- p256_
convert_ ⚠endianness - Converts endianness by reversing the input value.
- p256_
ecdh_ ⚠calc_ shared_ secret - Generates the shared secret according to the ECDH standard.
- p256_
keygen ⚠ - Calculates the public key from a given private key for use by either ECDSA or ECDH.
- p256_
octet_ ⚠string_ to_ point - Decodes a point according to the three encodings above.
- p256_
point_ ⚠to_ octet_ string_ compressed - Compressed encoding: “02 || Px” if Py is even and “03 || Px” if Py is odd.
- p256_
point_ ⚠to_ octet_ string_ hybrid - Hybrid encoding: “06 || Px || Py” if Py is even and “07 || Px || Py” if Py is odd (a pretty useless encoding).
- p256_
point_ ⚠to_ octet_ string_ uncompressed - Uncompressed encoding: “04 || Px || Py”.
- p256_
scalarmult_ ⚠base - Raw scalar multiplication by the base point of the elliptic curve.
- p256_
scalarmult_ ⚠generic - Raw scalar multiplication by any point on the elliptic curve.
- p256_
sign ⚠ - Creates an ECDSA signature.
- p256_
sign_ ⚠step1 - Creates an ECDSA signature, using a two-step procedure.
- p256_
sign_ ⚠step2 - Second step of creating an ECDSA signature, using a two-step procedure.
- p256_
verify ⚠ - Verifies an ECDSA signature.