Function salty::agreement::x25519[][src]

pub fn x25519(scalar: [u8; 32], input_u: [u8; 32]) -> [u8; 32]
Expand description

Implementations:

  • MUST mask highest bit in input_u
  • MUST accept non-canonical input_u, reduce modulo base field

https://tools.ietf.org/html/rfc7748#section-5