rust: Make true links in HPKE doc-string Signed-off-by: Xiangfei Ding <xfding@google.com> Change-Id: I17679f2220ca09057b3b5188658c3cba6a6a6964 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/89647 Reviewed-by: Adam Langley <agl@google.com>
diff --git a/rust/bssl-crypto/src/hpke.rs b/rust/bssl-crypto/src/hpke.rs index 735e3ab..ccb9274 100644 --- a/rust/bssl-crypto/src/hpke.rs +++ b/rust/bssl-crypto/src/hpke.rs
@@ -219,18 +219,18 @@ /// Supported KDF algorithms with values detailed in §7.2 of [RFC 9180]. /// -/// [RFC 9180]: https://datatracker.ietf.org/doc/html/rfc9180#section-7.2 +/// [RFC 9180]: <https://datatracker.ietf.org/doc/html/rfc9180#section-7.2> #[derive(Clone, Copy)] #[repr(u16)] pub enum Kdf { /// HKDF-SHA256 as defined in [RFC 5869] - /// [RFC 5869]: https://datatracker.ietf.org/doc/html/rfc5869 + /// [RFC 5869]: <https://datatracker.ietf.org/doc/html/rfc5869> HkdfSha256 = 1, } /// Supported AEAD algorithms with values detailed in §7.3 of [RFC 9180]. /// -/// [RFC 9180]: https://datatracker.ietf.org/doc/html/rfc9180#section-7.3 +/// [RFC 9180]: <https://datatracker.ietf.org/doc/html/rfc9180#section-7.3> #[derive(Clone, Copy)] pub enum Aead { /// AES-GCM-128 defined by [NIST](https://doi.org/10.6028/nist.sp.800-38d)