Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions ecdsa/src/der.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! Support for ASN.1 DER-encoded ECDSA signatures as specified in
//! [RFC5480 Appendix A].
//! [RFC5912 Appendix A].
//!
//! [RFC5480 Appendix A]: https://www.rfc-editor.org/rfc/rfc5480#appendix-A
//! [RFC5912 Appendix A]: https://www.rfc-editor.org/rfc/rfc5912#appendix-A

use crate::{Error, Result};
use core::{
Expand Down Expand Up @@ -46,7 +46,7 @@ pub type MaxSize<C> = <<FieldBytesSize<C> as Add>::Output as Add<MaxOverhead>>::
/// Byte array containing a serialized ASN.1 signature
type SignatureBytes<C> = GenericArray<u8, MaxSize<C>>;

/// ASN.1 DER-encoded signature as specified in [RFC5480 Appendix A]:
/// ASN.1 DER-encoded signature as specified in [RFC5912 Appendix A]:
///
/// ```text
/// ECDSA-Sig-Value ::= SEQUENCE {
Expand All @@ -55,7 +55,7 @@ type SignatureBytes<C> = GenericArray<u8, MaxSize<C>>;
/// }
/// ```
///
/// [RFC5480 Appendix A]: https://www.rfc-editor.org/rfc/rfc5480#appendix-A
/// [RFC5912 Appendix A]: https://www.rfc-editor.org/rfc/rfc5912#appendix-A
pub struct Signature<C>
where
C: PrimeCurve,
Expand Down