Fix up coffee/ristretto reference

This commit is contained in:
Henry de Valence 2018-01-26 15:35:51 -08:00
parent 12e658401c
commit d4d9d86d72

View file

@ -125,8 +125,8 @@
//! explains the name: Decaf is named "after the procedure which divides //! explains the name: Decaf is named "after the procedure which divides
//! the effect of coffee by \\(4\\)". However, Curve25519 has a //! the effect of coffee by \\(4\\)". However, Curve25519 has a
//! cofactor of \\(8\\). To eliminate its cofactor, we tweak Decaf to //! cofactor of \\(8\\). To eliminate its cofactor, we tweak Decaf to
//! restrict further. This gives the //! restrict further. This [additional restriction][ristretto_coffee]
//! [Ristretto](https://en.wikipedia.org/wiki/Ristretto) encoding. //! gives the _Ristretto_ encoding.
//! //!
//! Notes on the details of the encoding can be found in the //! Notes on the details of the encoding can be found in the
//! `ristretto::notes` submodule of the internal `curve25519-dalek` //! `ristretto::notes` submodule of the internal `curve25519-dalek`
@ -136,6 +136,8 @@
//! https://moderncrypto.org/mail-archive/curves/2017/000898.html //! https://moderncrypto.org/mail-archive/curves/2017/000898.html
//! [ed25519_hkd]: //! [ed25519_hkd]:
//! https://moderncrypto.org/mail-archive/curves/2017/000858.html //! https://moderncrypto.org/mail-archive/curves/2017/000858.html
//! [ristretto_coffee]:
//! https://en.wikipedia.org/wiki/Ristretto
mod notes { mod notes {