Function fromBytes [src]

Decode a Curve25519 point from its compressed (X) coordinates.

Prototype

pub inline fn fromBytes(s: [32]u8) Curve25519

Parameters

s: [32]u8

Source

pub inline fn fromBytes(s: [32]u8) Curve25519 { return .{ .x = Fe.fromBytes(s) }; }