Skip to content

Commit c0c4701

Browse files
authored
Update VOPRF identifier type (RustCrypto#1175)
1 parent adbf0ad commit c0c4701

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

elliptic-curve/src/voprf.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ use crate::PrimeCurve;
77
/// Elliptic curve parameters used by VOPRF.
88
pub trait VoprfParameters: PrimeCurve {
99
/// The `ID` parameter which identifies a particular elliptic curve
10-
/// as defined in [section 4 of `draft-irtf-cfrg-voprf-08`][voprf].
10+
/// as defined in [section 4 of `draft-irtf-cfrg-voprf-19`][voprf].
1111
///
12-
/// [voprf]: https://www.ietf.org/archive/id/draft-irtf-cfrg-voprf-08.html#section-4
13-
const ID: u16;
12+
/// [voprf]: https://www.ietf.org/archive/id/draft-irtf-cfrg-voprf-19.html#name-ciphersuites-2
13+
const ID: &'static str;
1414

1515
/// The `Hash` parameter which assigns a particular hash function to this
16-
/// ciphersuite as defined in [section 4 of `draft-irtf-cfrg-voprf-08`][voprf].
16+
/// ciphersuite as defined in [section 4 of `draft-irtf-cfrg-voprf-19`][voprf].
1717
///
18-
/// [voprf]: https://www.ietf.org/archive/id/draft-irtf-cfrg-voprf-08.html#section-4
18+
/// [voprf]: https://www.ietf.org/archive/id/draft-irtf-cfrg-voprf-19.html#name-ciphersuites-2
1919
type Hash: digest::Digest;
2020
}

0 commit comments

Comments
 (0)