From 7899d23bb436f88e5259282ba1fb5ca4e170f78d Mon Sep 17 00:00:00 2001 From: dAxpeDDa Date: Tue, 20 Dec 2022 05:49:30 +0100 Subject: [PATCH] Update VOPRF identifier type --- elliptic-curve/src/voprf.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/elliptic-curve/src/voprf.rs b/elliptic-curve/src/voprf.rs index dc15d5f98..68f2abf18 100644 --- a/elliptic-curve/src/voprf.rs +++ b/elliptic-curve/src/voprf.rs @@ -7,14 +7,14 @@ use crate::PrimeCurve; /// Elliptic curve parameters used by VOPRF. pub trait VoprfParameters: PrimeCurve { /// The `ID` parameter which identifies a particular elliptic curve - /// as defined in [section 4 of `draft-irtf-cfrg-voprf-08`][voprf]. + /// as defined in [section 4 of `draft-irtf-cfrg-voprf-19`][voprf]. /// - /// [voprf]: https://www.ietf.org/archive/id/draft-irtf-cfrg-voprf-08.html#section-4 - const ID: u16; + /// [voprf]: https://www.ietf.org/archive/id/draft-irtf-cfrg-voprf-19.html#name-ciphersuites-2 + const ID: &'static str; /// The `Hash` parameter which assigns a particular hash function to this - /// ciphersuite as defined in [section 4 of `draft-irtf-cfrg-voprf-08`][voprf]. + /// ciphersuite as defined in [section 4 of `draft-irtf-cfrg-voprf-19`][voprf]. /// - /// [voprf]: https://www.ietf.org/archive/id/draft-irtf-cfrg-voprf-08.html#section-4 + /// [voprf]: https://www.ietf.org/archive/id/draft-irtf-cfrg-voprf-19.html#name-ciphersuites-2 type Hash: digest::Digest; }