xeddsa.h ======== Formats ------- The library follows following standards for serialization formats: * Curve25519/Ed25519 private keys: 32 bytes scalar value. No specific format. Clamped before every use as per `RFC 7748, section 5 "The X25519 and X448 Functions" `_. * Curve25519/Ed25519 seeds: 32 bytes. No specific format. The private key is derived from the seed using SHA-512 as per `RFC 8032, section 3.2 "Keys" `_. * Curve25519 public keys: 32 bytes, the little-endian encoding of the u coordinate as per `RFC 7748, section 5 "The X25519 and X448 Functions" `_. * Ed25519 public keys: 32 bytes, the little-endian encoding of the y coordinate with the sign bit of the x coordinate stored in the most significant bit as per `RFC 8032, section 3.2 "Keys" `_. * Ed25519 signatures: 64 bytes, following the format defined in `RFC 8032, section 3.3 "Sign" `_. API --- .. doxygenfile:: xeddsa.h :project: libxeddsa