Fix broken URL in PKCS#8 docs

This commit is contained in:
printfn 2022-12-15 08:41:20 +00:00 committed by Brian Smith
parent c9fd0ba48f
commit 20ba41d67e
2 changed files with 7 additions and 7 deletions

View File

@ -44,8 +44,8 @@ pub fn generate_private_scalar_bytes(
// [NSA Suite B Implementer's Guide to NIST SP 800-56A] Appendix B.2,
// "Key Pair Generation by Testing Candidates".
//
// [NSA Suite B Implementer's Guide to ECDSA]: doc/ecdsa.pdf.
// [NSA Suite B Implementer's Guide to NIST SP 800-56A]: doc/ecdh.pdf.
// [NSA Suite B Implementer's Guide to ECDSA]: doc/ecdsa.pdf
// [NSA Suite B Implementer's Guide to NIST SP 800-56A]: doc/ecdh.pdf
// TODO: The NSA guide also suggests, in appendix B.1, another mechanism
// that would avoid the need to use `rng.fill()` more than once. It works
@ -116,8 +116,8 @@ pub fn scalar_from_big_endian_bytes(
// [NSA Suite B Implementer's Guide to NIST SP 800-56A] Appendix B.2,
// "Key Pair Generation by Testing Candidates".
//
// [NSA Suite B Implementer's Guide to ECDSA]: doc/ecdsa.pdf.
// [NSA Suite B Implementer's Guide to NIST SP 800-56A]: doc/ecdh.pdf.
// [NSA Suite B Implementer's Guide to ECDSA]: doc/ecdsa.pdf
// [NSA Suite B Implementer's Guide to NIST SP 800-56A]: doc/ecdh.pdf
//
// Steps 5, 6, and 7.
//

View File

@ -14,7 +14,7 @@
//! PKCS#8 is specified in [RFC 5958].
//!
//! [RFC 5958]: https://tools.ietf.org/html/rfc5958.
//! [RFC 5958]: https://tools.ietf.org/html/rfc5958
use crate::{ec, error, io::der};
@ -72,7 +72,7 @@ impl Template {
///
/// PKCS#8 is specified in [RFC 5958].
///
/// [RFC 5958]: https://tools.ietf.org/html/rfc5958.
/// [RFC 5958]: https://tools.ietf.org/html/rfc5958
pub(crate) fn unwrap_key<'a>(
template: &Template,
version: Version,
@ -90,7 +90,7 @@ pub(crate) fn unwrap_key<'a>(
///
/// PKCS#8 is specified in [RFC 5958].
///
/// [RFC 5958]: https://tools.ietf.org/html/rfc5958.
/// [RFC 5958]: https://tools.ietf.org/html/rfc5958
pub(crate) fn unwrap_key_<'a>(
alg_id: untrusted::Input,
version: Version,