Crate p256_cortex_m4_sys[−][src]
Structs
SignPrecomp | Sign precomputation state. |
max_align_t |
Constants
Functions
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. |