From 2d5dc5079f2f61daf0cb48992266be0addaf72db Mon Sep 17 00:00:00 2001 From: Henry de Valence Date: Mon, 29 Jan 2018 14:39:37 -0800 Subject: [PATCH] Add type to X25519 basepoint doc --- src/constants.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/constants.rs b/src/constants.rs index abc50ab..16edb4f 100644 --- a/src/constants.rs +++ b/src/constants.rs @@ -50,7 +50,7 @@ pub const ED25519_BASEPOINT_COMPRESSED: CompressedEdwardsY = 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66]); -/// The X25519 basepoint, in compressed Montgomery form. +/// The X25519 basepoint, in `CompressedMontgomeryU` format. pub const X25519_BASEPOINT_COMPRESSED: CompressedMontgomeryU = CompressedMontgomeryU([0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,